:root {
  --bg: #050b16;
  --surface: #0a1422;
  --card: #0c1828;
  --line: #1a3a5c;
  --text: #f4f8ff;
  --muted: #9bb0c8;
  --blue: #0092fd;
  --blue2: #0068c4;
  --orange: #fda000;
  --orange2: #e08800;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 85% 0%, rgba(0, 146, 253, .16), transparent 34rem), var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #050b16;
  font-weight: 800;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 11, 22, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 146, 253, .22);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.header-inner {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}
.brand img {
  width: 220px;
  max-width: min(220px, 52vw);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.nav { display: flex; gap: 22px; font-weight: 800; font-size: 14px; }
.nav a:hover { color: var(--blue); }
.header-actions, .hero-buttons { display: flex; gap: 9px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #1a0e00; }
.btn-outline { border-color: #1f4f80; background: #0d1c30; }
.mobile-toggle {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  background: #0d1c30;
  border: 1px solid #1f4f80;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 40px;
  font-weight: 900;
  white-space: nowrap;
}

.hero { padding: 76px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 50px;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 99px;
  border: 1px solid #1f5fa0;
  background: #0c2038;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.045em; margin: 22px 0; }
h1 span { color: var(--blue); }
.hero p { color: var(--muted); font-size: 19px; }
.hero-buttons { margin-top: 28px; }
.hero-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #1f4f80;
  box-shadow: var(--shadow);
  background: #0a1628;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}
.hero-media figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section { padding: 36px 0 70px; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 30px; }
.kicker {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 9px 0 12px; }
.section-head p { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature, .game, .info-card, .article-card, .review, .faq-wrap {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #102438, #0a1422);
  border-radius: var(--radius);
}
.feature, .game, .review { padding: 24px; }
.iconbox {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #123258;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature p, .game p, .review p, .article-card p, details p { color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game .symbol { font-size: 34px; color: var(--blue); margin-bottom: 18px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 99px;
  background: #123258;
  color: #c8e6ff;
  border: 1px solid #1f5fa0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #102438, #0a1422);
  border-radius: var(--radius);
  text-align: center;
}
.stat-value { font-size: 34px; font-weight: 950; color: var(--blue); line-height: 1; }
.stat-label { margin-top: 8px; font-weight: 850; }
.stat-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

.info-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; align-items: start; }
.info-card { padding: 24px; position: sticky; top: 100px; }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #1a3a5c;
}
.info-row span:first-child { color: var(--muted); }
.article-card { padding: 32px; }
.article-card h2 { font-size: 32px; }
.article-card h3 { font-size: 23px; margin: 34px 0 12px; }
.article-card p { margin-top: 14px; }
.article-card ol, .article-card ul { color: var(--muted); padding-left: 22px; }
.article-card li { margin: 8px 0; }
.article-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.keyword-box {
  margin-top: 26px;
  border-left: 4px solid var(--orange);
  padding: 16px 18px;
  background: #16140c;
  color: var(--muted);
}
.callout {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #1f5fa0;
  border-radius: 16px;
  background: #102438;
}

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; min-width: 720px; background: #0a1422; }
th, td { padding: 15px 17px; border-bottom: 1px solid #1a3a5c; text-align: left; }
th { background: #102a48; color: var(--blue); }

.rank-list { display: grid; gap: 10px; }
.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c1a2e;
}
.rank-no {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #123258;
  color: var(--blue);
  font-weight: 950;
}
.rank-meta { color: var(--muted); font-size: 13px; }
.rank-prize { font-weight: 950; color: var(--orange); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stars { color: var(--orange); }

.faq-wrap { max-width: 900px; margin: auto; padding: 10px 26px; }
details { border-bottom: 1px solid #1a3a5c; padding: 6px 0; }
summary {
  cursor: pointer;
  font-weight: 850;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; }
details[open] summary::after { content: "–"; }

.cta {
  margin: 40px auto 72px;
  border-radius: 28px;
  padding: 38px;
  background: linear-gradient(135deg, #102a48, #0a1422 55%, #3a2408);
  border: 1px solid #1f5fa0;
  text-align: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 22px; }

.site-footer { border-top: 1px solid #1a3a5c; padding: 34px 0; color: #9bb0c8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand img { width: 190px; height: auto; }
.footer-copy { font-size: 14px; }

@media (max-width: 980px) {
  .header-inner { min-height: 64px; gap: 10px; }
  .header-actions { display: flex; flex-shrink: 0; }
  .header-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand img { width: 148px; max-height: 40px; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0a1422;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid #1a3a5c; }
  .nav a:last-child { border-bottom: 0; }
  .hero-grid, .info-wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .info-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 58px; }
  .brand img { width: 128px; max-height: 36px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .mobile-toggle { padding: 7px 10px; font-size: 13px; }
  .hero { padding-top: 44px; }
  .feature-grid, .games-grid, .reviews { grid-template-columns: 1fr; }
  .article-card { padding: 22px; }
  .article-card h2 { font-size: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .rank-item { grid-template-columns: 36px 1fr; }
  .rank-prize { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
