/* =========================================================================
   SpinSlots — marketing + legal site styles (landing, terms, privacy, support)
   ========================================================================= */
:root {
  --bg: #0B0E1A; --bg2: #11152A;
  --surface: rgba(255,255,255,0.045); --surface-2: rgba(255,255,255,0.07);
  --stroke: rgba(255,255,255,0.08); --stroke-2: rgba(255,255,255,0.14);
  --violet: #8D68F7; --violet-d: #6E4BE0; --green: #34D399; --amber: #F5B544; --rose: #FB7185;
  --text: #F4F5FB; --muted: #9AA0B8; --muted-2: #6E7591;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 18px 40px rgba(0,0,0,0.45);
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 760px at 50% -10%, rgba(141,104,247,0.22), transparent 60%),
    radial-gradient(1000px 700px at 92% 8%, rgba(52,211,153,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; line-height: 1.55;
}
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- header / footer ---- */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(140%) blur(12px);
  background: rgba(11,14,26,0.6); border-bottom: 1px solid var(--stroke); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-dot { width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--violet), var(--green), var(--amber), var(--rose), var(--violet));
  box-shadow: 0 0 14px rgba(141,104,247,0.6); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 16px; padding: 13px 20px; cursor: pointer; border: none; transition: transform .12s ease, filter .2s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--violet-d)); color: #fff; box-shadow: 0 12px 26px rgba(141,104,247,0.42); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--stroke-2); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

.site-footer { border-top: 1px solid var(--stroke); margin-top: 80px; padding: 40px 0; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-weight: 600; font-size: 14px; }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.site-footer .copy { font-size: 14px; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--stroke); color: var(--muted); font-weight: 650; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -1px; margin: 0 0 18px; font-weight: 850; }
.hero h1 .grad { background: linear-gradient(120deg, var(--violet), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--muted-2); font-size: 14px; }

/* hero visual (phone with wheel) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300/610; border-radius: 42px;
  background: linear-gradient(180deg, #141833, #0d1022); border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0b0e1a; border-radius: 14px; }
.phone .pad { height: 30px; }
.wheel-vis { width: 210px; height: 210px; border-radius: 50%; position: relative;
  background: conic-gradient(#8D68F7 0 45deg,#34D399 45deg 90deg,#5B8DEF 90deg 135deg,#F5B544 135deg 180deg,#F472B6 180deg 225deg,#2DD4BF 225deg 270deg,#818CF8 270deg 315deg,#FB7185 315deg 360deg);
  box-shadow: 0 16px 30px rgba(0,0,0,.5), inset 0 0 0 6px rgba(255,255,255,.10); }
.wheel-vis::after { content: "Spin"; position: absolute; inset: 35%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1a1f3a, #0d1022);
  box-shadow: inset 0 0 0 4px rgba(141,104,247,0.85); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.wheel-pin { position: absolute; top: 78px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 20px solid #F4F5FB; z-index: 2; }
.phone .cta-pill { width: 80%; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--violet), var(--violet-d)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.phone .stats { width: 80%; display: flex; gap: 8px; }
.phone .stats .s { flex: 1; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; padding: 8px 4px; text-align: center; }
.phone .stats .s b { display: block; font-size: 18px; background: linear-gradient(135deg, var(--violet), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.phone .stats .s span { font-size: 10px; color: var(--muted); }

/* ---- sections ---- */
section.block { padding: 56px 0; }
.section-title { font-size: 32px; font-weight: 820; letter-spacing: -0.5px; margin: 0 0 8px; text-align: center; }
.section-sub { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 560px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(160deg, rgba(141,104,247,0.28), rgba(52,211,153,0.14)); border: 1px solid var(--stroke-2); margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 750; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 24px; position: relative; }
.step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-d)); margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; } .step p { margin: 0; color: var(--muted); font-size: 15px; }

.cta-band { text-align: center; background: linear-gradient(160deg, rgba(141,104,247,0.18), rgba(52,211,153,0.10));
  border: 1px solid var(--stroke-2); border-radius: var(--radius); padding: 48px 24px; }
.cta-band h2 { font-size: 30px; margin: 0 0 10px; font-weight: 820; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

/* ---- legal / doc pages ---- */
.doc { padding: 56px 0; max-width: 760px; }
.doc h1 { font-size: 38px; font-weight: 840; letter-spacing: -0.6px; margin: 0 0 6px; }
.doc .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; font-weight: 750; }
.doc p, .doc li { color: #cfd3e6; font-size: 16px; }
.doc ul { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc .card { margin-top: 10px; }
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: -1; }
  .nav .nav-links { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
}
