:root {
  --ink: #05070d;
  --ink-2: #0b101c;
  --panel: #111827;
  --panel-2: #171f30;
  --line: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-2: #f3d27a;
  --teal: #3ee0c4;
  --teal-2: #7ef0dc;
  --cream: #f6f1e6;
  --muted: #9aa4b8;
  --white: #ffffff;
  --danger: #e85d4c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--gold-2);
}

.container-narrow {
  max-width: 1180px;
}

.site-header {
  position: relative;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.96), rgba(11, 16, 28, 0.92));
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.brand:hover {
  color: var(--cream);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(62, 224, 196, 0.18), rgba(212, 175, 55, 0.18));
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.15rem;
  box-shadow: inset 0 0 18px rgba(62, 224, 196, 0.15);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.brand-copy span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--cream);
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  margin: 4px 0;
  transition: 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: #05070d;
  z-index: 200;
  display: none;
  padding: 28px 22px;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav nav {
  display: grid;
  gap: 8px;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  background: #05070d center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.88) 0%, rgba(5, 7, 13, 0.55) 48%, rgba(5, 7, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.4) 0%, rgba(5, 7, 13, 0.55) 45%, rgba(5, 7, 13, 0.96) 100%),
    radial-gradient(circle at 20% 20%, rgba(62, 224, 196, 0.18), transparent 32%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding: 72px 0 80px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kicker i {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  max-width: 14ch;
  margin: 12px 0 18px;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.75);
}

.hero .lead {
  color: #e4e9f4;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.8);
}

.gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  color: var(--ink);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 18px;
}

.stat-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-2);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #080c16;
}

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 14px 0;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.marquee-track i {
  color: var(--gold);
}

section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 8px 0 0;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
  background: #0d1322 center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.05), rgba(5, 7, 13, 0.88));
}

.media-card .content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(62, 224, 196, 0.16);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge.gold {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-2);
  -webkit-text-fill-color: var(--gold-2);
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.media-card h3 {
  margin: 10px 0 6px;
  font-size: 1.45rem;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.game-tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 210px;
  background: #101522 center / cover no-repeat;
  border: 1px solid var(--line);
  transform: translateY(0);
  transition: 0.35s ease;
}

.game-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 196, 0.5);
}

.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.9));
}

.game-tile div {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.game-tile h3 {
  margin: 0;
  font-size: 1.2rem;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-list i {
  color: var(--gold);
  margin-top: 4px;
}

.news-grid,
.equip-grid,
.team-grid,
.info-grid {
  display: grid;
  gap: 20px;
}

.plain-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: 0.3s ease;
}

.plain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
}

.plain-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.plain-card .pad {
  padding: 20px;
}

.meta {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  margin: 20px 0 90px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b101c center / cover no-repeat;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.92), rgba(5, 7, 13, 0.45));
}

.cta-band .inner {
  position: relative;
  padding: 56px 32px;
}

.page-hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.16), transparent 28%),
    linear-gradient(180deg, #0b101c, var(--ink));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin: 10px 0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.timeline b {
  color: var(--gold);
  font-family: var(--font-display);
}

.legal {
  color: var(--muted);
}

.legal h2 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-top: 32px;
}

.contact-grid {
  display: grid;
  gap: 18px;
}

.contact-box {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-box a {
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070b14;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.reveal {
  animation: rise 0.8s ease both;
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid,
  .news-grid,
  .equip-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .news-grid,
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .equip-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
