:root {
  --bg: #f6f8f5; --surface: #ffffff; --surface-2: #e9efe9; --line: rgba(10,40,20,.12);
  --ink: #0f1a14; --muted: #536459; --brand: #0A7E21; --green-ink: #0b6e2c; --yellow: #f5c400;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  color-scheme: light;
  accent-color: var(--brand);
  scrollbar-color: var(--brand) var(--surface-2);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); caret-color: var(--brand); }
::selection { background: var(--brand); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: 0; line-height: .95; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.1rem; font-weight: 650; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-weight: 650; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.btn-y { background: var(--yellow); color: #111; }
.btn-y:hover { background: #ffd52e; }
.btn-y:active { background: #e3b500; }
.btn-ghost { border-color: rgba(10,40,20,.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: var(--brand); box-shadow: 0 1px 0 rgba(0,0,0,.12), 0 4px 16px -6px rgba(0,0,0,.25); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.top a:focus-visible, .top summary:focus-visible { outline-color: #fff; }
.logo img { height: 20px; width: auto; }
.desk { display: flex; gap: 2px; flex: 1; }
.desk a { padding: 8px 10px; border-radius: 6px; color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; text-decoration: none; }
.desk a:hover { color: #fff; background: rgba(255,255,255,.12); }
.desk a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 0; }
.auth { display: flex; gap: 8px; margin-left: auto; }
.top .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.top .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.mnav { display: none; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; display: grid; place-content: center; gap: 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.mnav nav { position: absolute; left: 0; right: 0; top: 68px; background: #fff; box-shadow: 0 12px 24px -12px rgba(10,40,20,.3); padding: 4px 20px 16px; display: grid; }
.mnav nav a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.mnav nav a[aria-current] { color: var(--green-ink); font-weight: 650; }

/* hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); padding: 64px 0; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-bottom: 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 18px; font-size: .88rem; color: var(--muted); max-width: 42em; }
.crumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

/* bonus ticket */
.ticket { position: relative; border-radius: 18px; overflow: hidden; background: #0e2117; color: #eef5ef; box-shadow: 0 24px 48px -20px rgba(10,40,20,.5); max-width: 420px; width: 100%; justify-self: end; }
.ticket-top { position: relative; padding: 30px 28px 24px; border-bottom: 2px dashed rgba(255,255,255,.22); }
.ticket-top::before, .ticket-top::after { content: ""; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.ticket-top::before { left: -13px; } .ticket-top::after { right: -13px; }
.ticket-big { display: block; font-weight: 800; font-stretch: 62%; font-size: clamp(5.2rem, 9vw, 6rem); line-height: .85; color: var(--yellow); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.ticket-sub { font-weight: 500; color: #d9e6dc; }
.ticket-bottom { padding: 22px 28px 26px; }
.ticket ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; color: #c3d4c8; font-size: .95rem; }
.ticket li { display: flex; align-items: center; gap: 10px; }
.ticket li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: #4ade80; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.ticket small { display: block; text-align: center; margin-top: 12px; color: #9fb3a6; font-size: .78rem; }

/* sections */
.sec { padding: 80px 0 0; }
.sec-head { margin-bottom: 28px; }

/* ruled rows (feature lists) */
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 12px 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.2rem; }
.row p { color: var(--muted); max-width: 62ch; }
.row p a { color: var(--green-ink); font-weight: 500; }

/* game tiles */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.cat { position: relative; overflow: hidden; border-radius: 14px; text-decoration: none; background: var(--surface-2); }
.cat:first-child { grid-column: span 2; grid-row: span 2; }
.cat picture, .cat img { width: 100%; height: 100%; }
.cat img { object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,14,8,.88)); }
.cat-txt { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: grid; color: #fff; }
.cat-txt b { font-size: 1.7rem; font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 1; }
.cat:first-child .cat-txt b { font-size: 2.6rem; }
.cat-txt small { color: rgba(255,255,255,.8); font-size: .86rem; }
.cat-go { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; transition: transform .3s var(--ease); }
.cat:hover .cat-go { transform: translateX(3px); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 2px solid var(--ink); }
.steps li { position: relative; padding-top: 24px; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-weight: 800; font-stretch: 62%; font-size: 3rem; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
.faq-head p { color: var(--muted); margin-top: 16px; }
.faq-head a { color: var(--green-ink); font-weight: 500; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green-ink); }
.faq-list summary::after { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: var(--brand); -webkit-mask: var(--plus) center / contain no-repeat; mask: var(--plus) center / contain no-repeat; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 65ch; }

/* app */
.app { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; padding: 40px 48px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.app h2 { margin-bottom: 14px; }
.app p { color: var(--muted); margin-bottom: 26px; max-width: 34em; }
.app img { max-width: 300px; margin: 0 auto; }

/* cta band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: 18px; background: var(--brand); color: #fff; }
.band p { color: rgba(255,255,255,.88); margin-top: 10px; }
.band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.band .btn-ghost:hover { border-color: #fff; }
.band a:focus-visible { outline-color: #fff; }

/* footer */
.foot { margin-top: 80px; background: #07110c; padding: 56px 0 28px; color: #a4b7aa; font-size: .92rem; --line: rgba(255,255,255,.1); }
.foot ::selection { background: var(--yellow); color: #111; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }
.foot h3 { color: #eef5ef; font-size: .95rem; margin-bottom: 14px; }
.foot-grid > div > h3 + .pay { margin-bottom: 28px; }
.foot .logo { display: inline-block; margin-bottom: 16px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a, .social a { text-decoration: none; }
.foot nav a:hover, .social a:hover { color: #fff; text-decoration: underline; }
.age { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.age img { filter: invert(1); opacity: .8; }
.pay { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.pay img { height: 26px; width: auto; opacity: .8; }
.copy { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .82rem; }

/* mobile bottom bar */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(10,40,20,.3); grid-template-columns: 1fr 1fr; }

@media (max-width: 1080px) {
  .desk { display: none; }
  .mnav { display: block; }
}
@media (max-width: 860px) {
  .hero { padding: 40px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ticket { justify-self: start; }
  .row { grid-template-columns: 1fr; padding: 20px 0; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .cat:first-child { grid-row: span 1; }
  .cat:first-child .cat-txt b { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .steps li::before { grid-row: span 2; font-size: 2.4rem; margin: 0; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .app { grid-template-columns: 1fr; padding: 32px 24px; }
  .band { padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec { padding-top: 60px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .auth { display: none; }
  .mnav { margin-left: auto; }
  .mbar { display: grid; }
  body { padding-bottom: 76px; }
  .cat-txt b { font-size: 1.3rem; }
  .cat-txt small { display: none; }
  .cat-go { width: 30px; height: 30px; }
  .btns .btn, .band-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
