:root {
  --bg: #07090f;
  --bg-raise: #10151f;
  --ink: #e8eef8;
  --muted: #a7b3c7;
  --line: rgba(168, 190, 220, 0.16);
  --cyan: #3ef0e0;
  --cyan-deep: #0c2c2c;
  --magenta: #ff4d8d;
  --violet: #8b7cff;
  --amber: #ffb020;
  --display: "Rajdhani", sans-serif;
  --body: "Outfit", sans-serif;
  --header: 84px;
  --nav-break: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(139, 124, 255, 0.18), transparent 55%),
    radial-gradient(800px 380px at -10% 8%, rgba(62, 240, 224, 0.1), transparent 50%),
    var(--bg);
  color-scheme: dark;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

img { max-width: 100%; }

a { color: inherit; }

::selection { background: var(--cyan); color: #04211e; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: #fff;
  color: #04120f;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(7, 9, 15, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 48%, var(--magenta));
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background:
    linear-gradient(160deg, rgba(62, 240, 224, 0.2), rgba(255, 77, 141, 0.14));
  border: 1px solid rgba(62, 240, 224, 0.45);
  box-shadow: 0 0 22px rgba(62, 240, 224, 0.16);
  font-size: 1.15rem;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  text-decoration: none;
  color: #d7e0ee;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 1.02rem;
  border-radius: 999px;
  position: relative;
}

.nav-list a:hover { color: var(--cyan); }

.nav-list a.is-active {
  color: #04211e;
  background: linear-gradient(120deg, var(--cyan), #b8fff4);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media img { animation: drift 26s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-shade,
.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.92) 0%, rgba(5, 7, 12, 0.68) 46%, rgba(5, 7, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.15), rgba(5, 7, 12, 0.72));
}

.hero-content { position: relative; z-index: 2; padding: 72px 0 64px; }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
  gap: 36px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

h1, h2, h3, .section-title, .footer-title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 11ch;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.grad-text {
  background: linear-gradient(100deg, #d9fff8 0%, var(--cyan) 35%, #f3b4ff 70%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 18px 0 0;
  max-width: 42rem;
  color: #d5deeb;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.6;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.heat-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.heat-btn {
  color: #1a0610;
  background: linear-gradient(120deg, #ffd0e2, var(--magenta) 45%, #ffb020);
  box-shadow: 0 10px 30px rgba(255, 77, 141, 0.24);
}

.ghost-btn {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 16, 0.35);
}

.heat-btn:hover,
.ghost-btn:hover { transform: translateY(-2px); color: inherit; }

.heat-btn:hover { color: #1a0610; }

.glass-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.glass-card h2 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  text-transform: uppercase;
  line-height: 0.9;
}

.plain-list,
.meta-list,
.check-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li,
.meta-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  margin-top: 8px;
}

.plain-list i,
.meta-list i,
.check-list i { color: var(--cyan); margin-top: 3px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(9, 12, 20, 0.88);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7e2f1;
  font-size: 1rem;
}

.marquee-sep { color: var(--magenta); font-size: 0.55rem; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.band { padding: 88px 0; }

.band-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%);
  border-block: 1px solid rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.section-copy { max-width: 36rem; color: var(--muted); margin: 0; }

.stat-grid,
.slate-grid,
.city-grid,
.step-grid,
.note-grid,
.rule-grid {
  display: grid;
  gap: 16px;
}

.stat-grid { grid-template-columns: repeat(4, 1fr); }

.stat-card,
.slate-card,
.city-card,
.step-card,
.note-card,
.rule-card,
.event-card,
.contact-card,
.game-block {
  background: rgba(16, 21, 31, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.stat-card { padding: 22px; }

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.9;
  color: var(--cyan);
}

.stat-card span { color: var(--muted); }

.slate-grid,
.note-grid { grid-template-columns: repeat(3, 1fr); }

.slate-media,
.event-card-media,
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.slate-media img,
.event-card-media img,
.media-frame img,
.title-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.slate-card:hover img,
.event-card:hover img,
.title-tile:hover img,
.game-block:hover img { transform: scale(1.06); }

.slate-card-body,
.event-card-body,
.city-card,
.step-card,
.note-card,
.rule-card,
.contact-card { padding: 18px 18px 20px; }

.slate-card h3,
.event-card h3,
.note-card h3,
.rule-card h3,
.contact-card h3,
.city-card h3,
.step-card h3 {
  margin: 8px 0;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 0.95;
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 700;
}

.status-done { background: rgba(8, 10, 16, 0.8); color: #d7e0ee; border: 1px solid var(--line); }
.status-next { background: var(--cyan); color: #04211e; }

.kicker { margin: 0; color: var(--amber); font-size: 0.92rem; letter-spacing: 0.04em; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.media-frame { border-radius: 22px; border: 1px solid var(--line); }

.split-copy h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; line-height: 0.92; }

.check-list li {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  color: #d5deeb;
}

.check-list a { color: var(--cyan); }

.title-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.title-tile {
  position: relative;
  display: block;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
}

.title-tile img { position: absolute; inset: 0; }

.title-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.9;
}

.title-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 7, 12, 0.88));
}

