/* ============================================
   1win Landing Page — Mobile-first CSS
   ============================================ */

:root {
  --bg: #0b1020;
  --bg-alt: #111830;
  --panel: #161e3a;
  --card: #1b2547;
  --gold: #ffc542;
  --gold-2: #ffb01f;
  --blue: #2f6bff;
  --blue-2: #1e4fd6;
  --text: #eaf0ff;
  --muted: #9aa8cf;
  --border: #263258;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --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: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  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(--gold); color: #111; padding: 10px 16px;
  z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin: 22px 0 10px; }
p { margin-bottom: 14px; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  text-align: center; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #14110a; box-shadow: 0 8px 20px rgba(255,181,31,.25); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,16,32,.9); 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; font-weight: 900; font-size: 1.5rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #14110a; width: 34px; height: 34px; border-radius: 9px;
  display: inline-grid; place-items: center; margin-right: 4px; font-weight: 900;
}
.brand-text { color: var(--gold); }

.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 { background: rgba(255,255,255,.05); text-decoration: none; }
.nav-cta { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47,107,255,.25), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(255,181,31,.14), transparent 55%),
    var(--bg);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(255,181,31,.1); border: 1px solid rgba(255,181,31,.3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { margin-bottom: 16px; }
.hero .lede { color: var(--muted); font-size: 1.12rem; max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px;
}
.trust-row li {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px; font-size: .95rem; color: var(--muted);
}
.trust-row strong { color: var(--gold); display: block; font-size: 1.25rem; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { color: var(--muted); max-width: 760px; margin-bottom: 8px; }

/* ---------- Cards ---------- */
.cards-2, .cards-3 { display: grid; gap: 16px; margin-top: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 14px; }
.card .btn { margin-top: 4px; }

/* ---------- Listicles ---------- */
.listicle { margin: 8px 0 8px 0; padding-left: 0; list-style: none; counter-reset: item; }
.listicle li {
  position: relative; padding: 12px 12px 12px 52px; margin-bottom: 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; color: var(--muted);
}
.listicle li::before {
  counter-increment: item; content: counter(item);
  position: absolute; left: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #14110a;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 8px; }
.checklist li { position: relative; padding: 8px 0 8px 30px; color: var(--muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--gold); font-weight: 900;
}

/* ---------- Callout ---------- */
.callout {
  background: linear-gradient(135deg, rgba(47,107,255,.12), rgba(255,181,31,.08));
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 18px 20px; margin: 22px 0;
}
.callout h3 { margin-top: 0; }
.callout p { color: var(--muted); margin-bottom: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 420px; }
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); }

/* ---------- FAQ ---------- */
.faq { margin-top: 18px; display: grid; gap: 12px; }
.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(--gold); 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; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 50px 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(47,107,255,.22), transparent 60%), var(--bg-alt);
  border-top: 1px solid var(--border);
}
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 18px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #070b18; border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand { margin-bottom: 10px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 10px; color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.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;
}

/* ---------- 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(7,11,24,.95); 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) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(3, 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: 8px 12px; }
  .nav-cta { margin-top: 0; margin-left: 6px; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

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