:root {
  --bg: #090104;
  --bg-soft: #140307;
  --panel: rgba(34, 6, 13, 0.82);
  --panel-strong: #21050c;
  --red: #e2172b;
  --red-dark: #7a0713;
  --gold: #ffc84b;
  --gold-2: #ff9d18;
  --text: #fff7ee;
  --muted: #cbb7b8;
  --border: rgba(255, 199, 77, 0.2);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(204, 0, 35, .18), transparent 30%),
    radial-gradient(circle at 90% 24%, rgba(109, 28, 255, .12), transparent 28%),
    linear-gradient(180deg, #080003 0%, #120206 45%, #070103 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 0, 3, .78);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(8,0,3,.94); box-shadow: 0 10px 35px rgba(0,0,0,.35); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 210px;
  min-width: 210px;
  text-decoration: none;
}
.brand picture { display: block; width: 100%; }
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 12px rgba(255, 36, 49, .2));
  transition: transform .22s ease, filter .22s ease;
}
.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.012);
  filter: drop-shadow(0 6px 15px rgba(255, 190, 55, .28));
}
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { text-decoration: none; color: #d9c9ca; font-weight: 700; font-size: 14px; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--gold); }
.header-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .15px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.btn-large { min-height: 54px; padding-inline: 28px; }
.btn-gold { color: #2b1200; background: linear-gradient(180deg, #ffe98a, #ffc037 56%, #f29000); border-color: #ffe19a; box-shadow: 0 12px 32px rgba(255,154,0,.23), inset 0 1px 0 rgba(255,255,255,.8); }
.btn-red { color: #fff; background: linear-gradient(180deg, #f52b3f, #c20c20); border-color: #ff5664; box-shadow: 0 12px 32px rgba(218,13,39,.24); }
.btn-dark { color: #fff3e3; background: rgba(16,3,7,.8); border-color: rgba(255,202,82,.35); }
.btn-light { color: #2e0c0e; background: #fff8ef; border-color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.18); color: #fff; }

.notice { overflow: hidden; border-bottom: 1px solid rgba(255,190,61,.16); background: linear-gradient(90deg, #45050b, #7a0713, #45050b); color: #ffe9a5; font-weight: 800; font-size: 12px; letter-spacing: .3px; }
.notice-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.notice-track span { padding: 10px 42px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero { padding-top: 72px; }
.hero-copy {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 52px 38px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(79, 7, 20, .7), rgba(18, 3, 8, .82));
  border: 1px solid rgba(255, 194, 61, .2);
  box-shadow: 0 28px 85px rgba(0,0,0,.42);
}
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 950; letter-spacing: 2.5px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -2px; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.3px; }
h3 { margin: 0; font-size: 22px; }
.hero-text { max-width: 760px; margin: 18px auto 0; color: var(--muted); line-height: 1.75; font-size: 17px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

.section { padding-top: 86px; }
.section-heading { max-width: 760px; text-align: center; margin: 0 auto 32px; }
.section-heading p:last-child { color: var(--muted); margin: 12px 0 0; line-height: 1.7; }
.section-heading.align-left { text-align: left; margin: 0; }

.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.access-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(45,7,16,.95), rgba(19,3,8,.9));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.access-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,178,36,.18), transparent 70%); }
.access-card:hover { transform: translateY(-5px); border-color: rgba(255,200,72,.35); }
.access-card.featured { background: linear-gradient(155deg, rgba(105,8,21,.98), rgba(33,3,10,.96)); border-color: rgba(255,197,61,.34); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,190,50,.12); border: 1px solid rgba(255,190,50,.26); color: var(--gold); font-size: 25px; margin-bottom: 24px; }
.card-tag { position: absolute; top: 24px; right: 24px; padding: 7px 10px; border-radius: 99px; color: #2c1200; background: var(--gold); font-size: 10px; font-weight: 950; text-transform: uppercase; letter-spacing: .7px; }
.access-card p { color: var(--muted); line-height: 1.65; margin: 13px 0 24px; }
.card-link { margin-top: auto; text-decoration: none; color: var(--gold); font-weight: 900; position: relative; z-index: 2; }
.card-link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.card-link:hover span { transform: translateX(5px); }

.guide-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  padding: 42px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(61,7,17,.78), rgba(16,3,7,.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); border-radius: 16px; }
.step-number { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #321500; background: linear-gradient(180deg, #ffe08a, #ffac20); font-weight: 1000; }
.steps strong { font-size: 17px; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; border-radius: 26px; background: linear-gradient(110deg, #8e0919, #d5132a 55%, #7b0716); border: 1px solid rgba(255,220,150,.35); box-shadow: 0 28px 90px rgba(182,4,32,.28); overflow: hidden; position: relative; }
.final-cta::after { content: ""; position: absolute; inset: -60% -10% auto auto; width: 430px; aspect-ratio: 1; border-radius: 50%; border: 80px solid rgba(255,206,90,.1); transform: rotate(-15deg); }
.final-cta > * { position: relative; z-index: 1; }
.final-cta p:last-child { color: #ffe7e8; margin: 12px 0 0; }
.final-actions { display: flex; gap: 10px; flex-shrink: 0; }

.site-footer { margin-top: 88px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(4,0,2,.75); }
.footer-inner { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-block: 35px 90px; }
.footer-brand { color: var(--gold); font-size: 28px; font-weight: 1000; font-style: italic; }
.footer-inner p { margin: 6px 0 0; color: #9e898b; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; color: #d7c5c6; font-weight: 750; font-size: 14px; }
.legal { grid-column: 1 / -1; font-size: 12px; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 250px; }
  .guide-panel { grid-template-columns: 1fr; gap: 28px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { padding-bottom: 73px; }
  .container { width: min(100% - 22px, var(--container)); }
  .site-header { position: relative; }
  .header-inner { height: 66px; }
  .brand { width: 158px; min-width: 158px; }
  .header-actions { display: none; }
  .notice-track span { padding-block: 9px; }
  .hero { padding-top: 28px; }
  .hero-copy { padding: 34px 20px; border-radius: 18px; }
  h1 { font-size: 36px; letter-spacing: -1.2px; }
  h2 { font-size: 30px; }
  .hero-text { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn-dark { grid-column: 1 / -1; }
  .btn-large { min-height: 50px; padding-inline: 17px; font-size: 14px; }
  .section { padding-top: 66px; }
  .access-card, .guide-panel, .final-cta { padding: 23px; border-radius: 18px; }
  .section-heading { margin-bottom: 24px; }
  .steps li { padding: 15px; align-items: flex-start; }
  .step-number { flex-basis: 42px; height: 42px; border-radius: 12px; font-size: 13px; }
  .final-actions { width: 100%; }
  .final-actions .btn { flex: 1; }
  .footer-inner { display: block; text-align: center; padding-bottom: 35px; }
  .footer-links { justify-content: center; flex-wrap: wrap; margin-top: 24px; }
  .legal { margin-top: 25px !important; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.11); background: rgba(10,0,4,.95); backdrop-filter: blur(18px); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: #d7c6c8; font-size: 11px; font-weight: 800; }
  .mobile-bar a span { font-size: 19px; color: var(--gold); }
  .mobile-bar .mobile-primary { background: linear-gradient(180deg, #ffe188, #f1a513); color: #321500; }
  .mobile-bar .mobile-primary span { color: #321500; }
}

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