/* ============================================
   Official 1win Landing Page (v4)
   Trust-forward teal/blue + verified green, mobile-first
   ============================================ */

:root {
  --bg: #07161c;
  --bg-alt: #0b1f27;
  --panel: #0f2a34;
  --card: #123240;
  --teal: #22b8cf;
  --teal-2: #1596ab;
  --green: #2fbf71;
  --green-2: #1f9d5a;
  --gold: #ffd166;
  --gold-2: #f5b53a;
  --red: #e8604c;
  --text: #eafcff;
  --muted: #9fc3cd;
  --border: #1e414d;
  --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(--teal); 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(--teal), var(--teal-2)); color: #04161b; box-shadow: 0 10px 26px rgba(34,184,207,.34); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #201704; box-shadow: 0 10px 26px rgba(255,209,102,.32); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.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: 660px; margin-bottom: 26px; }
.section-lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Official offer bar ---------- */
.offer-bar { background: linear-gradient(90deg, var(--green), var(--green-2)); color: #04160c; 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: #04160c; font-weight: 800; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,22,28,.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(--teal), var(--teal-2)); color: #04161b; width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 900; }
.brand-text { color: var(--teal); }
.brand-tag { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #04160c; background: var(--green); 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(34,184,207,.16); color: var(--teal); text-decoration: none; }
.nav-menu .nav-cta { color: #04161b; margin-top: 6px; text-align: center; }
.nav-menu .nav-cta:hover { color: #04161b; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 480px at 88% -10%, rgba(34,184,207,.28), transparent 60%), radial-gradient(800px 380px at 0% 10%, rgba(47,191,113,.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: .04em; text-transform: uppercase; color: var(--green); background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.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; }

/* ---------- Verify card ---------- */
.verify-card { background: linear-gradient(160deg, var(--card), var(--panel)); border: 1px solid var(--border); border-left: 5px solid var(--green); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.verify-card-title { font-size: 1.3rem; margin-bottom: 16px; color: var(--green); }
.verify-list { list-style: none; margin-bottom: 18px; }
.verify-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--text); }
.verify-list .tick { color: var(--green); font-weight: 900; flex-shrink: 0; }
.verify-note { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }

/* ---------- 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 ---------- */
.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(--teal), var(--teal-2)); color: #04161b; 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; }

/* ---------- Compare (official vs fake) ---------- */
.compare { display: grid; gap: 16px; }
.compare-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.compare-col h3 { margin-bottom: 12px; font-size: 1.2rem; }
.compare-col.good { background: linear-gradient(160deg, rgba(47,191,113,.12), var(--card)); border-left: 5px solid var(--green); }
.compare-col.good h3 { color: var(--green); }
.compare-col.bad { background: linear-gradient(160deg, rgba(232,96,76,.1), var(--card)); border-left: 5px solid var(--red); }
.compare-col.bad h3 { color: var(--red); }
.tick-list, .cross-list { list-style: none; }
.tick-list li, .cross-list li { position: relative; padding: 9px 0 9px 30px; color: var(--muted); }
.tick-list li::before { content: "✔"; position: absolute; left: 0; top: 9px; color: var(--green); font-weight: 900; }
.cross-list li::before { content: "✘"; position: absolute; left: 0; top: 9px; color: var(--red); font-weight: 900; }

/* ---------- Callout ---------- */
.callout { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 22px 0; max-width: 760px; }
.callout.warn { border-left: 4px solid var(--red); background: linear-gradient(135deg, rgba(232,96,76,.12), rgba(0,0,0,0)); }
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--muted); margin-bottom: 0; }

/* ---------- Split (app) ---------- */
.split { display: grid; gap: 22px; }
.split-list { }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.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(--teal), var(--teal-2)); color: #04161b; 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, #123a4a, #1f7f8f); }
.game-card.live   { background: linear-gradient(150deg, #14402f, #1f9d5a); }
.game-card.sports { background: linear-gradient(150deg, #123050, #2f5fb0); }
.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: 800px; }
.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(--teal); 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: 74ch; }
.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(47,191,113,.16), transparent 60%), var(--bg-alt); border-top: 1px solid var(--border); }
.cta-band p { color: var(--muted); max-width: 58ch; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #050f13; 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(--teal); }
.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(--teal); color: #04161b; 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(5,15,19,.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); }
  .compare { grid-template-columns: 1fr 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); }
  .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; }
}


/* ============================================
   v4 image / media styles (fixed responsive layout)
   ============================================ */

figure { margin: 0; min-width: 0; }

/* Global safety: every image is fluid and never overflows its box */
img { max-width: 100%; height: auto; }

/* All content images render as fluid blocks */
.hero-media img,
.media-wide img,
.media-shot img,
.game-shot img,
.badge-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Hero media */
.hero-media { margin: 0; min-width: 0; }
.hero-media img { box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Wide banner (security) */
.media-wide { margin: 26px auto 0; }
.media-wide img { border: 1px solid var(--border); box-shadow: var(--shadow); }

/* App / login screenshot — cap width so the tall image doesn't dominate */
.media-shot { min-width: 0; text-align: center; }
.media-shot img {
  max-width: 360px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0b1f27;
}

/* Game tiles with captions */
.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 { border-radius: 0; }
.game-shot figcaption { color: var(--muted); font-size: .92rem; padding: 12px 16px; }

/* Verified badge in trust section */
.trust-lead { display: grid; gap: 22px; align-items: center; margin-bottom: 26px; }
.badge-media { width: 100%; max-width: 200px; margin: 0 auto; }
.badge-media img { box-shadow: none; }
.trust-lead p { color: var(--muted); }

/* Two-column responsible-gaming grid */
.grid-2 { display: grid; gap: 22px; margin: 8px 0 4px; }
.grid-2 > div { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.grid-2 h3 { margin-top: 0; }

/* Ensure split/grid children can shrink (prevents image overflow in grid) */
.split { min-width: 0; }
.split > * { min-width: 0; }

/* Tablet+: badge sits beside its text */
@media (min-width: 720px) {
  .trust-lead { grid-template-columns: 200px 1fr; }
}

/* Desktop: two-column responsible grid + centred login split */
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  #login .split { align-items: center; }
  .media-shot img { max-width: 320px; }
}