:root {
  --bg-deep: #0a1628;
  --bg-panel: rgba(18, 35, 58, 0.82);
  --bg-card: rgba(28, 48, 72, 0.58);
  --primary: #f59e0b;
  --primary-dim: rgba(245, 158, 11, 0.42);
  --secondary: #3b82f6;
  --secondary-soft: #93c5fd;
  --text: #f0f9ff;
  --text-muted: #a5b4c9;
  --accent-hot: #ef4444;
  --gold: #fbbf24;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 48px rgba(245, 158, 11, 0.28);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  position: relative;
  isolation: isolate;
  background-color: #0a1628;
  background-image: radial-gradient(1100px 650px at 18% -8%, rgba(59, 130, 246, 0.48), transparent 62%),
    radial-gradient(850px 480px at 95% 8%, rgba(245, 158, 11, 0.36), transparent 56%),
    linear-gradient(172deg, rgba(10, 22, 40, 0.92) 0%, rgba(18, 35, 58, 0.88) 38%, rgba(8, 18, 32, 0.94) 100%),
    linear-gradient(88deg, rgba(12, 20, 36, 0.82) 0%, rgba(12, 20, 36, 0.18) 48%, rgba(12, 20, 36, 0.84) 100%),
    url("images/vo5.png"),
    url("images/vo8.png"),
    url("images/vo11.png"),
    url("images/vo17.png"),
    url("images/vo14.png"),
    url("images/vo28.png");
  background-size: cover, cover, cover, cover, 36% auto, 34% auto, 38% auto, 32% auto, 60% auto, 60% auto;
  background-position: center, center, center, center, 8% 86%, 92% 84%, 2% 18%, 98% 20%, -6% 58%, 106% 44%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  line-height: 1.6;
}

@media (max-width: 900px) {
  body {
    background-size: cover, cover, cover, cover, 64% auto, 62% auto, 66% auto, 62% auto, 96% auto, 96% auto;
    background-position: center, center, center, center, 4% 94%, 96% 94%, 2% 26%, 98% 28%, 50% 80%, 50% 20%;
  }
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
}

body::before {
  opacity: 0.16;
  background-image: url("images/vo7.png"), url("images/vo13.png"), url("images/vo22.png");
  background-size: 24% auto, 22% auto, 26% auto;
  background-position: -4% 46%, 104% 60%, 50% 104%;
}

