:root {
  --bg: #121A12;
  --bg-soft: #1C2B1A;
  --surface: #243524;
  --text: #E4EBD9;
  --muted: #A0B090;
  --accent: #D4A017;
  --accent-2: #8B5E14;
  --button: #D4A017;
  --button-text: #121A12;
  --secondary: #6B7F5A;
  --border: rgba(212, 160, 23, 0.28);
  --shadow-soft: 8px 8px 20px rgba(0, 0, 0, 0.35), -6px -6px 16px rgba(60, 80, 50, 0.12);
  --shadow-inset: inset 4px 4px 10px rgba(0, 0, 0, 0.28), inset -3px -3px 8px rgba(80, 100, 70, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(107, 127, 90, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(212, 160, 23, 0.08), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #e8c04a;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 26, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

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

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* Hero — full-bleed, no cards */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 26, 18, 0.35) 0%, rgba(18, 26, 18, 0.55) 40%, rgba(18, 26, 18, 0.94) 100%),
    linear-gradient(90deg, rgba(18, 26, 18, 0.55) 0%, transparent 55%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
  max-width: 36rem;
  animation: rise-in 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.03em;
}

.hero-brand span {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text);
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons Soft UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--button);
  color: var(--button-text);
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.3), -3px -3px 10px rgba(212, 160, 23, 0.15);
}

.btn-primary:hover {
  color: var(--button-text);
  transform: translateY(-2px);
  box-shadow: 8px 10px 18px rgba(0, 0, 0, 0.35), -4px -4px 12px rgba(212, 160, 23, 0.2);
}

.btn-ghost {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head p { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Soft panels (interaction containers — not hero cards) */
.soft-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.soft-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.45);
  box-shadow: 10px 12px 24px rgba(0, 0, 0, 0.38), -5px -5px 14px rgba(70, 90, 55, 0.1);
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.game-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  min-height: 100%;
}

.game-logo {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  image-rendering: auto;
}

.game-link h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.game-link p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Why hub */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.why-item .icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-inset);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Genres split */
.genres-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.genres-visual {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--bg-soft);
}

.genres-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.genre-tags span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-inset);
}

/* Method steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: var(--button-text);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Tips */
.tips-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tip {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.tip-mark {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15);
}

.tip p { margin: 0; }

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}

.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-body {
  border-top-color: var(--border);
  padding-top: 0.85rem;
}

/* Page hero (legal / contact) */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(28, 43, 26, 0.9), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { color: var(--text); }
.page-hero p { max-width: 40rem; }

.legal-content {
  padding: 3rem 0 4.5rem;
  max-width: 740px;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li { margin-bottom: 0.4rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 3rem 0 4.5rem;
}

.contact-block p { margin-bottom: 0.4rem; }

.contact-block a {
  font-weight: 700;
  text-decoration: none;
}

.contact-block a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 2.5rem 0 1.75rem;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 1.25rem 1.35rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

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

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

/* Reveal motions */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leaf-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

.brand img {
  animation: leaf-sway 5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 980px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .genres-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 1rem;
    right: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.85rem 1rem;
    display: none;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0.65rem;
  }

  .header-inner { position: relative; }

  .games-grid { grid-template-columns: 1fr 1fr; }
  .tips-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .hero-content { padding-bottom: 2.5rem; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
