:root {
  --bg: #0b0b0f;
  --bg2: #121218;
  --primary: #e50914;
  --primary-soft: #b1060f;
  --text: #e7e7ea;
  --muted: #9ba0a8;
  --card: #1b1b22;
  --stroke: rgba(255,255,255,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(1200px 600px at 70% 0%, #1b0d12 0%, var(--bg) 55%) fixed, linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .4px;
  border-radius: 10px;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-soft) 100%);
  box-shadow: 0 10px 30px rgba(229,9,20,.35), 0 0 40px rgba(229,9,20,.25) inset;
}
.btn.primary:hover { box-shadow: 0 14px 36px rgba(229,9,20,.5), 0 0 50px rgba(229,9,20,.35) inset; }
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.glow {
  background: transparent;
  border-color: rgba(229,9,20,.5);
  color: #fff;
  box-shadow: 0 0 0 0 transparent;
}
.btn.glow:hover { box-shadow: 0 0 20px rgba(229,9,20,.45); background: rgba(229,9,20,.1); }
.btn.small { padding: .6rem 1rem; font-weight: 600; }
.btn.wide { padding: 1rem 1.3rem; width: 100%; text-align: center; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(9,9,12,.72), rgba(9,9,12,.3));
  border-bottom: 1px solid var(--stroke);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}
.brand {
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
}
.brand span { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 18px;
  margin-left: 14px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover { color: #fff; }
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  margin-left: 8px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 2px 0;
}
.nav .cta { margin-left: auto; }

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.85)),
    url("https://images.unsplash.com/photo-1534447677768-be436bb09401?q=80&w=2060&auto=format&fit=crop") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(400px 200px at 20% 30%, rgba(229,9,20,.18), transparent 60%),
    radial-gradient(300px 180px at 80% 70%, rgba(229,9,20,.12), transparent 60%);
  animation: floatGlow 12s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  0% { transform: translateY(-6px); opacity: .8; }
  100% { transform: translateY(6px); opacity: 1; }
}
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 2px);
  mix-blend-mode: overlay;
  animation: fuzz 3s linear infinite;
}
@keyframes fuzz {
  0% { opacity: .15; }
  50% { opacity: .28; }
  100% { opacity: .15; }
}
.hero-inner { padding: 9vh 0 12vh; text-align: center; }
.st-title {
  font-family: Cinzel, serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7.4vw, 6rem);
  line-height: .95;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(229,9,20,.35), 0 0 40px rgba(229,9,20,.25);
  position: relative;
  display: inline-block;
}
.st-title .break { display: block; }
.st-lines {
  position: absolute;
  left: -6%;
  right: -6%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(229,9,20,.6), transparent);
  filter: drop-shadow(0 0 6px rgba(229,9,20,.5));
}
.st-lines.top { top: -18px; }
.st-lines.bottom { bottom: -18px; }
.tagline {
  margin-top: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}
.meta { margin-top: .4rem; color: #c8c8cf; }
.cta-row { margin-top: 1.4rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.countdown {
  margin: 16px auto 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cd-box {
  min-width: 90px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
}
.cd-box span {
  font-size: 1.6rem;
  font-weight: 900;
}
.cd-box small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}
.badges { margin-top: 1.4rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.badge {
  padding: .5rem .8rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.06);
}

.section { padding: 72px 0; }
.section-title {
  font-family: Cinzel, serif;
  font-size: clamp(1.6rem, 4.8vw, 2.2rem);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.section-title.alt { color: var(--primary); text-shadow: 0 0 10px rgba(229,9,20,.35); }
.section .container { position: relative; }
.section .container::before,
.section .container::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,9,20,.35), transparent);
  filter: drop-shadow(0 0 6px rgba(229,9,20,.35));
}
.section .container::before { top: -12px; }
.section .container::after { bottom: -12px; }