body::after {
  opacity: 0.12;
  background-image: url("images/vo16.png"), url("images/vo31.png"), url("images/vo32.png");
  background-size: 20% auto, 21% auto, 18% auto;
  background-position: -6% 10%, 106% 16%, 50% -8%;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(12, 24, 42, 0.96), rgba(10, 22, 40, 0.78));
  border-bottom: 1px solid var(--primary-dim);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, #f59e0b, #3b82f6, #10b981, #fbbf24);
  box-shadow: var(--shadow-glow);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.nav {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(105deg, #f59e0b 0%, #fb923c 52%, #fbbf24 100%);
  color: #0a1628;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}
.btn-primary:hover {
  box-shadow: 0 10px 36px rgba(251, 146, 60, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--primary-dim);
}

.hero {
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.16), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 28px;
  width: min(38vw, 440px);
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background: url("images/vo29.png") center / cover no-repeat;
  border: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-6deg);
  opacity: 0.24;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1.22fr;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.promo-cta {
  position: relative;
  padding: 36px 32px 30px;
  min-height: min(420px, 58vh);
  border-radius: 28px;
  background: linear-gradient(158deg, rgba(28, 48, 72, 0.94) 0%, rgba(10, 22, 40, 0.96) 58%, rgba(22, 40, 68, 0.92) 100%);
  border: 2px solid rgba(245, 158, 11, 0.48);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(245, 158, 11, 0.36);
  overflow: hidden;
}

.promo-cta::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: min(36%, 220px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: url("images/vo20.png") center / cover no-repeat;
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: rotate(-10deg);
  opacity: 0.36;
  pointer-events: none;
}

.promo-cta__shine {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(
    from 110deg at 50% 120%,
    transparent,
    rgba(245, 158, 11, 0.16),
    transparent 38%,
    rgba(59, 130, 246, 0.12),
    transparent 72%
  );
  animation: promo-spin 16s linear infinite;
  pointer-events: none;
}

.promo-cta > * {
  position: relative;
  z-index: 1;
}

@keyframes promo-spin {
  to {
    transform: rotate(360deg);
  }
}

.promo-cta__kicker {
  position: relative;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow: 0 0 22px rgba(245, 158, 11, 0.6);
}

.promo-cta__mega {
  position: absolute;
  right: 4px;
  top: 4px;
  margin: 0;
  font-size: clamp(5.25rem, 17vw, 8.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(185deg, rgba(245, 158, 11, 0.42) 0%, rgba(59, 130, 246, 0.12) 48%, rgba(251, 191, 36, 0.24) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
  opacity: 0.95;
}

.promo-cta__title {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.promo-cta__accent {
  background: linear-gradient(90deg, #fde047, #fef08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.promo-cta__deal {
  position: relative;
  margin: 0 0 28px;
  font-size: clamp(1.22rem, 2.85vw, 1.6rem);
  font-weight: 700;
  color: #eff6ff;
  text-shadow: 0 0 28px rgba(245, 158, 11, 0.4);
}

.promo-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 22px 28px;
  border-radius: 18px;
  font-size: clamp(1.12rem, 2.75vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0a1628;
  background: linear-gradient(98deg, #fbbf24 0%, #fde047 28%, #fb923c 68%, #f59e0b 100%);
  box-shadow: 0 10px 36px rgba(251, 191, 36, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.2s ease;
  overflow: hidden;
}

.promo-cta__btn:hover {
  text-decoration: none;
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: 0 14px 44px rgba(245, 158, 11, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.promo-cta__btn:active {
  transform: translateY(0) scale(0.99);
}

.promo-cta__btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: promo-sweep 3.5s ease-in-out infinite;
}

@keyframes promo-sweep {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}

.promo-cta__btn-label,
.promo-cta__btn-arrow {
  position: relative;
  z-index: 1;
}

.promo-cta__btn-arrow {
  font-size: 1.55rem;
  line-height: 1;
}

.promo-cta__note {
  position: relative;
  margin: 20px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .promo-cta {
    min-height: 0;
    padding: 30px 24px 26px;
  }
}

@media (max-width: 520px) {
  .promo-cta__mega {
    font-size: 3.85rem;
    top: 14px;
    right: 2px;
    opacity: 0.42;
  }
  .promo-cta__title {
    max-width: 100%;
    padding-right: 4.5rem;
  }
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 34ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid var(--primary-dim);
  color: var(--primary);
}

.section {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background-repeat: no-repeat;
}
.section > .wrap {
  position: relative;
  z-index: 1;
}

#games.section::before {
  background-image: url("images/vo9.png"), url("images/vo26.png");
  background-size: 18% auto, 16% auto;
  background-position: -4% 12%, 104% 78%;
}

#longread.section::before {
  background-image: url("images/vo10.png"), url("images/vo23.png");
  background-size: 17% auto, 19% auto;
  background-position: 104% 8%, -5% 90%;
}

#faq.section::before {
  background-image: url("images/vo19.png"), url("images/vo30.png");
  background-size: 18% auto, 15% auto;
  background-position: -4% 26%, 104% 88%;
}

@media (max-width: 900px) {
  body::before,
  body::after {
    opacity: 0.1;
  }
  body::before {
    background-size: 36% auto, 32% auto, 37% auto;
    background-position: -14% 50%, 112% 64%, 50% 106%;
  }
  body::after {
    background-size: 30% auto, 32% auto, 28% auto;
    background-position: -12% 12%, 110% 16%, 50% -10%;
  }
  .hero::after {
    width: min(54vw, 340px);
    right: -90px;
    top: 40px;
    opacity: 0.18;
  }
  .promo-cta::after {
    width: 170px;
    right: -38px;
    bottom: -56px;
    opacity: 0.26;
  }
  .section::before {
    opacity: 0.1;
  }
}

.section-head {
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dim);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.game-meta {
  padding: 10px 10px 12px;
}
.game-meta strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
}
.game-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.game-card .btn-play {
  position: absolute;
  inset: auto 8px 52px 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.game-card:hover .btn-play {
  opacity: 1;
  transform: translateY(0);
}
.btn-play {
  padding: 8px;
  font-size: 0.8rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid var(--primary);
}

.prose {
  background: var(--bg-panel);
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1em;
  color: #d0e2f2;
  font-size: 1.02rem;
}
.prose ul {
  color: #d0e2f2;
  padding-left: 1.2em;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q span.icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q span.icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 1200px;
}
.faq-a-inner {
  padding: 0 18px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-a-inner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--primary);
}

.footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(59, 130, 246, 0.24);
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer .age {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.18);
  color: #ffa3b8;
  font-weight: 800;
  margin-bottom: 12px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--primary);
  color: #0a1628;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
}