.city-grid,
.step-grid,
.rule-grid { grid-template-columns: repeat(3, 1fr); }

.city-card i,
.step-num {
  color: var(--cyan);
  font-family: var(--display);
  font-weight: 700;
}

.step-num { font-size: 1.4rem; letter-spacing: 0.08em; }

.city-card p,
.step-card p,
.note-card p,
.rule-card p,
.contact-card p,
.event-card p,
.slate-card p { color: var(--muted); margin-bottom: 0; }

.quote-band {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(62, 240, 224, 0.08), rgba(255, 77, 141, 0.08)),
    #10151f;
}

.quote-band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.quote-band span { display: block; margin-top: 12px; color: var(--muted); font-family: var(--body); font-size: 0.95rem; letter-spacing: 0; text-transform: none; }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px;
  background:
    linear-gradient(100deg, rgba(7, 9, 15, 0.2), rgba(7, 9, 15, 0.72)),
    url("/assets/images/hero-arena.jpg") center/cover;
  border: 1px solid var(--line);
}

.cta-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); text-transform: uppercase; max-width: 14ch; line-height: 0.92; }

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-content { position: relative; z-index: 2; padding: 54px 0 36px; }

.page-hero .lead { max-width: 40rem; }

.crumb { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; }
.crumb a { color: var(--cyan); text-decoration: none; }
.crumb span { margin: 0 6px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: #d7e0ee;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.chip.is-active { background: var(--cyan); color: #04211e; border-color: var(--cyan); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.event-card.is-hidden { display: none; }

.event-card h3 { font-size: 1.55rem; }

.filter-empty {
  margin-top: 8px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.game-block { padding: 18px; margin-bottom: 18px; }
.game-block h2 { margin: 0 0 8px; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); }
.game-block .media-frame { border: 0; }

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }

.spec-table { width: 100%; border-collapse: collapse; min-width: 680px; }

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.95rem;
}

.spec-table td { color: #d5deeb; }

.timeline { position: relative; margin: 8px 0 0 6px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--magenta));
}

.time-item { position: relative; padding: 0 0 28px 28px; }

.time-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(62, 240, 224, 0.15);
}

.time-month {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.time-item h3 { margin: 4px 0 6px; text-transform: uppercase; font-size: 1.7rem; }
.time-item p { margin: 0; color: var(--muted); }
.time-item a { color: var(--cyan); text-decoration: none; }

.prose { max-width: 48rem; }
.prose h2 { margin: 2rem 0 0.6rem; text-transform: uppercase; font-size: 1.8rem; }
.prose p, .prose li { color: #d0dae8; line-height: 1.7; }
.prose ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.prose a { color: var(--cyan); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card a { color: var(--cyan); text-decoration: none; }
.contact-card .heat-btn { margin-top: 14px; color: #1a0610; }
.contact-grid .rule-grid { grid-template-columns: 1fr 1fr; }
.contact-card h3 i { margin-right: 8px; color: var(--cyan); }

.site-footer {
  margin-top: 20px;
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: #080b12;
}

.footer-lead { color: var(--muted); margin: 16px 0 0; max-width: 28rem; }
.footer-title { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links li { margin: 0 0 8px; color: var(--muted); }
.footer-links a { text-decoration: none; color: #d7e0ee; }
.footer-links a:hover { color: var(--cyan); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-base p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: #0d131e;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    z-index: 40;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { width: 100%; min-height: 46px; border-radius: 12px; }
  .stat-grid,
  .title-grid,
  .contact-grid .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .slate-grid,
  .event-grid,
  .city-grid,
  .step-grid,
  .note-grid,
  .rule-grid,
  .hero-layout,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .band { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .stat-grid,
  .title-grid,
  .contact-grid .rule-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-content { padding: 48px 0 36px; }
  .page-hero { min-height: 340px; }
  .cta-band,
  .quote-band { padding: 22px; }
  .brand-name { font-size: 1.25rem; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
