:root {
  --bg: #07090f;
  --bg-2: #101722;
  --ink: #edf3fb;
  --muted: #a7b3c9;
  --cyan: #3df0ff;
  --violet: #8d6bff;
  --amber: #ffc15a;
  --rose: #ff5d8f;
  --line: rgba(150, 204, 255, 0.16);
  --display: "Oxanium", sans-serif;
  --body: "Manrope", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(141, 107, 255, 0.2), transparent 55%),
    radial-gradient(700px 380px at -10% 8%, rgba(61, 240, 255, 0.08), transparent 50%),
    var(--bg);
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--cyan);
  color: #041018;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
}

.skip:focus { top: 1rem; }

.site-nav {
  position: relative;
  z-index: 40;
  background: rgba(7, 9, 15, 0.94);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #071018;
  background: linear-gradient(145deg, var(--cyan), var(--violet));
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  font-size: 1.15rem;
  filter: drop-shadow(0 8px 16px rgba(61, 240, 255, 0.25));
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.brand-line {
  margin-top: 0.28rem;
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-panel ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  color: #041018;
  background: linear-gradient(90deg, var(--cyan), #c8fbff);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  left: -6%;
  top: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  animation: drift 24s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.94) 0%, rgba(5, 8, 14, 0.72) 48%, rgba(5, 8, 14, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.15), rgba(5, 8, 14, 0.82));
}

.hero-content { position: relative; z-index: 1; padding: 7rem 0 4.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 11ch;
}

.grad {
  background: linear-gradient(100deg, #ffffff 10%, var(--cyan) 48%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-main {
  color: #041018;
  background: linear-gradient(90deg, var(--cyan), #d7fdff);
  box-shadow: 0 10px 30px rgba(61, 240, 255, 0.18);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.45);
}

.btn-main:hover, .btn-ghost:hover { transform: translateY(-3px); }

.hero-aside { display: grid; gap: 0.8rem; }

.pulse-card, .panel {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.9), rgba(8, 12, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.pulse-card { padding: 1rem 1.1rem; display: flex; gap: 0.85rem; align-items: flex-start; }

.pulse-card i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #041018;
  background: var(--cyan);
  flex: 0 0 auto;
}

.pulse-card strong { display: block; font-family: var(--display); font-size: 0.95rem; }
.pulse-card span { color: var(--muted); font-size: 0.88rem; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.8);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0.4rem;
  padding: 0.9rem 0;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.ticker i { color: var(--cyan); }

.block { padding: 5.4rem 0; }

.block-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%);
  border-top: 1px solid rgba(150, 204, 255, 0.06);
}

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.block-head h2, .page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.block-head p { margin: 0; max-width: 36rem; color: var(--muted); }

.shot {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.shot img, .shot-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-16 { aspect-ratio: 16 / 9; }
.ratio-4 { aspect-ratio: 4 / 3; }

.panel { overflow: hidden; height: 100%; transition: transform 0.3s ease, border-color 0.3s ease; }
.panel:hover { transform: translateY(-6px); border-color: rgba(61, 240, 255, 0.45); }
.panel .shot { border: 0; border-radius: 0; }
.panel .shot img { transition: transform 0.6s ease; }
.panel:hover .shot img { transform: scale(1.06); }

.panel-body { padding: 1.15rem 1.2rem 1.3rem; }
.panel-body h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.45rem; }
.panel-body p { margin: 0; color: var(--muted); line-height: 1.65; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: 0.7rem;
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--display);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 0.72rem;
}

.game-tile {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 180px;
  padding: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(61, 240, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(16, 24, 40, 0.92), rgba(8, 12, 20, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.game-tile:hover { transform: translateY(-6px); border-color: rgba(141, 107, 255, 0.7); }

.game-tile i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #041018;
  background: linear-gradient(140deg, var(--cyan), var(--violet));
}

.game-tile strong {
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.game-tile span { color: var(--muted); margin-top: auto; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.split-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; line-height: 0.95; }
.split-copy p { color: var(--muted); line-height: 1.75; }
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); }
.checklist i { color: var(--cyan); margin-top: 0.2rem; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 0.3rem; }
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
  border-left: 1px solid var(--line);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -0.38rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(61, 240, 255, 0.12);
}
.timeline span {
  color: var(--amber);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.timeline h3 { margin: 0.25rem 0; text-transform: uppercase; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--muted); }

