/* ============================================
   1win Login Landing Page (v3)
   Royal purple + gold, login-first, mobile-first
   ============================================ */

:root {
  --bg: #150a24;
  --bg-alt: #1c1030;
  --panel: #241539;
  --card: #2a1943;
  --gold: #ffcf5c;
  --gold-2: #f5b53a;
  --purple: #8b5cf6;
  --purple-2: #6d3fe0;
  --text: #f3ecff;
  --muted: #b7a6d4;
  --border: #3a2a58;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --max: 1140px;
  --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.6; 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: #201704; 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.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 4.8vw, 2.4rem); }
h3 { font-size: 1.12rem; color: #fff; }
p { margin-bottom: 12px; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; }
em { color: var(--gold); font-style: normal; }

/* ---------- 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-block { display: block; width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 10px 26px rgba(139,92,246,.38); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #201704; box-shadow: 0 10px 26px rgba(255,207,92,.32); }
.btn-outline { background: transparent; border-color: var(--purple); color: #cbb6ff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.24); }

.center-cta { text-align: center; margin-top: 30px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin-bottom: 26px; }
.section-lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Offer bar ---------- */
.offer-bar { background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #201704; 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: #201704; font-weight: 800; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(21,10,36,.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(--gold), var(--gold-2)); color: #201704; width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; 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, .nav-menu a.active { background: rgba(139,92,246,.16); color: #cbb6ff; text-decoration: none; }
.nav-menu .nav-cta { color: #fff; margin-top: 6px; text-align: center; }
.nav-menu .nav-cta:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 480px at 88% -10%, rgba(139,92,246,.3), transparent 60%), radial-gradient(800px 380px at 0% 10%, rgba(255,207,92,.14), transparent 55%), var(--bg); padding: 48px 0 44px; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; gap: 30px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #cbb6ff; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.4); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { margin-bottom: 14px; }
.hero .lede { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-cta.center { justify-content: center; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Login card ---------- */
.login-card { background: linear-gradient(160deg, var(--card), var(--panel)); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.login-card-title { font-size: 1.4rem; margin-bottom: 16px; text-align: center; }
.login-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.login-form input[type="text"], .login-form input[type="password"] { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,.25); color: var(--text); font-size: 1rem; }
.login-form input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.login-row { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 18px; font-size: .9rem; }
.remember { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.forgot { font-weight: 600; }
.login-alt { text-align: center; margin: 14px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Provider strip ---------- */
.strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 16px 0; color: var(--muted); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { margin-bottom: 6px; }

/* ---------- Step cards (login) ---------- */
.steps-grid { display: grid; gap: 16px; }
.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: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; 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; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-ico { font-size: 1.9rem; margin-bottom: 8px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin-bottom: 0; }

/* ---------- Split (app / reset) ---------- */
.split { display: grid; gap: 22px; }
.tick-list { list-style: none; margin: 4px 0 22px; }
.tick-list li { position: relative; padding: 9px 0 9px 32px; color: var(--muted); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--gold); font-weight: 900; font-size: 1.05rem; }
.split-list h3 { margin-bottom: 10px; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.split-steps { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.split-steps h3 { margin-bottom: 14px; }
.steps-3 { list-style: none; display: grid; gap: 12px; }
.steps-3 li { display: flex; gap: 14px; align-items: flex-start; }
.steps-3 span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; display: grid; place-items: center; font-weight: 900; }
.steps-3 p { color: var(--muted); margin: 4px 0 0; }
.fineprint { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ---------- Game cards ---------- */
.game-grid { display: grid; gap: 16px; }
.game-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; color: #fff; overflow: hidden; box-shadow: var(--shadow); min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.game-card h3 { margin-bottom: 6px; }
.game-card p { color: rgba(255,255,255,.85); margin-bottom: 0; font-size: .95rem; }
.game-tag { position: absolute; top: 16px; left: 22px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 999px; }
.game-card.slots  { background: linear-gradient(150deg, #3a1a5e, #6d3fe0); }
.game-card.live   { background: linear-gradient(150deg, #4a1440, #a01f7a); }
.game-card.sports { background: linear-gradient(150deg, #1a2a5e, #3f5fe0); }
.game-card.crash  { background: linear-gradient(150deg, #4a2418, #b0521f); }

/* ---------- Social proof ---------- */
.quote-grid { display: grid; gap: 16px; margin-bottom: 26px; }
.quote { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.quote blockquote { color: var(--text); font-size: 1.02rem; margin-bottom: 12px; }
.quote figcaption { color: var(--gold); font-weight: 700; font-size: .9rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-row span { background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; color: var(--muted); font-size: .88rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { margin-top: 16px; display: grid; gap: 12px; max-width: 780px; }
.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: #cbb6ff; 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; }

/* ---------- SEO content ---------- */
.seo-content h3 { margin: 24px 0 8px; font-size: 1.18rem; }
.seo-content p { color: var(--muted); max-width: 72ch; }
.seo-content h2 { margin-bottom: 4px; }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; padding: 56px 0; background: radial-gradient(680px 300px at 50% 0%, rgba(255,207,92,.16), transparent 60%), var(--bg-alt); border-top: 1px solid var(--border); }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0619; 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; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #cbb6ff; }
.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; }

/* ---------- 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(--purple); color: #fff; 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(15,6,25,.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: 680px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .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; }
}