.features .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 120px;
}
.card, .panel, .contact-card, .contact-cta { opacity: 0; transform: translateY(10px); transition: all .5s ease; }
.reveal { opacity: 1; transform: translateY(0); }
.card h3 {
  font-family: Inter, sans-serif;
  font-weight: 800;
  margin-bottom: 6px;
}
.card p { color: var(--muted); }
.themes .grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card.icon { text-align: center; }
.card.icon .ico { font-size: 28px; margin-bottom: 8px; }

.how .how-steps {
  width: min(780px, 90vw);
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
}
.how .how-steps li {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  margin: 10px 0;
}
.how .how-steps li span {
  display: inline-block;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(229,9,20,.2);
  color: #fff;
  text-align: center;
  line-height: 26px;
  font-weight: 800;
  margin-right: 8px;
}

.timeline .steps {
  list-style: none;
  border-left: 2px solid rgba(229,9,20,.35);
  margin: 18px auto 0;
  padding-left: 18px;
  width: min(700px, 86vw);
}
.timeline .steps li {
  padding: 14px 0;
  position: relative;
}
.timeline .steps li::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(229,9,20,.6);
}
.timeline .steps span {
  display: inline-block;
  min-width: 70px;
  color: #fff;
  font-weight: 700;
}

.stages .stage-list {
  list-style: none;
  width: min(700px, 86vw);
  margin: 18px auto 0;
  padding: 0;
}
.stages .stage-list li {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  margin-bottom: 10px;
  opacity: 1;
  transform: none;
}
.stages .stage-list li span {
  color: var(--primary);
  font-weight: 900;
  margin-right: 6px;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.panel.dark {
  background:
    linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.7)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1974&auto=format&fit=crop") center/cover no-repeat;
  display: grid;
  align-content: center;
  text-align: center;
}
.facts { list-style: none; margin: 10px 0 18px; }
.facts li { padding: 8px 0; border-bottom: 1px dashed var(--stroke); }
.facts li:last-child { border-bottom: 0; }
.muted { color: var(--muted); }
.glitch {
  margin-top: 18px;
  font-family: Cinzel, serif;
  font-size: clamp(1.4rem, 4.6vw, 2rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary);
  position: relative;
  animation: flicker 2.5s infinite;
  text-shadow: 0 0 8px rgba(229,9,20,.6), 0 0 22px rgba(229,9,20,.35);
}
@keyframes flicker {
  0%, 19%, 21%, 23%, 64%, 100% { opacity: 1; }
  20%, 22%, 63% { opacity: .4; }
}

.venue p { text-align: center; color: #d9d9df; }
.map-wrap {
  margin: 18px auto 0;
  width: min(900px, 92vw);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  overflow: hidden;
  height: 300px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.contact-card, .contact-cta {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card ul { list-style: none; }
.contact-card li { padding: 6px 0; }
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.partners .center { text-align: center; }
.partners .grid {
  display: grid;
  grid-template-columns: 1fr;
  width: min(600px, 90vw);
  margin: 0 auto;
  gap: 16px;
}
.faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { color: var(--muted); margin-top: 6px; }
.back-top {
  position: fixed;
  right: 16px;
  bottom: 86px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  opacity: 0; transform: translateY(10px);
  transition: all .3s ease;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 8px 12px 12px;
  background: linear-gradient(180deg, rgba(9,9,12,0), rgba(9,9,12,.9));
  display: none;
}

.footer {
  border-top: 1px solid var(--stroke);
  padding: 22px 0;
  background: #0a0a0e;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.foot-brand {
  font-family: Cinzel, serif;
  font-weight: 900;
  color: var(--text);
}

@media (max-width: 960px) {
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .split-inner { grid-template-columns: 1fr; }
  .themes .grid.three { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 56px; right: 12px; background: #0b0b0f; border: 1px solid var(--stroke); border-radius: 12px; padding: 10px; flex-direction: column; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .nav .cta { display: none; }
  .contact .contact-grid { grid-template-columns: 1fr 1fr; }
  .faq .faq-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
}
@media (max-width: 540px) {
  .features .grid { grid-template-columns: 1fr; }
  .themes .grid.three { grid-template-columns: 1fr; }
  .contact .contact-grid { grid-template-columns: 1fr; }
}
