/* Jovlix marketing site (jovlix.com; staging.jovlix.com). Same brand as the app:
   night navy, cyan → purple, Poppins italic display. */
:root {
  --bg: #0b1026; --bg-2: #0a1634; --card: rgba(22, 30, 82, .62); --line: rgba(140, 160, 255, .18);
  --ink: #eef2ff; --ink-soft: #a7b1d8; --cyan: #22d3ee; --purple: #a855f7; --gold: #fbbf24;
  --grad: linear-gradient(90deg, #22d3ee 0%, #6d8cf8 50%, #c44cfe 100%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Poppins", var(--font);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, .16), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(11, 16, 38, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 8px 14px; min-height: 0; font-size: .875rem; }
.nav .btn-primary, .nav .btn-primary:hover { color: #071029; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* ---- buttons + store badges ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 1px solid transparent; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #071029; }
.btn-quiet { background: rgba(140, 160, 255, .1); color: var(--ink); border-color: var(--line); }
.btn:hover { filter: brightness(1.08); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge img { height: 52px; width: auto; }
.store-soon { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px dashed rgba(140, 160, 255, .45); color: var(--ink-soft); font-weight: 700; font-size: .9375rem; }
.store-soon svg { width: 22px; height: 22px; flex: none; }
.cta-note { color: var(--ink-soft); font-size: .875rem; margin-top: 10px; }

/* ---- hero ---- */
.hero { padding: 56px 0 40px; overflow-x: clip; }
.hero-art { max-width: 100%; }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }
.kicker { color: var(--cyan); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 10px 0 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-soft); font-size: 1.125rem; max-width: 34em; margin-bottom: 24px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.orbit { position: absolute; inset: 6% 10%; border-radius: 50%; border: 2px solid rgba(140, 160, 255, .22); animation: spin 40s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px 4px rgba(34, 211, 238, .7); }
.orbit-2 { inset: 18% 22%; animation-duration: 26s; animation-direction: reverse; }
.orbit-2::after { background: var(--purple); box-shadow: 0 0 18px 4px rgba(168, 85, 247, .7); }
.hero-mark { width: min(62%, 280px); filter: drop-shadow(0 20px 40px rgba(109, 140, 248, .45)); animation: bob 6s ease-in-out infinite; }
.floaters { position: absolute; inset: 0; }
.floaters img { position: absolute; width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- sections ---- */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 8px 0 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.0625rem; }
.steps, .features { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.25rem; margin: 10px 0 6px; }
.card p { color: var(--ink-soft); }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #071029; font-weight: 800; }
.feat-icon { font-size: 1.8rem; }

/* games grid (from the live catalog) */
.games { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); list-style: none; padding: 0; }
.game { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; text-align: center; }
.game img { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 10px; object-fit: cover; background: rgba(140, 160, 255, .12); }
.game h3 { font-size: 1rem; margin-bottom: 4px; }
.game p { color: var(--ink-soft); font-size: .8125rem; line-height: 1.4; }
.games-note { color: var(--ink-soft); margin-top: 14px; font-size: .9375rem; }

/* band */
.band { background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(168, 85, 247, .18)); border: 1px solid var(--line); border-radius: 28px; padding: 36px 24px; text-align: center; }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.band p { color: var(--ink-soft); margin-bottom: 20px; }
.band .stores { justify-content: center; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--ink-soft); margin-top: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-soft); font-size: .875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--ink-soft); }

/* ---- document pages (privacy, terms, support) ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 18px; }
.doc h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.doc h3 { font-size: 1.1rem; margin: 18px 0 8px; font-style: normal; }
.doc p, .doc li { color: #d6dcf5; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.doc td, .doc th { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.doc .loading { color: var(--ink-soft); }

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