.rank-list { display: grid; gap: 0.7rem; }
.rank-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.72);
}
.rank-n {
  font-family: var(--display);
  color: var(--cyan);
  font-size: 1.2rem;
}
.rank-row small { display: block; color: var(--muted); }
.rank-row b { font-family: var(--display); color: var(--amber); }

.crest {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #041018;
  background: linear-gradient(145deg, var(--amber), var(--rose));
  font-size: 1.2rem;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  padding: 1.3rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.8);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--cyan);
}
.stat span { color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  min-height: 280px;
  display: grid;
  align-items: end;
}
.cta-band .shot { position: absolute; inset: 0; border: 0; border-radius: 0; }
.cta-band .shot img { height: 100%; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 14, 0.92), rgba(5, 8, 14, 0.35));
}
.cta-inner { position: relative; z-index: 1; padding: 2rem; max-width: 40rem; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.55) 42%, rgba(7, 9, 15, 0.92)),
    linear-gradient(90deg, rgba(7, 9, 15, 0.55), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 3rem; }
.page-hero h1, .page-hero .lead, .page-hero .crumbs, .page-hero .kicker { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55); }
.page-hero-plain {
  min-height: 0;
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(61, 240, 255, 0.14), transparent 60%),
    #0c1220;
}
.page-hero-plain::before { display: none; }
.crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #d5deee;
  background: rgba(5, 8, 14, 0.72);
  font-size: 0.85rem;
}
.crumbs a { color: var(--cyan); text-decoration: none; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.chip {
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.chip.is-on { color: #041018; background: var(--cyan); border-color: transparent; }
.is-hidden { display: none; }

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.7rem; text-transform: uppercase; margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.15rem; text-transform: uppercase; margin: 1.3rem 0 0.4rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 0.18em; }

.info-card { padding: 1.2rem; height: 100%; }
.info-card i { color: var(--cyan); font-size: 1.2rem; }
.info-card h3 { margin: 0.7rem 0 0.4rem; text-transform: uppercase; font-size: 1.05rem; }
.info-card p, .info-card a { color: var(--muted); text-decoration: none; }
.info-card a:hover { color: var(--cyan); }

.quote {
  margin: 0;
  padding: 1.3rem 1.3rem 1.3rem 1.1rem;
  border-left: 3px solid var(--violet);
  background: rgba(141, 107, 255, 0.08);
  border-radius: 0 18px 18px 0;
}
.quote p { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.6; }
.quote cite { color: var(--cyan); font-style: normal; font-family: var(--display); letter-spacing: 0.06em; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(8, 14, 24, 0.9);
}
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.up { color: #7dffa8; }
.down { color: var(--rose); }
.flat { color: var(--amber); }

.city {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.65);
  height: 100%;
}
.city strong { display: block; font-family: var(--display); text-transform: uppercase; }
.city span { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  margin-top: auto;
  padding: 3.2rem 0 1.3rem;
  border-top: 1px solid var(--line);
  background: #080c14;
}
.foot-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.8rem; color: var(--ink); text-decoration: none; }
.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover,
.site-footer a.is-active { color: var(--cyan); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    padding: 0.7rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    z-index: 30;
    background: #0b101a;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  .nav-panel.is-open { display: block; }
  .nav-panel ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-panel a { padding: 0.85rem 0.9rem; }
  .hero { min-height: 0; }
  .hero-grid, .split, .stat-grid, .block-head { grid-template-columns: 1fr; display: grid; }
  .block-head { align-items: start; }
  .hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; }
  .btn-row .btn-main, .btn-row .btn-ghost { width: 100%; }
  .hero-content { padding-top: 3.2rem; }
  .block { padding: 3.6rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

body.nav-lock { overflow: hidden; }
