/* =========================================================
   YONO ARCADE — Design tokens
   Palette pulled from the brand mark: felt-table green,
   marquee gold, chip maroon.
   ========================================================= */
:root {
  --felt-900: #061e16;
  --felt-800: #0a3626;
  --felt-700: #0f4a34;
  --felt-650: #12563d;
  --gold-500: #f0c53c;
  --gold-400: #f6d768;
  --gold-700: #b9861f;
  --gold-900: #7a5a15;
  --maroon-600: #7a3030;
  --maroon-700: #5c2323;
  --cream-050: #fbf8ef;
  --cream-100: #f1e9d2;
  --ink-900: #051510;

  --font-display: "Cinzel", "Georgia", serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-deep: 0 20px 60px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  color-adjust: exact;
}

html {
  scroll-behavior: smooth;
  background-color: var(--felt-800);
}

body {
  margin: 0;
  background-color: var(--felt-800);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, var(--felt-650) 0%, var(--felt-800) 45%, var(--felt-900) 100%);
  color: var(--cream-100);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Belt-and-braces: some export/print pipelines ignore backgrounds
   entirely unless "background graphics" is explicitly forced. */
@media print {
  html, body {
    background-color: var(--felt-800) !important;
  }
}

/* felt diamond texture, very subtle, repeats across sections */
.felt-texture {
  background-image:
    repeating-linear-gradient(45deg, rgba(240,197,60,0.035) 0, rgba(240,197,60,0.035) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(-45deg, rgba(240,197,60,0.035) 0, rgba(240,197,60,0.035) 1px, transparent 1px, transparent 42px);
}

a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-500); }

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(6,30,22,0.85);
  border-bottom: 1px solid rgba(240,197,60,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand span {
  font-family: var(--font-display);
  color: var(--gold-500);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
nav.links { display: flex; gap: 28px; }
nav.links a {
  color: var(--cream-100);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-cta {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  color: var(--ink-900) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(240,197,60,0.25);
}
.menu-btn { display: none; background: none; border: none; color: var(--gold-500); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero / Marquee ---------- */
.hero {
  position: relative;
  padding: 84px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 280px at 50% 18%, rgba(240,197,60,0.22), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow {
  font-family: var(--font-mono);
  color: var(--gold-400);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 26px;
  border-radius: 28px;
  box-shadow: var(--shadow-deep), 0 0 0 4px rgba(240,197,60,0.35), 0 0 60px rgba(240,197,60,0.25);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 6px;
  color: var(--gold-500);
  text-shadow: 0 2px 0 rgba(0,0,0,0.4);
}
.hero h1 .accent { color: var(--cream-050); }
.hero p.lede {
  max-width: 640px;
  margin: 18px auto 32px;
  font-size: 1.08rem;
  color: var(--cream-100);
  opacity: 0.92;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  color: var(--ink-900);
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(240,197,60,0.3);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-ghost {
  border: 1.5px solid rgba(240,197,60,0.5);
  color: var(--gold-400);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- Chip rail (signature element) ---------- */
.chip-rail {
  display: flex;
  justify-content: center;
  gap: -10px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.chip {
  width: 74px;
  height: 74px;
  margin-left: -14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream-050);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.25), transparent 45%),
    repeating-conic-gradient(var(--maroon-700) 0deg 30deg, var(--gold-700) 30deg 60deg);
  box-shadow: 0 8px 18px rgba(0,0,0,0.45), inset 0 0 0 5px var(--ink-900), inset 0 0 0 7px var(--gold-400);
  transition: transform 0.35s ease;
  cursor: default;
}
.chip:first-child { margin-left: 0; }
.chip:hover { transform: translateY(-8px) rotate(12deg); }

/* ---------- Sections ---------- */
section { padding: 72px 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .kicker {
  font-family: var(--font-mono);
  color: var(--gold-400);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--gold-500);
  margin: 10px 0 12px;
}
.section-head p { color: var(--cream-100); opacity: 0.85; }

.divider-suit {
  text-align: center;
  color: var(--gold-700);
  font-size: 1.4rem;
  letter-spacing: 1.2em;
  margin: 8px 0 0;
  opacity: 0.6;
}

/* Game category cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: linear-gradient(180deg, var(--felt-700), var(--felt-800));
  border: 1px solid rgba(240,197,60,0.18);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}
.card .glyph {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-400), var(--gold-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--ink-900);
}
.card h3 { font-family: var(--font-display); color: var(--gold-500); font-size: 1.05rem; margin: 0 0 8px; }
.card p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* Why-choose two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid rgba(240,197,60,0.12);
}
.feature-list .num {
  font-family: var(--font-mono);
  color: var(--gold-500);
  font-weight: 700;
  min-width: 28px;
}
.feature-list h4 { margin: 0 0 4px; color: var(--cream-050); font-size: 1rem; }
.feature-list p { margin: 0; font-size: 0.9rem; opacity: 0.8; }

.copy-block { color: var(--cream-100); opacity: 0.92; }
.copy-block p { margin: 0 0 16px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  background: rgba(240,197,60,0.05);
  border: 1px dashed rgba(240,197,60,0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.step .mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.step h4 { margin: 0 0 6px; color: var(--cream-050); }
.step p { font-size: 0.88rem; opacity: 0.82; margin: 0; }

/* Responsible gaming banner */
.responsible {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--maroon-600), var(--maroon-700));
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
  border: 1px solid rgba(240,197,60,0.25);
}
.responsible h3 { font-family: var(--font-display); color: var(--gold-400); margin: 0 0 10px; }
.responsible p { margin: 0; font-size: 0.92rem; opacity: 0.92; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details {
  background: rgba(240,197,60,0.05);
  border: 1px solid rgba(240,197,60,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold-400);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-500); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; opacity: 0.85; font-size: 0.94rem; }

/* Footer */
footer {
  border-top: 1px solid rgba(240,197,60,0.18);
  padding: 40px 24px 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}
footer .foot-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .chip, html { transition: none !important; scroll-behavior: auto; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav.links { display: none; }
  .menu-btn { display: block; }
  .grid-cards { grid-template-columns: 1fr; }
  .chip { width: 56px; height: 56px; font-size: 0.75rem; }
}
