:root {
  color-scheme: dark;

  --bg: #0a0a0f;
  --bg-elevated: #0e0e14;
  --surface: #121218;
  --surface-2: #191922;
  --surface-3: #20202b;

  --gold: #d4af37;
  --gold-deep: #9a7b1c;
  --gold-light: #f3d56b;
  --gold-soft: rgba(212, 175, 55, 0.14);

  --text: #f6f6f7;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;

  --border: rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.08);

  --success: #34d399;
  --danger: #f87171;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 40px -18px rgba(212, 175, 55, 0.45);

  --in-oklab: ;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  accent-color: var(--gold);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle ambient gold glow behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 50% -5%, rgba(212, 175, 55, 0.10), transparent 70%),
    radial-gradient(40% 40% at 100% 0%, rgba(154, 123, 28, 0.08), transparent 70%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gold);
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold-light);
  color: #0a0a0f;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: #0a0a0f;
}

/* Announcement bar */
.announcement {
  background: linear-gradient(90deg, #0e0e14, #17130a 50%, #0e0e14);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  text-align: center;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.announcement strong {
  color: var(--gold-light);
  font-weight: 600;
}

.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(243, 213, 107, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.announcement-sep {
  color: var(--gold-deep);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-badge {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--text-soft);
  opacity: 0.9;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold-light);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #0a0a0f;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  color: #0a0a0f;
  box-shadow: 0 22px 48px -16px rgba(212, 175, 55, 0.6);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 40px 0 24px;
}

.hero-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-card:hover .hero-banner {
  transform: scale(1.02);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 40%, rgba(10, 10, 15, 0.85) 100%);
  pointer-events: none;
}

.hero-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.01em;
}

.tagline {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 22px;
  font-style: italic;
  font-family: var(--font-display);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  justify-content: start;
  flex-wrap: wrap;
}

.meta-item {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  min-width: 120px;
}

.meta-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.hero-cta {
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-cta .price-from {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta .price-val {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin: 6px 0 16px;
}

.hero-cta-note {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* Trust strip */
.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--border);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.trust-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 40px 0 64px;
}

.section-head {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  color: #fff;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.96rem;
  max-width: 60ch;
}

/* Tier cards */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.tier-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.tier-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(180deg, var(--surface), var(--bg-elevated));
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #0a0a0f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.tier-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin: 10px 0;
}

.tier-price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.tier-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.tier-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tier-perks li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* Native dialog */
.modal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  color: var(--text);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.modal[open] {
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  overscroll-behavior: contain;
}

dialog[open]::backdrop {
  animation: backdrop-in 0.22s ease;
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--gold-soft);
  color: var(--gold-light);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-group input[readonly] {
  color: var(--gold-light);
  font-weight: 600;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 6px;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.summary-box span:last-child {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.secure-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

.ticket-pass {
  background:
    linear-gradient(145deg, #17171d, #0f0f13);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
  box-shadow: var(--shadow-md);
}

.ticket-code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin: 4px 0;
}

.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.alert-info {
  background: var(--gold-soft);
  border: 1px solid var(--border);
  color: var(--gold-light);
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.alert-error::before {
  content: "⚠ ";
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  background: #060608;
  padding: 40px 0 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-size: 0.8rem;
}

.footer-secure {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-body {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    text-align: center;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .announcement-hide-sm {
    display: none;
  }
  .meta-grid {
    grid-template-columns: 1fr;
  }
  .meta-item {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }
  .nav-actions .btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
  .modal {
    padding: 20px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Reinforce contrast when the user asks for it */
@media (prefers-contrast: more) {
  :root {
    --muted: #c4c4cc;
    --border-soft: rgba(255, 255, 255, 0.22);
  }
}