@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #090909;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(18, 18, 18, 0.88);
  --ui-bg: #ffffff;
  --ui-fg: #111111;
  --ui-muted: #4a4a4a;
  --ui-line: rgba(17, 17, 17, 0.16);
  --ui-mono: "IBM Plex Mono", monospace;
  --serif: "Times New Roman", Times, serif;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Inter", "Segoe UI", sans-serif;
  --brand-red: #f2f2f2;
  --brand-red-deep: #d8d8d8;
  --brand-black: #090909;
}

html[data-theme="dark"] {
  --ui-bg: #0b0c0f;
  --ui-fg: #f2f2f2;
  --ui-muted: rgba(242, 242, 242, 0.72);
  --ui-line: rgba(242, 242, 242, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #111111 0%, #090909 42%, #040404 100%);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--fg);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #111111 0%, #090909 42%, #040404 100%);
  font-family: var(--sans);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.meta,
.meta2 {
  color: var(--muted);
}

html[data-lang="es"] .lang-en,
html[data-lang="en"] .lang-es {
  display: none !important;
}

html[data-lang="es"] .lang-es,
html[data-lang="en"] .lang-en {
  display: inline;
}

.pass-header.site-header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  margin: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  color: rgba(242, 242, 242, 0.92);
}

.site-header-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.site-header-home::after {
  content: "PASS";
  font-family: var(--ui-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.78);
}

.site-header-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
}

html[data-theme="dark"] .site-header-logo {
  filter: invert(1);
}

.site-header .right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header button {
  all: unset;
  box-sizing: border-box;
  font-family: var(--ui-mono);
  font-size: 12px;
  color: rgba(242, 242, 242, 0.86);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 242, 242, 0.18);
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header button:hover,
.site-header button:focus-visible {
  background: rgba(242, 242, 242, 0.92);
  color: #0b0c0f;
  transform: translateY(-1px);
}

.row {
  width: min(1060px, 92vw);
  margin: 0 auto;
}

.footer {
  color: var(--ui-fg);
}

.footer .rule {
  height: 1px;
  background: var(--ui-line);
}

.footer .legal-footer-nav,
.footer .legal-footer-social,
.footer .meta2,
.footer .legal-footer-copy-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer .legal-footer-nav,
.footer .meta2,
.footer .legal-footer-copy {
  font-family: var(--ui-mono);
  font-size: 12px;
  color: var(--ui-muted);
  letter-spacing: 0.01em;
}

.footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .cookie-preferences-link {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: var(--ui-mono) !important;
  font-size: 12px !important;
  color: var(--ui-muted) !important;
  letter-spacing: 0.01em !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  opacity: 0.72 !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

.footer .cookie-preferences-link span {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.footer .cookie-preferences-link:hover {
  opacity: 1 !important;
}

.footer .cookie-preferences-link:hover span {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.footer .legal-footer-home,
.footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer .legal-footer-home {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.footer .legal-footer-home img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

html[data-theme="dark"] .footer .legal-footer-home img {
  filter: invert(1);
}

.footer .social-link {
  width: 18px;
  height: 18px;
  font-family: var(--ui-mono);
  font-size: 11px;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer .social-link:hover {
  transform: translateY(-1px) scale(1.08);
  opacity: 1;
}

.footer .legal-footer-nav {
  justify-content: center;
  width: 100%;
}

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #000;
  border-top: 1px solid rgba(242, 242, 242, 0.14);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--ui-mono);
  font-size: 12px;
  color: rgba(242, 242, 242, 0.72);
  letter-spacing: 0.04em;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

#consent-banner[hidden] {
  display: none;
}

#consent-banner.consent-visible {
  transform: translateY(0);
  opacity: 1;
}

#consent-banner.consent-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.consent-text {
  max-width: 480px;
  color: inherit;
  line-height: 1.6;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.consent-actions button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(242, 242, 242, 0.22);
  color: rgba(242, 242, 242, 0.92);
  font-family: var(--ui-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.consent-actions button:hover,
.consent-actions button:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #000;
}

.consent-actions button[data-consent-accept] {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #000;
}

.consent-actions button[data-consent-accept]:hover,
.consent-actions button[data-consent-accept]:focus-visible {
  opacity: 1;
  background: #fff;
}

.pass-brand,
.pass-checkout-brand,
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.pass-logo,
.footer-brand-mark img {
  display: none !important;
}

.pass-brand::after,
.pass-checkout-brand::after,
.footer-brand-mark::after {
  content: "eztram Pass";
  display: inline-block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: none;
}

.pass-brand::before,
.pass-checkout-brand::before,
.footer-brand-mark::before {
  content: none;
}

.pass-checkout-brand::after,
.footer-brand-mark::after {
  font-size: 28px;
}

.pass-confirm-head h1,
.pass-confirm-copy h2,
.pass-staff-header h1,
.pass-staff-login-card h1,
.cashless-page h1,
.cashless-page h3 {
  font-family: var(--serif);
  font-weight: 400;
}

.pass-brand-name,
.pass-hero-sub,
.pass-event-kicker,
.right.legal,
.pass-section-title p,
.meta,
.meta2,
.consent-text {
  font-family: var(--sans);
}

#consent-banner .consent-text a {
  color: rgba(242, 242, 242, 0.92);
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .pass-header.site-header {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  #consent-banner {
    padding: 14px 16px;
  }
}
