:root {
  --bg: #f4f7f5;
  --bg-deep: #0c2e24;
  --bg-mid: #154836;
  --surface: #ffffff;
  --ink: #14201c;
  --muted: #4a5c55;
  --line: rgba(20, 32, 28, 0.12);
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-deep: #8a6f12;
  --accent: #1a6b4f;
  --accent-soft: #e8f3ee;
  --danger: #b42318;
  --shadow: 0 18px 40px rgba(12, 46, 36, 0.12);
  --radius: 14px;
  --max: 1120px;
  --nav-h: 72px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #081914;
  --bg-deep: #04110d;
  --bg-mid: #0f2f24;
  --surface: #102820;
  --ink: #eef6f2;
  --muted: #a7bbb2;
  --line: rgba(232, 245, 238, 0.12);
  --accent-soft: #14362c;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(26, 107, 79, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  color: #1a1405;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1405;
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.btn-secondary {
  background: transparent;
  border-color: color-mix(in srgb, #fff 35%, transparent);
  color: #fff;
}

.btn-dark {
  background: var(--bg-deep);
  color: #fff;
}

[data-theme="dark"] .btn-dark {
  background: var(--gold);
  color: #1a1405;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7faf8;
  background:
    linear-gradient(180deg, rgba(4, 17, 13, 0.25) 0%, rgba(4, 17, 13, 0.78) 55%, rgba(4, 17, 13, 0.94) 100%),
    radial-gradient(circle at 70% 30%, rgba(201, 162, 39, 0.28), transparent 45%),
    linear-gradient(140deg, #0c2e24, #154836 45%, #0a1f18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 720px;
  animation: rise 0.8s ease both;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 250, 248, 0.86);
  max-width: 36ch;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-version {
  margin-top: 1.4rem;
  color: rgba(247, 250, 248, 0.7);
  font-size: 0.95rem;
}

.hero-orb {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(58vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(232, 197, 71, 0.55), transparent 28%),
    radial-gradient(circle at 55% 55%, rgba(26, 107, 79, 0.7), transparent 50%),
    radial-gradient(circle at 50% 50%, #1a6b4f, transparent 65%);
  filter: blur(2px);
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro {
  padding-top: 3.5rem;
}

.intro-copy {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.req-block h3,
.guide-block h3,
.feature-item h3,
.benefit-item h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.req-block li,
.guide-block li,
.feature-item p,
.benefit-item p,
.experience p,
.support-copy p,
.conclusion p {
  color: var(--muted);
}

.req-block li,
.guide-block li,
.benefit-item li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
}

.req-block li::before,
.guide-block li::before,
.benefit-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--gold);
}

.guide-grid {
  display: grid;
  gap: 2rem;
}

.guide-block ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.guide-block li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

.guide-block li::before {
  display: none;
}

.features {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent-soft) 70%, transparent) 20%, transparent 100%);
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  padding-block: 0.35rem;
  border-top: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-item h3 {
  color: var(--ink);
}

.feature-item p {
  margin: 0;
}

.lottery {
  position: relative;
}

.lottery-banner {
  padding: 2.2rem 0 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lottery-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.experience {
  background: var(--bg-deep);
  color: #f4f8f6;
}

.experience .section-head h2,
.experience .section-head p,
.experience p {
  color: rgba(244, 248, 246, 0.9);
}

.experience .section-head p {
  color: rgba(244, 248, 246, 0.7);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.game-tile {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent-soft) 80%, transparent), transparent 70%),
    var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.game-tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
}

.game-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  color: #1a1405;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.game-tile span {
  font-weight: 700;
  font-size: 0.92rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.post-link {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
  transition: opacity 0.2s ease;
}

.post-link:hover {
  opacity: 0.88;
}

.post-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.post-body time {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.post-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Single post article */
.post-article {
  padding-bottom: 3rem;
}

.post-hero {
  padding: 3rem 0 1.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.post-meta a {
  color: var(--accent);
  font-weight: 700;
}

.post-meta a:hover {
  color: var(--gold-deep);
}

.post-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.post-dek {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.post-content {
  max-width: 760px;
}

.post-content h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.post-content p {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.post-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.post-content a:hover {
  color: var(--gold-deep);
}

.post-nav a.btn {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

.post-nav a.btn:hover {
  color: inherit;
}

.post-figure {
  margin: 1.75rem 0 2rem;
}

.post-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.post-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.support-links a {
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-links a:hover {
  border-color: var(--gold);
  background: var(--accent-soft);
}

.conclusion {
  padding-bottom: 3rem;
}

.site-footer {
  background: var(--bg-deep);
  color: rgba(244, 248, 246, 0.85);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(244, 248, 246, 0.72);
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: rgba(244, 248, 246, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .menu-btn {
    display: grid;
  }

  .req-grid,
  .benefits-grid,
  .games-grid,
  .posts-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .req-grid,
  .benefits-grid,
  .games-grid,
  .posts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .post-link {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 3.5rem;
  }

  .nav-actions .btn {
    display: none;
  }
}
