/* ============================================
   1win Review Landing Page (v5)
   Editorial navy/indigo + amber, readability-first
   ============================================ */

:root {
  --bg: #0c1226;
  --bg-alt: #121a33;
  --panel: #172142;
  --card: #1b264b;
  --indigo: #6d8bff;
  --indigo-2: #4d68e0;
  --amber: #ffbf47;
  --amber-2: #f5a623;
  --green: #3ecf8e;
  --red: #ff6b6b;
  --text: #eef2ff;
  --muted: #a6b2d8;
  --border: #2a3766;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  --max: 1080px;
  --measure: 70ch;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.72; font-size: 17px; -webkit-font-smoothing: antialiased; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: #1a1405; padding: 10px 16px; z-index: 300; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 5.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.15rem); margin-bottom: 10px; }
h3 { font-size: 1.14rem; color: #fff; margin-bottom: 6px; }
p { margin-bottom: 14px; max-width: var(--measure); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: var(--measure); margin-bottom: 22px; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 800; font-size: 1rem; padding: 13px 24px; border-radius: 999px; cursor: pointer; text-align: center; transition: transform .12s ease, box-shadow .2s ease, filter .2s ease; border: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-xl { padding: 18px 40px; font-size: 1.15rem; }
.btn-primary { background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); color: #061024; box-shadow: 0 10px 26px rgba(109,139,255,.32); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-gold { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #1a1405; box-shadow: 0 10px 26px rgba(255,191,71,.3); }
.btn-outline { background: transparent; border-color: var(--indigo); color: var(--indigo); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }

/* ---------- Offer bar ---------- */
.offer-bar { background: linear-gradient(90deg, var(--amber), var(--amber-2)); color: #1a1405; text-align: center; font-size: .95rem; padding: 9px 16px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.offer-link { color: #1a1405; font-weight: 800; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(12,18,38,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: 1.5rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #1a1405; width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 900; }
.brand-text { color: var(--amber); }
.brand-tag { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #061024; background: var(--indigo); border-radius: 6px; padding: 3px 7px; margin-left: 4px; }
.nav { display: flex; align-items: center; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { list-style: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px 18px; gap: 4px; display: none; }
.nav-menu.open { display: flex; }
.nav-menu li { width: 100%; }
.nav-menu a { display: block; padding: 12px 6px; color: var(--text); font-weight: 600; border-radius: 8px; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(109,139,255,.16); color: var(--indigo); text-decoration: none; }
.nav-menu .nav-cta { color: #061024; margin-top: 6px; text-align: center; }
.nav-menu .nav-cta:hover { color: #061024; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 480px at 85% -10%, rgba(109,139,255,.24), transparent 60%), radial-gradient(760px 360px at 0% 10%, rgba(255,191,71,.12), transparent 55%), var(--bg); padding: 46px 0 40px; border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); background: rgba(255,191,71,.1); border: 1px solid rgba(255,191,71,.34); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { margin-bottom: 14px; max-width: 20ch; }
.hero .lede { color: var(--muted); font-size: 1.14rem; max-width: var(--measure); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-cta.center { justify-content: center; }

/* ---------- Byline (E-E-A-T) ---------- */
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-top: 26px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); color: #061024; display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.byline-meta { flex: 1; min-width: 200px; }
.byline-name { margin: 0; font-size: .98rem; }
.byline-sub { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.score { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 14px; }
.score-num { font-size: 1.6rem; font-weight: 900; color: var(--amber); }
.score-max { color: var(--muted); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Verdict ---------- */
.verdict-grid { display: grid; gap: 18px; margin-bottom: 24px; }
.verdict-box { background: linear-gradient(160deg, var(--card), var(--panel)); border: 1px solid var(--border); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.verdict-box h3 { color: var(--amber); }
.verdict-box p { max-width: none; }
.ratings { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.rating-list { list-style: none; }
.rating-list li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rating-list li:last-child { border-bottom: 0; }
.rating-list li > span:first-child { color: var(--muted); font-size: .92rem; }
.rating-list b { color: var(--amber); }
.rating-list .bar { position: relative; height: 8px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.rating-list .bar::before { content: ""; position: absolute; inset: 0; width: var(--v); background: linear-gradient(90deg, var(--indigo), var(--amber)); border-radius: 999px; }

/* ---------- Pros / Cons ---------- */
.proscons { display: grid; gap: 16px; }
.pros, .cons { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pros { background: linear-gradient(160deg, rgba(62,207,142,.1), var(--card)); border-left: 5px solid var(--green); }
.cons { background: linear-gradient(160deg, rgba(255,107,107,.1), var(--card)); border-left: 5px solid var(--red); }
.tick-list, .cross-list { list-style: none; }
.tick-list li, .cross-list li { position: relative; padding: 8px 0 8px 30px; color: var(--muted); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 900; }
.cross-list li::before { content: "✕"; position: absolute; left: 0; top: 8px; color: var(--red); font-weight: 900; }

/* ---------- How we tested / method ---------- */
.method-grid { display: grid; gap: 16px; margin-top: 18px; }
.method { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.method span { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.method h3 { color: var(--amber); margin-bottom: 2px; }
.method p { color: var(--muted); margin: 0; font-size: .92rem; max-width: none; }

/* ---------- Listicles ---------- */
.listicle { margin: 8px 0; padding-left: 0; list-style: none; counter-reset: item; max-width: var(--measure); }
.listicle li { position: relative; padding: 13px 14px 13px 56px; margin-bottom: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; color: var(--muted); }
.listicle li strong { color: #fff; }
.listicle li::before { counter-increment: item; content: counter(item); position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); color: #061024; display: grid; place-items: center; font-weight: 800; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 16px; display: grid; gap: 12px; max-width: var(--measure); }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 16px; margin: 0; max-width: none; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; padding: 54px 0; background: radial-gradient(680px 300px at 50% 0%, rgba(255,191,71,.16), transparent 60%), var(--bg-alt); border-top: 1px solid var(--border); }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 18px; }
.cta-band .fineprint { font-size: .85rem; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #080d1c; border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand { margin-bottom: 10px; display: inline-flex; align-items: center; gap: 4px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--indigo); }
.muted { color: var(--muted); font-size: .92rem; }
.footer-bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.age-badge { background: #c0392b; color: #fff; font-weight: 800; border-radius: 8px; padding: 4px 10px; margin: 0; font-size: .9rem; flex-shrink: 0; }
.fineprint { color: var(--muted); font-size: .85rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 16px; bottom: 84px; z-index: 95; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--indigo); color: #061024; font-size: 1.3rem; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); transition: opacity .2s, transform .12s; }
.to-top:hover { transform: translateY(-2px); }
.to-top[hidden] { display: none; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,13,28,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
.sticky-cta .btn { flex: 1; padding: 12px; font-size: .95rem; }
body { padding-bottom: 74px; }

/* ============================================
   Tablet / Desktop
   ============================================ */
@media (min-width: 720px) {
  .verdict-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .proscons { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; flex-direction: row; align-items: center; background: transparent; border: 0; padding: 0; gap: 6px; }
  .nav-menu li { width: auto; }
  .nav-menu a { padding: 9px 13px; }
  .nav-menu .nav-cta { margin-top: 0; margin-left: 8px; }
  .sticky-cta { display: none; }
  .to-top { bottom: 24px; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ============================================
   v5 image / media styles (responsive, no overflow)
   ============================================ */
figure { margin: 0; min-width: 0; }
img { max-width: 100%; height: auto; }

.media { margin: 26px auto 0; max-width: 760px; }
.media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Hero image sits full-width under the intro, capped for readability */
.hero-media { max-width: 900px; margin-top: 28px; }

/* App/login screenshot is tall — cap it and centre so it never dominates */
.media-shot { max-width: 340px; }
.media-shot img { background: #0c1226; }

/* Allow flex/grid children to shrink so images never blow out columns */
.verdict-grid, .proscons { min-width: 0; }
.verdict-grid > *, .proscons > * { min-width: 0; }


/* ============================================
   v5 landing-page components (added for official landing rebuild)
   ============================================ */

/* Extra buttons */
.btn-gold { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #1a1405; box-shadow: 0 10px 26px rgba(255,191,71,.3); }
.btn-xl { padding: 18px 40px; font-size: 1.15rem; }
.center-cta { text-align: center; margin-top: 26px; }

/* Step cards (Join / How-to) */
.steps-grid { display: grid; gap: 16px; margin-top: 8px; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-card span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); color: #061024; font-weight: 900; font-size: 1.2rem; margin-bottom: 12px; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--muted); margin-bottom: 0; max-width: none; }

/* Split (app deep dive) */
.split { display: grid; gap: 24px; align-items: center; }
.split p { max-width: none; }

/* Game grid */
.game-grid { display: grid; gap: 16px; margin-top: 18px; }
.game-shot { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.game-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.game-shot figcaption { color: var(--muted); font-size: .92rem; padding: 12px 16px; }

/* Table */
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border-radius: 12px; border: 1px solid var(--border); max-width: var(--measure); }
table { width: 100%; border-collapse: collapse; min-width: 380px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
th { background: var(--panel); color: #fff; font-size: .95rem; }
td { color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }

/* Images — responsive, never overflow */
figure { margin: 0; min-width: 0; }
img { max-width: 100%; height: auto; }
.media { margin: 26px auto 0; max-width: 760px; }
.media img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-media { max-width: 900px; margin-top: 28px; }
.media-shot { max-width: 340px; }
.media-shot img { background: #0c1226; }
.split { min-width: 0; }
.split > * { min-width: 0; }

/* Desktop grids for the new components */
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.2fr 1fr; }
}


/* ---------- Breadcrumb (keyword-rich) ---------- */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 0; margin: 0; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--border); margin-left: 4px; }
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--indigo); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--amber); font-weight: 700; }