:root {
  --bg: #0a0e17;
  --bg-elev: #121824;
  --text: #f2f4f8;
  --text-muted: #a8b0c4;
  --accent: #ff6a00;
  --accent-dim: #cc5500;
  --border: rgba(255, 106, 0, 0.45);
  --card-light: #f8f9fc;
  --warning-bg: #1a0f06;
  --warning-border: #ff8533;
  --radius: 12px;
  --radius-lg: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #000;
  z-index: 9999;
}

/* Critical free-only notice */
.notice-top {
  background: linear-gradient(90deg, #ff6a00, #ff8533);
  color: #0a0a0a;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
}

.notice-mega {
  background: var(--warning-bg);
  border-block: 3px solid var(--warning-border);
  padding: 1rem 0;
  box-shadow: 0 0 0 1px rgba(255, 133, 51, 0.25);
}

.notice-mega .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  text-align: center;
}

.notice-mega strong {
  color: #ffbe8a;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.notice-mega p {
  margin: 0;
  max-width: 52rem;
  color: var(--text);
  font-size: 0.98rem;
}

.badge-flag {
  flex-shrink: 0;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-header {
  background: rgba(10, 14, 23, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.header-cta .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
}

.btn-primary:hover {
  background: #ff8533;
  text-decoration: none;
  color: #0d0d0d;
}

.btn-ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 46rem;
}

.hero {
  padding: 3rem 0 4rem;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 106, 0, 0.12), transparent 55%), var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--bg-elev) 0%, #1a1410 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-art {
  width: 70%;
  max-width: 280px;
  opacity: 0.95;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  background: var(--bg-elev);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-box:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-box h3 {
  margin: 0.75rem 0 0.5rem;
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.game-card {
  background: var(--card-light);
  color: #1a1f2e;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.game-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #6b5cff 0%, #ff6a00 50%, #ffd54f 100%);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.game-thumb.has-img {
  padding: 0;
  background: #1a1f2e;
}

.game-thumb.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.game-card-play {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Embedded demo player */
.game-play {
  padding: 0 0 3.5rem;
}

.game-frame-shell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.game-frame-shell iframe {
  display: block;
  width: 100%;
  height: min(85vh, 920px);
  min-height: 560px;
  border: 0;
}

.game-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.game-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stars {
  color: #ffb020;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.game-body .btn {
  width: 100%;
}

.promo-band {
  background: linear-gradient(100deg, var(--accent), #ff8533);
  color: #111;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: min(1120px, 92vw);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .promo-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.promo-band h2 {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.promo-band p {
  margin: 0;
  font-size: 1rem;
  max-width: 40rem;
}

.promo-illus {
  width: 100px;
  height: 100px;
  opacity: 0.9;
}

.leader-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .leader-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.podium-step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  min-width: 5.5rem;
}

.podium-step.p1 {
  order: 2;
  padding-bottom: 2rem;
  border-color: #ffd54f;
}

.podium-step.p2 {
  order: 1;
  padding-bottom: 1.35rem;
}

.podium-step.p3 {
  order: 3;
  padding-bottom: 1rem;
}

.podium-step .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6a00, #6b5cff);
  margin: 0 auto 0.5rem;
}

.podium-step .handle {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
}

.podium-step .score {
  color: var(--accent);
  font-weight: 800;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 22rem;
}

.rank-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .testimonial-row {
    grid-template-columns: 1fr;
  }
}

.quote-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg-elev);
}

.quote-box .stars {
  margin-bottom: 0.65rem;
}

.quote-box blockquote {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quote-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.quote-footer .mini-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4fd1c5, #ff6a00);
}

.quote-footer cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  margin-bottom: 0.65rem;
  padding: 0 1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  background: #06080f;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-disclaimer {
  max-width: 52rem;
  margin: 0 auto 1.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.support-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.support-strip a {
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.support-strip a:hover {
  opacity: 1;
}

.support-strip img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.copy {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

/* Inner pages */
.page-hero {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 44rem;
}

.prose {
  padding: 2.5rem 0 4rem;
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose code {
  font-size: 0.9em;
  background: var(--bg-elev);
  padding: 0.12em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border-top: 2px solid var(--border);
  padding: 1rem;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
