:root {
  --bg: #10121E;
  --bg-2: #171A2B;
  --card: #1C2034;
  --card-2: #23284A;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F4F2EC;
  --muted: #A3A7C2;
  --gold: #FFB830;
  --gold-dark: #B9780C;
  --lip: #343A5C;
  --live: #4ADE80;
  --radius: 22px;
  --display: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg) 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: 0.5px; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 18px; letter-spacing: 0.5px;
  padding: 12px 22px; border-radius: 14px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-lg { font-size: 21px; padding: 15px 28px; }
.btn-gold { background: var(--gold); color: #2A1A00; box-shadow: 0 5px 0 var(--gold-dark); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-dark); filter: brightness(1.05); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-dark); }
.btn-ghost { background: var(--card); color: var(--text); box-shadow: 0 5px 0 var(--lip); border: 2px solid var(--lip); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--lip); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(16, 18, 30, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-family: var(--display); font-size: 17px; color: var(--muted);
  padding: 8px 14px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--card); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 48px) 40px;
}
.hero-glow {
  position: absolute; right: 5%; top: 10%; width: 520px; height: 520px; z-index: -1;
  background: radial-gradient(circle, rgba(255, 184, 48, 0.28), transparent 65%);
  filter: blur(10px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 {
  font-size: clamp(58px, 9vw, 118px);
  text-shadow: 0 6px 0 var(--lip), 0 14px 30px rgba(0, 0, 0, .45);
}
.hero h1 .gold { text-shadow: 0 6px 0 var(--gold-dark), 0 14px 30px rgba(0, 0, 0, .45); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 520px; margin: 22px 0 30px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.mascot { width: min(440px, 100%); animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.mascot-shadow { position: absolute; bottom: -14px; width: 55%; height: 26px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(8px); animation: shadow 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: .45; } 50% { transform: scaleX(.85); opacity: .3; } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1200px; margin: 10px auto 0; padding: 0 clamp(16px, 4vw, 48px);
}
.stat {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: 0 6px 0 var(--bg-2);
}
.stat-icon { font-size: 28px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--card-2); flex: none; }
.stat-icon.live { color: var(--live); font-size: 22px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.stat span { display: block; color: var(--muted); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(40px, 5vw, 60px); text-shadow: 0 5px 0 var(--lip); }
.section-head p { color: var(--muted); margin: 0; font-weight: 700; }
.section-head.small { margin-top: 50px; }
.section-head h3 { font-size: 30px; color: var(--muted); }

/* ---------- game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 0 var(--bg-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game:hover { transform: translateY(-6px); border-color: rgba(255, 184, 48, .5); box-shadow: 0 14px 0 var(--bg-2), 0 0 40px rgba(255, 184, 48, .12); }
.game-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--card-2); overflow: hidden; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game:hover .game-thumb img { transform: scale(1.06); }
.game-live {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(16, 18, 30, .85); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: 13px;
}
.game-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.game-live.off i { background: var(--muted); }
.game-body { display: flex; gap: 14px; align-items: center; padding: 16px; flex: 1; }
.game-icon { position: relative; z-index: 3; width: 64px; height: 64px; border-radius: 16px; flex: none; border: 3px solid var(--card-2); background: var(--card-2); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.game-info { min-width: 0; flex: 1; }
.game-info h3 { font-size: 22px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-meta { display: flex; gap: 12px; white-space: nowrap; color: var(--muted); font-weight: 800; font-size: 14px; margin-top: 3px; }
.game-play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  transition: transform .2s ease;
  background: var(--gold); color: #2A1A00; box-shadow: 0 4px 0 var(--gold-dark); font-size: 18px;
}
.game:hover .game-play { transform: scale(1.12); }
.game-body { padding-right: 16px; }
.games-grid.compact { grid-template-columns: repeat(4, 1fr); }
.games-grid.compact .game-info h3 { font-size: 19px; }
.games-grid.compact .game-meta { font-size: 13px; gap: 10px; }
.games-grid.compact .game-icon { width: 52px; height: 52px; }
.updated { color: var(--muted); font-size: 13px; text-align: right; margin: 16px 0 0; opacity: .7; }

/* ---------- about ---------- */
.about-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--card), var(--bg-2)); border: 1px solid var(--line);
  border-radius: 30px; padding: clamp(24px, 4vw, 48px);
}
.about-icon { width: 100%; filter: drop-shadow(0 14px 20px rgba(0,0,0,.4)); }
.about h2 { font-size: clamp(36px, 4.5vw, 52px); text-shadow: 0 5px 0 var(--lip); margin-bottom: 14px; }
.about p { color: var(--muted); font-weight: 600; margin: 0 0 24px; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars li { background: var(--card-2); border-radius: 16px; padding: 16px; }
.pillars b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold); }
.pillars span { color: var(--muted); font-size: 15px; font-weight: 600; }

/* ---------- footer ---------- */
.footer {
  margin-top: clamp(70px, 9vw, 110px); padding: 40px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line); background: var(--bg-2);
  display: grid; justify-items: center; gap: 18px; text-align: center;
}
.footer-logo { height: 70px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.footer-links a { font-weight: 800; color: var(--muted); padding: 8px 14px; border-radius: 10px; background: var(--card); }
.footer-links a:hover { color: var(--gold); }
.fine { color: var(--muted); font-size: 13px; margin: 0; opacity: .7; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .games-grid, .games-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 180px 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-logo img { height: 42px; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .mascot { width: min(280px, 70vw); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-card { grid-template-columns: 1fr; }
  .about-icon { width: 160px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .games-grid, .games-grid.compact { grid-template-columns: 1fr; }
  .stat { padding: 16px; gap: 12px; }
  .stat-icon { width: 42px; height: 42px; font-size: 22px; }
  .nav-cta { font-size: 15px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
