/* YaarWin — shared styles (mobile-first). Theme: #04de7c harmonized with cream + deep forest. */
:root{
  --brand:#04de7c;
  --brand-deep:#04613d;
  --brand-dark:#04432a;
  --brand-soft:#c7f7e0;
  --mint-bg:#f0fbf5;
  --cream:#fdfaf0;
  --ink:#0a2e1e;
  --ink-soft:#4a5a50;
  --gold:#f5c547;
  --line:#d9e9df;
  --surface:#ffffff;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 6px 18px rgba(4,99,68,.08);
  --shadow-lg:0 12px 32px rgba(4,99,68,.14);
  --max:1120px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.65;color:var(--ink);
  background:var(--mint-bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand-deep);text-decoration:none}
a:hover{text-decoration:underline}
/* Inline content links must be distinguishable without color (WCAG). */
main p a,main li a,main dd a,main details a,.footer-note a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
main p a:hover,main li a:hover,main dd a:hover,main details a:hover,.footer-note a:hover{text-decoration-thickness:2px}
/* Focus indicator for keyboard users */
a:focus-visible,button:focus-visible,summary:focus-visible,.btn:focus-visible{
  outline:2px solid var(--brand-deep);outline-offset:3px;border-radius:6px;
}
h1,h2,h3,h4{font-family:inherit;line-height:1.25;color:var(--ink);margin:0 0 .6em}
h1{font-size:1.7rem;letter-spacing:-.01em}
h2{font-size:1.35rem;letter-spacing:-.005em;margin-top:1.6em}
h3{font-size:1.08rem;margin-top:1.4em}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.2em}
li{margin-bottom:.35em}

.container{max-width:var(--max);margin:0 auto;padding:0 16px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(253,250,240,.92);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;gap:8px;padding:10px 16px;max-width:var(--max);margin:0 auto}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);font-size:1.05rem}
.brand svg{flex-shrink:0}
.brand-tag{font-weight:500;color:var(--brand-deep)}
.nav-spacer{flex:1}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 18px;
  font-weight:600;border-radius:999px;border:0;cursor:pointer;
  font-size:.95rem;line-height:1;transition:transform .12s ease,box-shadow .15s ease,background .15s ease;
  text-decoration:none;
}
.btn-primary{background:var(--brand);color:var(--ink);box-shadow:0 2px 0 var(--brand-deep)}
.btn-primary:hover{background:#06f28a;text-decoration:none;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn-ghost:hover{background:var(--brand-soft);border-color:var(--brand);text-decoration:none}
.btn-sm{min-height:38px;padding:8px 14px;font-size:.88rem}
.btn-block{display:flex;width:100%}

/* Hero */
.hero{
  padding:28px 0 18px;
  background:
    radial-gradient(1100px 320px at 50% -80px, var(--brand-soft) 0%, transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--mint-bg) 100%);
  border-bottom:1px solid var(--line);
}
.hero-inner{display:flex;flex-direction:column;gap:16px}
.hero h1{font-size:clamp(1.55rem,6vw,2.4rem);margin:0}
.hero .lede{font-size:1.02rem;color:var(--ink-soft);margin:0}
.bonus-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:999px;
  background:#fff3c4;color:#7a5a00;
  font-weight:700;font-size:.85rem;border:1px solid #f1dc7a;
  width:fit-content;
}
.bonus-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(245,197,71,.25)}
.hero-ctas{display:flex;gap:10px;flex-wrap:wrap}
.hero-art{
  background:var(--surface);border-radius:var(--radius);
  border:1px solid var(--line);padding:16px;
  box-shadow:var(--shadow);
  aspect-ratio: 16 / 10; display:flex;align-items:center;justify-content:center;
}
.hero-art svg{width:100%;height:100%}

/* Sections */
section{padding:28px 0;border-bottom:1px solid var(--line)}
section:last-of-type{border-bottom:0}
.section-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:700;color:var(--brand-deep);margin-bottom:.3em;display:inline-block}

/* Info table (mobile: stacked dl) */
.info-table{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.info-table dl{margin:0;padding:0}
.info-table .row{display:contents}
.info-table dt,.info-table dd{margin:0;padding:12px 16px;border-bottom:1px solid var(--line)}
.info-table dt{font-weight:700;background:var(--mint-bg)}
.info-table dd{color:var(--ink-soft)}
.info-table .row:last-child dt,
.info-table .row:last-child dd{border-bottom:0}

/* Step cards */
.steps{display:grid;gap:12px;margin-top:12px}
.step{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px 16px;display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;
  box-shadow:var(--shadow);
}
.step-n{
  width:34px;height:34px;border-radius:50%;
  background:var(--brand);color:var(--ink);
  font-weight:800;display:flex;align-items:center;justify-content:center;font-size:.95rem;
  box-shadow:0 2px 0 var(--brand-deep);
}
.step h3{margin:0 0 4px;font-size:1rem}
.step p{margin:0;color:var(--ink-soft);font-size:.95rem}

/* Feature/game grid */
.grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px;box-shadow:var(--shadow);
}
.card h3{margin:6px 0 4px;font-size:1rem}
.card p{margin:0;color:var(--ink-soft);font-size:.9rem}
.card-icon{
  width:42px;height:42px;border-radius:12px;
  background:var(--brand-soft);color:var(--brand-dark);
  display:flex;align-items:center;justify-content:center;
}

/* Pay methods */
.pay-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.pay{
  padding:8px 14px;border-radius:999px;background:var(--surface);
  border:1px solid var(--line);font-weight:600;font-size:.85rem;color:var(--ink);
  display:inline-block;
}

/* Callout */
.callout{
  background:linear-gradient(135deg,var(--brand-soft) 0%,#fff7d9 100%);
  border:1px solid var(--line);border-radius:var(--radius);
  padding:18px;display:grid;gap:8px;
}
.callout h3{margin:0;font-size:1.05rem}
.callout p{margin:0;color:var(--ink)}

/* FAQ */
details{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:12px 14px;margin-bottom:8px;
}
details[open]{border-color:var(--brand)}
summary{
  cursor:pointer;font-weight:600;list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
summary::-webkit-details-marker{display:none}
summary::after{
  content:"+";font-weight:700;color:var(--brand-deep);font-size:1.25rem;line-height:1;
  transition:transform .2s ease;
}
details[open] summary::after{content:"−"}
details > p{margin:10px 0 0;color:var(--ink-soft)}

/* Breadcrumb */
.crumbs{font-size:.84rem;color:var(--ink-soft);padding:10px 0}
.crumbs a{color:var(--ink-soft)}
.crumbs span{color:var(--ink-soft);margin:0 6px}

/* Footer */
.site-footer{
  background:var(--ink);color:#cfe5da;
  padding:28px 0 64px;margin-top:10px;
}
.site-footer h3{color:#fff;margin:0 0 10px;font-size:.95rem;letter-spacing:.02em;font-weight:700}
.site-footer a{color:#cfe5da}
.site-footer a:hover{color:var(--brand)}
.footer-grid{display:grid;gap:22px;grid-template-columns:1fr}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.footer-links li{margin:0}
.footer-note{
  border-top:1px solid #1e4735;margin-top:18px;padding-top:14px;font-size:.82rem;color:#9bbfae
}
.age-badge{
  display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;
  background:#1e4735;color:var(--brand);font-weight:700;font-size:.78rem;border:1px solid #2a6049;
}

/* Sticky mobile CTA */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(253,250,240,.96);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-top:1px solid var(--line);
  display:flex;gap:8px;
}
.sticky-cta .btn{flex:1}

/* Utility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{
  position:absolute;top:0;left:8px;z-index:100;
  padding:10px 16px;background:var(--brand);color:var(--ink);
  font-weight:700;border-radius:0 0 8px 8px;text-decoration:none;
  transform:translateY(-120%);
  transition:transform .15s ease;
}
.skip-link:focus{transform:translateY(0);outline:2px solid var(--brand-deep);outline-offset:2px}
.mt-0{margin-top:0!important}
.inline-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:6px}
.inline-links a{font-size:.92rem;font-weight:600}

/* Tablet and up */
@media (min-width:720px){
  h1{font-size:2.1rem}
  h2{font-size:1.55rem}
  .hero-inner{flex-direction:row;align-items:center;gap:28px}
  .hero-inner > *{flex:1}
  .info-table dl{display:grid;grid-template-columns:220px 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .sticky-cta{display:none}
  body{padding-bottom:0}
}
@media (min-width:1024px){
  h1{font-size:2.4rem}
  .grid{grid-template-columns:repeat(4,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:719px){
  body{padding-bottom:72px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
