/* ==========================================================================
   Zeva — Daily Tarot Card Reading · landing page
   Design tokens come from Figma file A047_Zeva (Component / Foundation color)
   ========================================================================== */

:root {
  --bg-0: #0c021b;
  --bg-1: #12042a;
  --bg-2: #1d0544;
  --surface: #170436;
  --surface-2: #1f0a45;
  --plum: #27092e;
  --primary: #3a0a87;
  --primary-2: #4b1fa8;
  --magenta: #d059ea;
  --magenta-2: #c42fe5;
  --glow: #9d26b7;
  --gold: #ddbf6e;
  --gold-2: #d2a93e;
  --gold-3: #9f760b;
  --cream: #f6e9c2;
  --lavender: #c4b5db;
  --text: #ffffff;
  --text-2: #d3d5d8;
  --text-3: #a99bc6;
  --online: #22c55e;

  --grad-btn: linear-gradient(180deg, #d059ea 0%, #3a0a87 100%);
  --grad-title: linear-gradient(90deg, #cce8fe 0%, #cda0ff 24%, #8489f5 40%, #cdf1ff 71%, #b591e9 100%);
  --grad-gold: linear-gradient(90deg, #8c421d 0%, #fbe67b 33%, #fcfbe7 54%, #f7d14e 77%, #d4a041 100%);
  --grad-gold-stroke: linear-gradient(135deg, #c49337 0%, #fcf7cd 28%, #edcd78 50%, #a7602b 63%, #fdf8d0 82%, #bb9138 100%);
  --grad-silver: linear-gradient(135deg, #a8a8a6 0%, #696969 45%, #f9f8f6 67%, #d4d4d4 82%, #7f7f7f 100%);
  --grad-plane: linear-gradient(135deg, #cdf1ff 0%, #cda0ff 45%, #8489f5 100%);

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --header-h: 72px;
  --radius: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(93, 27, 168, .38), transparent 60%),
    radial-gradient(900px 640px at -15% 22%, rgba(196, 47, 229, .14), transparent 60%),
    linear-gradient(180deg, #0c021e 0%, var(--bg-0) 55%, var(--bg-1) 100%);
  background-color: var(--bg-0);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* 3D carousels overflow sideways on purpose; clip them here (body-level overflow is ignored by mobile viewports) */
main { overflow-x: hidden; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(208, 89, 234, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--primary); transition: top .2s; }
.skip-link:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- text treatments ---------- */
.grad {
  background: var(--grad-title);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 9s linear infinite;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.2 var(--font-display);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23ddbf6e' d='M10 0l2.1 7.9L20 10l-7.9 2.1L10 20l-2.1-7.9L0 10l7.9-2.1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 8px 28px;
  border-radius: 16px;
  font: 600 17px/1.15 var(--font-display);
  text-align: center;
  transition: transform .25s var(--ease-out), box-shadow .25s, filter .25s, background-color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 32px -12px rgba(208, 89, 234, .75);
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 40px -12px rgba(208, 89, 234, .9); }
.btn-primary:disabled { filter: grayscale(.4) brightness(.8); cursor: progress; transform: none; }
.btn-ghost {
  border: 1.5px solid var(--magenta-2);
  color: #ecb6ff;
  background: rgba(196, 47, 229, .06);
}
.btn-ghost:hover { background: rgba(196, 47, 229, .16); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 6px 18px; border-radius: 12px; font-size: 15px; white-space: nowrap; }
.btn-gold {
  background: var(--grad-gold-stroke);
  color: #5a1aa6;
  box-shadow: 0 6px 20px -8px rgba(237, 205, 120, .8);
}
.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 15px/1 var(--font-display);
  color: #ecb6ff;
  padding: 8px 0;
  transition: gap .25s var(--ease-out), color .2s;
}
.link-btn:hover { gap: 10px; color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 12px;
  border-radius: 999px;
  font: 600 12px/1 var(--font-display);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(221, 191, 110, .08);
  border: 1px solid rgba(221, 191, 110, .35);
}
.round-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(58, 10, 135, .5);
  border: 1px solid rgba(205, 160, 255, .25);
  color: #fff;
  transition: background .2s, transform .2s;
}
.round-btn:hover { background: rgba(208, 89, 234, .35); transform: scale(1.06); }
.round-btn.flip .ic { transform: scaleX(-1); }

.play-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .25s var(--ease-out), filter .25s; }
/* The official badge PNG carries transparent padding — trim it visually */
.play-badge img { height: 74px; width: auto; margin: -11px -12px; }
.play-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 22px rgba(208, 89, 234, .35)); }

.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2.2s infinite; flex: none; }

/* Concave "notched" corners used across the app's frames */
.notch, .ff, .ff-inner, .ff-img {
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 100% / 51% 51% no-repeat;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- background starfield ---------- */
.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(12, 2, 27, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(205, 160, 255, .12);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(221, 191, 110, .45), 0 6px 18px -6px rgba(157, 38, 183, .9); }
.brand-name {
  font: 800 24px/1 var(--font-display); letter-spacing: -.01em;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  font: 500 15px/1 var(--font-display); color: var(--text-2);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-title); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(205, 160, 255, .22);
  font: 600 13px/1 var(--font-display); color: var(--text-2); transition: background .2s, color .2s, border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(208, 89, 234, .16); border-color: rgba(208, 89, 234, .55); color: #fff; }
.lang-btn .ic { width: 18px; height: 18px; fill: none; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: 230px; max-height: min(70vh, 540px); overflow-y: auto; padding: 6px;
  border-radius: 16px; background: rgba(18, 4, 42, .98);
  border: 1px solid rgba(205, 160, 255, .2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  animation: pop .25s var(--ease-out) both;
}
.lang-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; outline: none;
  font: 500 15px/1.2 var(--font-body); color: var(--text-2);
}
.lang-list li small { font: 600 11px/1 var(--font-display); letter-spacing: .08em; color: var(--text-3); }
.lang-list li:hover, .lang-list li:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-list li[aria-selected="true"] { background: rgba(58, 10, 135, .6); color: #fff; }
.lang-list li[aria-selected="true"] small { color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out), top .3s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Collapsed navigation — phones/tablets (media query below) and any width where translated labels don't fit (JS adds .is-compact) */
.site-header.is-compact .menu-toggle { display: block; }
.site-header.is-compact .main-nav {
  position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) - 4px);
  flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
  border-radius: 20px; background: rgba(18, 4, 42, .97);
  border: 1px solid rgba(205, 160, 255, .18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease-out), visibility .25s;
}
.site-header.is-compact .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.site-header.is-compact .main-nav a { padding: 14px 16px; font-size: 17px; }
.site-header.is-compact .main-nav a.is-active::after { display: none; }
.site-header.is-compact .header-actions { margin-left: auto; }

/* ---------- per-language typography ---------- */
html.i18n-wait body { opacity: 0; }
body { transition: opacity .25s; }
html:lang(hi) { --font-display: 'Mukta', 'Bricolage Grotesque', sans-serif; --font-body: 'Mukta', 'Roboto', sans-serif; }
html:lang(ja) { --font-display: 'Noto Sans JP', 'Bricolage Grotesque', sans-serif; --font-body: 'Noto Sans JP', 'Roboto', sans-serif; }
html:lang(ru), html:lang(uk) { --font-display: 'Manrope', 'Roboto', sans-serif; }
/* Devanagari's headline bar breaks with letter-spacing; CJK doesn't need it */
html:lang(hi) *, html:lang(ja) * { letter-spacing: normal !important; }
/* Taller scripts need room so gradient-clipped headings don't cut marks */
html:lang(hi) h1, html:lang(hi) h2, html:lang(hi) .ff-label, html:lang(ja) h1, html:lang(ja) h2 { line-height: 1.3; }
html:lang(de) p, html:lang(ru) p, html:lang(uk) p { hyphens: auto; }
/* Japanese: break lines between phrases, not inside words (Chrome/Edge 119+; others fall back to normal) */
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3, html:lang(ja) p { word-break: auto-phrase; }
html:lang(ja) .hero-title { font-size: clamp(34px, 5.2vw, 66px); }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.section-sub { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 640px; }
.section-lineart { position: absolute; left: 50%; top: 50%; width: min(560px, 80vw); transform: translate(-50%, -50%); opacity: .1; pointer-events: none; z-index: -1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 28px) 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: 6%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(157, 38, 183, .28) 0%, rgba(58, 10, 135, .18) 40%, transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: linear-gradient(#170436, #170436) padding-box, var(--grad-gold-stroke) border-box;
  border: 1px solid transparent;
  font: 500 14px/1.2 var(--font-display); color: var(--cream);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.hero-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(237, 205, 120, .5); }
.hero-badge .ic { color: var(--gold); width: 16px; height: 16px; }
.hero-title { font-size: clamp(42px, 6.1vw, 82px); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.hero-title .grad { display: inline; padding-bottom: .06em; }
.hero-sub { color: var(--text-2); font-size: clamp(16px, 1.45vw, 19px); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 6px; }
.hero-ctas .btn-ghost { min-height: 52px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 28px; margin-top: 10px; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(221, 191, 110, .3); }
.hero-stats strong { font: 800 26px/1.1 var(--font-display); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-stats span { font-size: 13px; color: var(--text-3); line-height: 1.3; }

.hero-visual { position: relative; }
.hero-stage { position: relative; width: 100%; max-width: 660px; margin-inline: auto; aspect-ratio: 1 / 1; }
.hero-lineart {
  position: absolute; left: 50%; top: 50%; width: 46%;
  transform: translate(-50%, -54%);
  opacity: .28; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 0 10px rgba(221, 191, 110, .35));
  animation: breathe 9s ease-in-out infinite;
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dust-back { z-index: 0; }
.dust-front { z-index: 3; }
.stage-scale {
  position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; z-index: 2;
  transform: translate(-50%, -50%) scale(var(--stage-s, 1));
}
.stage-3d { position: absolute; inset: 0; perspective: 1500px; }
.stage-rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rig-rx, -9deg)) rotateY(var(--rig-ry, -16deg)); }

.phone3d {
  position: absolute; left: 50%; top: 50%;
  width: 236px; height: 506px; margin: -268px 0 0 -118px;
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
}
.phone-layer {
  position: absolute; inset: 0; border-radius: 38px;
  background: linear-gradient(90deg, #3a3150 0%, #120e1d 18%, #0a0711 50%, #120e1d 82%, #3a3150 100%);
  transform: translateZ(calc(var(--z) * 1px));
}
.phone {
  --pw: 236px;
  position: relative; width: var(--pw); aspect-ratio: 1 / 2.144;
  border-radius: calc(var(--pw) * .16);
  padding: calc(var(--pw) * .032);
  background: linear-gradient(150deg, #4a4166 0%, #15101f 26%, #07050c 58%, #2b2442 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 calc(var(--pw) * .014) #000;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .13); overflow: hidden; background: var(--bg-0); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone .screen::after { content: ""; position: absolute; top: 1.7%; left: 50%; width: 4%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #030206; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.hero-phone { position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 3px #000, 0 0 90px -12px rgba(157, 38, 183, .75); }

.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.orbit-card { position: absolute; left: -46px; top: -80px; width: 92px; height: 160px; transform-style: preserve-3d; }
.card3d { position: absolute; inset: 0; transform-style: preserve-3d; animation: bob 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.card3d .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 8px; box-shadow: 0 0 22px rgba(157, 38, 183, .55); }
.card3d .back { transform: rotateY(180deg); }

.floor-wheel { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px; transform: translateY(262px) rotateX(90deg); pointer-events: none; }
.floor-wheel .wheel-spin svg { opacity: .85; }
.wheel-spin { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.wheel-spin.static { animation: none; }
.wheel-spin svg { width: 100%; height: 100%; overflow: visible; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue .mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(205, 160, 255, .5); position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease-in-out) infinite; }

/* ==========================================================================
   Readings — feature cards with the app's notched gold frame
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
.feature { display: flex; flex-direction: column; gap: 18px; }
.feature-card {
  position: relative;
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), filter .4s;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
.feature-card.is-tilting { transition: transform .12s linear, filter .4s; }
.feature-card:hover { filter: drop-shadow(0 0 22px rgba(157, 38, 183, .7)) drop-shadow(0 24px 34px rgba(0, 0, 0, .5)); }
.ff { --n: 16px; padding: 1.2px; background: var(--grad-gold-stroke); }
.ff-inner { --n: 15px; position: relative; padding: 7px; background: var(--bg-0); }
.ff-img { --n: 13px; position: relative; aspect-ratio: 360 / 481; overflow: hidden; background: var(--surface); }
.ff-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.feature-card:hover .ff-img img { transform: scale(1.07); }
.ff-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 1, 12, .92) 0%, rgba(5, 1, 12, .55) 22%, transparent 45%); pointer-events: none; }
.glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 244, 214, .28), transparent 45%); mix-blend-mode: screen; }
.feature-card:hover .glare { opacity: 1; }
.ff-label { position: absolute; left: 8px; right: 8px; bottom: 20px; z-index: 2; text-align: center; font: 700 clamp(20px, 2vw, 27px)/1.05 var(--font-display); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
.orn {
  position: absolute; width: 18px; height: 18px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='none' stroke='%23ddbf6e' stroke-width='1'/%3E%3Cpath fill='%23ddbf6e' d='M12 4.5l1.4 6.1 6.1 1.4-6.1 1.4L12 19.5l-1.4-6.1L4.5 12l6.1-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.orn.tl { left: -9px; top: -9px; } .orn.tr { right: -9px; top: -9px; } .orn.bl { left: -9px; bottom: -9px; } .orn.br { right: -9px; bottom: -9px; }
.feature-info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 4px; }
.feature-info p { color: var(--text-2); font-size: 15.5px; }

/* ==========================================================================
   Draw demo
   ========================================================================== */
.draw { overflow-x: clip; }
.draw-panel {
  position: relative;
  padding: 26px clamp(14px, 3vw, 34px) 30px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(93, 27, 168, .32), transparent 60%),
    linear-gradient(180deg, rgba(23, 4, 54, .82), rgba(12, 2, 27, .88));
  border: 1px solid rgba(205, 160, 255, .16);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* columns are chosen in draw.js (6 → 3 → 2) so long translations never overflow */
.spread-tabs { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 3), max-content); gap: 10px; padding: 4px 2px 10px; justify-content: center; }
.spread-tabs::-webkit-scrollbar { display: none; }
.spread-tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(12, 2, 27, .7);
  border: 1px solid rgba(117, 66, 214, .55);
  font: 600 15px/1 var(--font-display); color: var(--text-2);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease-out);
}
.spread-tab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 1px solid rgba(221, 191, 110, .5); }
.spread-tab small { font: 600 11px/1 var(--font-display); color: var(--gold); letter-spacing: .06em; padding: 4px 7px; border-radius: 999px; background: rgba(221, 191, 110, .1); }
.spread-tab:hover { color: #fff; transform: translateY(-1px); }
.spread-tab[aria-selected="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -12px rgba(208, 89, 234, .85); }
.spread-tab[aria-selected="true"] small { background: rgba(255, 255, 255, .16); color: #fff; }
@media (min-width: 1240px) {
  .spread-tabs { gap: 7px; }
  .spread-tab { gap: 8px; padding-right: 10px; font-size: 14px; }
  .spread-tab img { width: 34px; height: 34px; }
}
.draw-controls { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 12px auto 0; max-width: 760px; }
.question-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px; border-radius: 16px;
  background: #22075a; border: 1px solid #4b1fa8;
  color: var(--lavender);
  transition: border-color .2s, box-shadow .2s;
}
.question-field:focus-within { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(208, 89, 234, .15); }
.question-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font-size: 16px; }
.question-field input::placeholder { color: #9f90c9; }
.btn-shuffle { min-width: 168px; }

.draw-stage { position: relative; height: clamp(410px, 50vw, 580px); margin-top: 18px; perspective: 1400px; perspective-origin: 50% 35%; user-select: none; -webkit-user-select: none; }
.table-glow { position: absolute; left: 50%; bottom: -46%; width: min(980px, 140%); aspect-ratio: 1; transform: translateX(-50%) rotateX(72deg); pointer-events: none; }
.table-glow .wheel-spin svg { opacity: .5; }
.table-glow::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(157, 38, 183, .45), transparent 70%); }
.slots, .captions { position: absolute; inset: 0; pointer-events: none; }
.slot {
  position: absolute; display: grid; place-items: center; padding: 6px; text-align: center;
  border: 1.5px dashed rgba(221, 191, 110, .5); border-radius: 10px;
  background: rgba(12, 2, 27, .45);
  font: 600 12px/1.25 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), border-color .3s, box-shadow .3s;
}
.slot.is-shown { opacity: 1; transform: none; }
.slot.is-filled { border-style: solid; border-color: rgba(237, 205, 120, .95); box-shadow: 0 0 26px rgba(237, 205, 120, .28); }
.deck-layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.dcard { position: absolute; left: 50%; top: 0; transform-style: preserve-3d; will-change: transform; -webkit-tap-highlight-color: transparent; }
.dcard-lift { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s var(--ease-out); }
.dcard.is-pickable { cursor: pointer; }
.dcard.is-pickable:focus-visible { outline: none; }
.dcard.is-pickable:focus-visible .dface img { outline: 2px solid var(--magenta); outline-offset: 2px; }
@media (hover: hover) {
  .dcard.is-pickable:hover .dcard-lift { transform: translateY(-15%) translateZ(40px); }
}
.dcard.is-pickable:focus-visible .dcard-lift { transform: translateY(-15%) translateZ(40px); }
.dcard-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.dface { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dface img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.dback img { border-radius: 7% / 4%; box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(237, 205, 120, .15); }
.dfront { transform: rotateY(180deg); }
.dcard.is-revealed .dfront img { filter: drop-shadow(0 0 12px rgba(157, 38, 183, .95)) drop-shadow(0 0 3px rgba(205, 160, 255, .7)); }
.caption {
  position: absolute; transform: translate(-50%, 8px); width: 168px; text-align: center;
  opacity: 0; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.caption.is-shown { opacity: 1; transform: translate(-50%, 0); }
.caption .pos { display: block; font: 600 11px/1.2 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--lavender); }
.caption .nm { display: block; margin-top: 3px; font: 700 15px/1.2 var(--font-display); }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.draw-status { min-height: 26px; margin-top: 4px; text-align: center; color: var(--gold-2); font: 500 16px/1.5 var(--font-body); }
.draw-status b { color: #fff; font-weight: 600; }

.draw-result { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.draw-result.is-in { animation: rise .8s var(--ease-out) both; }
.result-cards { padding: 22px; border-radius: 22px; background: rgba(12, 2, 27, .6); border: 1px solid rgba(205, 160, 255, .14); }
.result-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.result-head img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(221, 191, 110, .5); }
.result-head h3 { font-size: 22px; }
.result-q { color: var(--text-3); font-size: 14px; font-style: italic; margin-top: 2px; }
.result-list { display: flex; flex-direction: column; gap: 12px; }
.result-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(29, 5, 68, .55); }
.result-list img { width: 46px; aspect-ratio: 324 / 560; object-fit: cover; }
.result-list .pos { font: 600 11px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--lavender); }
.result-list strong { display: block; margin: 4px 0 2px; font: 700 17px/1.2 var(--font-display); }
.result-list strong em { font-style: normal; font-weight: 500; color: var(--text-3); font-size: 14px; }
.result-list p { color: var(--gold); font-size: 13.5px; }
.locked {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 340px;
  background: linear-gradient(#170436, #12042a) padding-box, var(--grad-gold-stroke) border-box;
  border: 1px solid transparent;
  padding: 22px;
}
.answer-lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: rgba(221, 191, 110, .08); border: 1px dashed rgba(221, 191, 110, .45); font: 600 15px/1.2 var(--font-display); color: var(--cream); }
.answer-lock b { font: 800 20px/1 var(--font-display); letter-spacing: .1em; color: transparent; text-shadow: 0 0 10px rgba(237, 205, 120, .9); }
.locked-text { color: var(--text-2); filter: blur(5px); user-select: none; -webkit-user-select: none; line-height: 1.75; }
.locked-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: radial-gradient(ellipse at 50% 60%, rgba(12, 2, 27, .9) 0%, rgba(12, 2, 27, .62) 60%, rgba(12, 2, 27, .25) 100%); }
.locked-overlay .lock-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold-stroke); color: #4b1393; box-shadow: 0 0 30px rgba(237, 205, 120, .45); }
.locked-overlay h4 { font-size: 22px; }
.locked-overlay p { color: var(--text-2); max-width: 360px; font-size: 15px; }
.result-actions { grid-column: 1 / -1; display: flex; justify-content: center; }

/* ==========================================================================
   AI Specialists — 3D coverflow + chat preview (mirrors Figma ScrChat)
   ========================================================================== */
.spec-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.spec-side { min-width: 0; }
.spec-carousel { position: relative; height: 470px; perspective: 1100px; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; cursor: grab; }
.spec-carousel.is-dragging { cursor: grabbing; }
.spec-card {
  position: absolute; left: 50%; top: 50%; width: 244px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #1d0544, #12042a) padding-box, var(--grad-silver) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  transition: transform .75s var(--ease-out), opacity .5s, box-shadow .4s;
  will-change: transform;
}
.spec-carousel.is-dragging .spec-card { transition: none; }
.spec-card.is-active { box-shadow: 0 0 0 1px rgba(237, 205, 120, .4), 0 0 46px -6px rgba(157, 38, 183, .85), 0 40px 70px -30px rgba(0, 0, 0, .9); }
.spec-photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.spec-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.spec-rating { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(23, 4, 54, .82); font: 600 13px/1 var(--font-display); }
.spec-rating::before { content: "★"; color: #ffd43b; font-size: 13px; }
.spec-body { padding: 14px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.spec-name { font: 700 19px/1.2 var(--font-display); }
.spec-persona { color: var(--text-2); font-size: 14.5px; min-height: 1.5em; }
.btn-chat { margin-top: 10px; width: 100%; height: 44px; border-radius: 12px; background: var(--primary); font: 600 15px/1 var(--font-display); color: #fff; transition: background .2s, transform .2s; }
.btn-chat:hover { background: #5016b3; }
.spec-card.is-active .btn-chat { background: var(--grad-btn); }
.spec-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.spec-dots { display: flex; gap: 8px; }
.spec-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(205, 160, 255, .3); transition: width .3s var(--ease-out), background .3s; }
.spec-dots button[aria-current="true"] { width: 26px; border-radius: 6px; background: var(--grad-title); }

.chat-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.chat-phone {
  width: min(390px, 100%);
  padding: 11px; border-radius: 52px;
  background: linear-gradient(150deg, #4a4166 0%, #15101f 26%, #07050c 58%, #2b2442 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 5px #000, 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(157, 38, 183, .6);
}
.chat {
  position: relative; height: 700px; border-radius: 42px; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #23075a 0%, #12042a 18%, var(--bg-0) 45%);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 22px 18px 12px; }
.chat-back { width: 22px; height: 22px; color: #fff; }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(237, 205, 120, .7); }
.chat-name { font: 700 17px/1.2 var(--font-display); }
.chat-status { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; }
.chat-status .online-dot { width: 7px; height: 7px; }
.chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: rgba(205, 160, 255, .25) transparent; }
.msg { display: flex; align-items: flex-end; gap: 8px; animation: msgIn .45s var(--ease-out) both; }
.msg.me { justify-content: flex-end; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(237, 205, 120, .5); }
.bubble { position: relative; max-width: 86%; padding: 12px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.msg.ai .bubble { background: var(--plum); border-bottom-left-radius: 6px; }
.msg.me .bubble { background: #2c0b70; border-bottom-right-radius: 6px; font-weight: 500; display: flex; align-items: flex-start; gap: 10px; }
.msg.me .bubble .ic { width: 16px; height: 16px; margin-top: 2px; color: #8f78d6; flex: none; }
.bubble p + p { margin-top: 8px; }
.bubble .muted { color: var(--lavender); font-size: 13px; margin-top: 8px; }
.topics { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.topic {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 46px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--bg-0); border: 1px solid #5a2ab8;
  text-align: left; font-size: 14.5px; line-height: 1.25;
  transition: background .2s, border-color .2s, transform .2s var(--ease-out);
}
.topic:hover { background: #170436; border-color: var(--magenta); transform: translateX(2px); }
.topic img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.topic span { flex: 1; }
.topic .plane { width: 22px; height: 22px; flex: none; color: #a99cff; }
.msg-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 10px; }
.msg-actions button { width: 26px; height: 26px; display: grid; place-items: center; color: #6d50b8; border-radius: 8px; transition: color .2s, background .2s; }
.msg-actions button:hover { color: #cda0ff; background: rgba(205, 160, 255, .08); }
.msg-actions .ic { width: 19px; height: 19px; }
.typing .bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.pick-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 16px; border-radius: 14px;
  background: linear-gradient(#211705, #1a1204) padding-box, var(--grad-gold-stroke) border-box;
  border: 1px solid transparent; font-size: 14.5px;
  animation: msgIn .45s var(--ease-out) both;
}
.pick-bar .btn-gold { min-height: 36px; padding: 6px 18px; border-radius: 999px; font: 700 15px/1 var(--font-display); white-space: nowrap; }
.pick-bar .btn-gold.nudge { animation: nudge .6s var(--ease-out); }
.pick-box {
  align-self: flex-end; width: 92%;
  padding: 14px 12px; border-radius: 18px;
  background: linear-gradient(#1d0544, #170436) padding-box, var(--grad-silver) border-box;
  border: 1.5px solid transparent;
  animation: msgIn .45s var(--ease-out) both;
}
.pick-title { font: 600 14px/1.2 var(--font-display); margin-bottom: 12px; display: flex; justify-content: space-between; }
.pick-title span { color: var(--gold); }
.pick-slots { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.mini { width: 64px; aspect-ratio: 324 / 560; perspective: 600px; }
.mini-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease-out); }
.mini.is-flipped .mini-inner { transform: rotateY(180deg); }
.mini .mf { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 6px; overflow: hidden; }
.mini .mf img { width: 100%; height: 100%; object-fit: cover; }
.mini .mf.front { transform: rotateY(180deg); }
.mini.is-flipped .mf.front img { filter: drop-shadow(0 0 7px rgba(157, 38, 183, .9)); }
.mini.is-empty .mf.back { border: 1.5px dashed rgba(221, 191, 110, .45); background: rgba(12, 2, 27, .5); }
.mini.is-empty .mf.back img { display: none; }
.pick-row { display: flex; justify-content: center; gap: 0; padding-top: 6px; }
.pick-row button { position: relative; width: 44px; aspect-ratio: 280 / 480; margin: 0 -6px; border-radius: 5px; transform: rotate(var(--r)); transition: transform .25s var(--ease-out), opacity .3s; }
.pick-row button img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.pick-row button:hover:not(:disabled) { transform: rotate(var(--r)) translateY(-10px); z-index: 2; }
.pick-row button:disabled { opacity: 0; transform: rotate(var(--r)) translateY(-30px) scale(.8); pointer-events: none; }
.locked-chat { position: relative; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.locked-chat .blur { filter: blur(4.5px); color: var(--text-2); user-select: none; -webkit-user-select: none; }
.lock-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; text-align: center; background: linear-gradient(180deg, rgba(39, 9, 46, .35), rgba(39, 9, 46, .92) 55%); font-size: 13.5px; color: var(--cream); }
.lock-cta .btn { min-height: 38px; padding: 6px 16px; font-size: 14px; border-radius: 12px; }
.gate-cta { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.gate-cta .qr-tile { width: 96px; padding: 6px; border-radius: 12px; }
.gate-cta .play-badge img { height: 58px; margin: -9px -9px; }
.chat-foot { padding: 8px 14px 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, transparent, rgba(12, 2, 27, .9) 30%); }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chat-chips:empty { display: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #6c4bb3; background: rgba(12, 2, 27, .6); font-size: 14px; white-space: nowrap; transition: background .2s, border-color .2s; }
.chat-chips button:hover { background: #22075a; border-color: var(--magenta); }
.chat-form { display: flex; gap: 10px; align-items: center; }
.chat-form input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; background: #2a0a6b; border: 1px solid #4b1fa8; outline: 0; color: #fff; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.chat-form input:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(208, 89, 234, .18); }
.chat-form input::placeholder { color: #a99bd0; }
.send-btn { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(208, 89, 234, .9); transition: transform .2s var(--ease-out), filter .2s; }
.send-btn:hover { transform: scale(1.06); filter: brightness(1.1); }
.send-btn .ic { width: 22px; height: 22px; margin-left: -2px; }
.chat-note { color: var(--text-3); font-size: 13px; text-align: center; }

/* ==========================================================================
   Inside the app — 3D cylinder of real screens exported from Figma
   ========================================================================== */
.gallery { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; }
.gallery-stage { position: relative; height: 600px; perspective: 1900px; perspective-origin: 50% 42%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.gallery-stage.is-dragging { cursor: grabbing; }
.gallery-floor { position: absolute; left: 50%; bottom: 10px; width: 92%; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(157, 38, 183, .45), rgba(58, 10, 135, .15) 45%, transparent 70%); filter: blur(6px); }
.gallery-scale { position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--g-s, 1)); }
.gallery-rig { position: absolute; transform-style: preserve-3d; transform: rotateX(-7deg) rotateY(var(--angle, 0deg)); }
.g-item { position: absolute; left: -105px; top: -225px; width: 210px; height: 450px; transform-style: preserve-3d; }
.g-item .phone { --pw: 210px; position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: filter .6s, box-shadow .6s; filter: brightness(.55) saturate(.8); }
.g-item.is-active .phone { filter: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 3px #000, 0 0 70px -10px rgba(157, 38, 183, .9); }
.g-back {
  position: absolute; inset: 0; border-radius: 34px; transform: rotateY(180deg);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(157, 38, 183, .35), transparent 50%), linear-gradient(150deg, #2b2442, #0b0812 50%, #1b1530);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1);
  display: grid; place-items: center;
}
.g-back img { width: 34%; border-radius: 22%; opacity: .9; box-shadow: 0 0 0 1px rgba(221, 191, 110, .4); }
.gallery-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.gallery-tabs { position: relative; display: flex; flex-direction: column; gap: 6px; }
.gallery-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 16px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--font-display); color: var(--text-3);
  transition: background .3s, color .3s, border-color .3s;
}
.gallery-tab .num { font: 600 12px/1 var(--font-display); color: var(--gold-3); letter-spacing: .1em; width: 22px; }
.gallery-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.gallery-tab[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(58, 10, 135, .55), rgba(58, 10, 135, .1)); border-color: rgba(205, 160, 255, .2); }
.gallery-tab[aria-selected="true"] .num { color: var(--gold); }
.gallery-caption { min-height: 76px; color: var(--text-2); padding: 0 6px; }
.gallery-caption strong { display: block; color: #fff; font: 700 20px/1.2 var(--font-display); margin-bottom: 4px; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: rgba(23, 4, 54, .6); border: 1px solid rgba(205, 160, 255, .12); }
.perks .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--gold); background: rgba(221, 191, 110, .1); flex: none; }
.perks strong { display: block; font: 700 16px/1.25 var(--font-display); margin-bottom: 4px; }
.perks span { color: var(--text-3); font-size: 14px; line-height: 1.45; }

/* ==========================================================================
   Horoscope
   ========================================================================== */
.horo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zodiac-wheel { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin-inline: auto; }
.zw-ring, .zw-signs { position: absolute; inset: 0; transform: rotate(var(--rot, 0deg)); transition: transform 1.2s var(--ease-out); }
.zw-ring { filter: drop-shadow(0 0 14px rgba(221, 191, 110, .25)); }
.zw-ring .wheel-spin svg { opacity: .9; }
.zw-sign {
  position: absolute; width: 12.5%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(12, 2, 27, .85); border: 1px solid rgba(221, 191, 110, .35);
  color: var(--gold);
  transition: background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.zw-sign svg { width: 56%; height: 56%; transform: rotate(calc(-1 * var(--rot, 0deg))); transition: transform 1.2s var(--ease-out); }
.zw-sign:hover { border-color: var(--gold); box-shadow: 0 0 18px rgba(221, 191, 110, .35); }
.zw-sign[aria-checked="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 0 0 3px rgba(208, 89, 234, .25), 0 0 30px rgba(208, 89, 234, .6); }
.zw-center { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: radial-gradient(circle, rgba(29, 5, 68, .95) 0%, rgba(12, 2, 27, .9) 70%); box-shadow: 0 0 0 1px rgba(221, 191, 110, .35), 0 0 60px rgba(157, 38, 183, .45); }
.zw-center svg { width: 30%; height: 30%; color: var(--gold); filter: drop-shadow(0 0 10px rgba(237, 205, 120, .6)); }
.zw-center strong { font: 800 clamp(20px, 2.4vw, 28px)/1.1 var(--font-display); }
.zw-center span { color: var(--text-3); font-size: 13px; }
.horo-card { padding: 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(29, 5, 68, .92), rgba(23, 4, 54, .92)); border: 1px solid rgba(117, 66, 214, .45); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.horo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.horo-sign { display: flex; align-items: center; gap: 10px; font: 700 20px/1.2 var(--font-display); }
.horo-sign svg { width: 30px; height: 30px; color: #fff; padding: 5px; border-radius: 50%; background: var(--primary); }
.horo-date { color: var(--text-3); font-size: 13px; }
.horo-tabs { display: flex; padding: 4px; border-radius: 999px; background: #0c021b; border: 1px solid rgba(117, 66, 214, .5); margin-bottom: 16px; }
.horo-tabs button { flex: 1; height: 36px; border-radius: 999px; font: 600 14px/1 var(--font-display); color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.horo-tabs button[aria-selected="true"] { background: var(--grad-btn); color: #fff; }
.horo-tabs .lk { font-size: 11px; opacity: .7; }
.horo-text { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(221, 191, 110, .6); color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.horo-block { padding: 14px 16px; border-radius: 14px; background: rgba(12, 2, 27, .55); margin-bottom: 12px; }
.horo-block h4 { font: 600 14px/1.2 var(--font-display); color: var(--lavender); margin-bottom: 8px; }
.rate-row, .lucky-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14.5px; }
.rate-row + .rate-row, .lucky-row + .lucky-row { border-top: 1px solid rgba(255, 255, 255, .05); }
.stars { letter-spacing: 3px; font-size: 15px; color: rgba(255, 255, 255, .18); }
.stars b { color: #ffd43b; font-weight: 400; }
.lucky-row span:last-child { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.horo-cta { margin-top: 6px; width: 100%; }

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download { padding-top: 60px; padding-bottom: 80px; }
.dl-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(157, 38, 183, .38), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(132, 137, 245, .18), transparent 50%),
    linear-gradient(160deg, #1d0544, var(--bg-0)) padding-box,
    var(--grad-gold-stroke) border-box;
  border: 1px solid transparent;
}
.dl-lineart { position: absolute; right: -6%; top: 50%; width: 46%; transform: translateY(-50%); opacity: .08; pointer-events: none; }
.dl-visual { display: grid; place-items: center; min-height: 420px; }
.dl-phone-wrap { position: relative; --rx: 0deg; --ry: 0deg; transform: perspective(1100px) rotateY(calc(-14deg + var(--ry))) rotateX(calc(6deg + var(--rx))); transition: transform .7s var(--ease-out); }
.dl-phone-wrap.is-tilting { transition: transform .12s linear; }
.dl-phone { --pw: 210px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 3px #000, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -10px rgba(157, 38, 183, .7); }
.dl-float { position: absolute; width: 92px; aspect-ratio: 324 / 560; object-fit: cover; filter: drop-shadow(0 0 14px rgba(157, 38, 183, .8)); animation: bob 6s ease-in-out infinite; }
.dl-float.c1 { left: -70px; top: 70px; rotate: -14deg; }
.dl-float.c2 { right: -74px; top: 170px; rotate: 12deg; animation-delay: -2s; }
.dl-float.c3 { left: -44px; bottom: 26px; width: 74px; rotate: 8deg; animation-delay: -4s; border-radius: 6px; }
.dl-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.dl-copy h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; }
.dl-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(221, 191, 110, .5), 0 16px 40px -12px rgba(157, 38, 183, .9); }
.dl-actions { display: flex; align-items: center; gap: 28px; margin-top: 10px; flex-wrap: wrap; }
.dl-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl-meta { color: var(--text-3); font-size: 14px; }
.qr-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-block p { font-size: 13px; color: var(--text-3); }
.qr-tile { position: relative; width: 156px; aspect-ratio: 1; padding: 12px; border-radius: 20px; background: linear-gradient(145deg, #fffaf0, var(--cream)); box-shadow: 0 0 0 1px rgba(221, 191, 110, .6), 0 18px 40px -16px rgba(237, 205, 120, .55); }
.qr-tile > img:first-child { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 0 0 3px #fffaf0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 56px 0 40px; border-top: 1px solid rgba(205, 160, 255, .12); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.footer-brand p { color: var(--text-3); font-size: 14.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; }
.footer-links a { color: var(--text-2); font: 500 15px/1.6 var(--font-display); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .05); color: var(--text-3); font-size: 13px; flex-wrap: wrap; }
.disclaimer { max-width: 720px; }

/* ==========================================================================
   Modal + toast
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 1, 12, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .3s both; }
.modal-dialog {
  position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 28px; border-radius: 28px;
  background: radial-gradient(ellipse at 50% 0%, rgba(157, 38, 183, .35), transparent 60%), linear-gradient(180deg, #1d0544, #0c021b) padding-box, var(--grad-gold-stroke) border-box;
  border: 1px solid transparent;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95);
  animation: pop .5s var(--ease-out) both;
  outline: none;
}
.modal-close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--text-2); transition: background .2s, color .2s; }
.modal-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.modal-app { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.modal-app img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(221, 191, 110, .5); }
.modal-app-name { font: 700 16px/1.25 var(--font-display); }
.modal-app-meta { color: var(--text-3); font-size: 13px; }
.modal-title { margin-top: 20px; font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.modal-sub { margin-top: 8px; color: var(--text-2); }
.modal-cards { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.modal-cards:empty { display: none; }
.modal-cards img { width: 54px; aspect-ratio: 324 / 560; object-fit: cover; filter: drop-shadow(0 0 8px rgba(157, 38, 183, .8)); }
.modal-get { display: flex; gap: 26px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.modal-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.modal-steps { counter-reset: s; display: flex; flex-direction: column; gap: 8px; }
.modal-steps li { counter-increment: s; display: flex; gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.4; }
.modal-steps li::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--font-display); background: var(--primary); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #2a0a6b; border: 1px solid rgba(205, 160, 255, .3); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); font-size: 14.5px; transition: opacity .3s, transform .3s var(--ease-out); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
html.modal-open { overflow: hidden; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes breathe { 0%, 100% { opacity: .22; scale: 1; } 50% { opacity: .34; scale: 1.03; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: scale(1.14); box-shadow: 0 0 24px rgba(237, 205, 120, .9); } 60% { transform: scale(.96); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 9px; font-size: 14.5px; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .spec-layout { gap: 24px; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) - 4px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 20px; background: rgba(18, 4, 42, .97);
    border: 1px solid rgba(205, 160, 255, .18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease-out), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .main-nav a.is-active::after { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .hero { padding-bottom: 80px; }
  /* Interleave copy and 3D stage on small screens: title → stage → text → CTAs */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; text-align: center; }
  .hero-copy { display: contents; }
  .hero-badge { order: 1; }
  .hero-copy .eyebrow { order: 2; }
  .hero-title { order: 3; }
  .hero-visual { order: 4; width: 100%; margin-top: -6px; }
  .hero-sub { order: 5; }
  .hero-ctas { order: 6; justify-content: center; }
  .hero-stats { order: 7; grid-template-columns: repeat(4, auto); justify-content: center; }
  .hero-stage { max-width: 520px; }
  .scroll-cue { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .spec-layout { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .gallery-tabs::-webkit-scrollbar { display: none; }
  .gallery-tab { width: auto; flex: none; }
  .gallery-caption { text-align: center; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horo-grid { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: 1fr; text-align: center; }
  .dl-copy { align-items: center; order: -1; }
  .dl-actions { justify-content: center; }
  .dl-buttons { align-items: center; }
  .draw-result { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero-title { font-size: clamp(34px, 10vw, 44px); }
  .hero-badge { font-size: 13px; padding: 7px 12px 7px 10px; }
  .hero-sub { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 14px 26px; }
  .play-badge img { height: 66px; margin: -10px -11px; }
  .feature-grid { gap: 30px 14px; }
  .ff-label { bottom: 12px; font-size: 17px; }
  .feature-info p { font-size: 14px; }
  .orn { width: 14px; height: 14px; }
  .orn.tl { left: -7px; top: -7px; } .orn.tr { right: -7px; top: -7px; } .orn.bl { left: -7px; bottom: -7px; } .orn.br { right: -7px; bottom: -7px; }
  .spread-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin: 0 -14px; padding-inline: 14px; }
  .spread-tab { height: 46px; font-size: 14px; }
  .spread-tab img { width: 34px; height: 34px; }
  .draw-controls { flex-direction: column; align-items: stretch; }
  .question-field { flex: none; }
  .draw-panel { border-radius: 24px; }
  .caption .pos { font-size: 9.5px; letter-spacing: .08em; white-space: nowrap; }
  .caption .nm { font-size: 12.5px; margin-top: 2px; }
  .slot { font-size: 10px; letter-spacing: .06em; padding: 4px; }
  .spec-carousel { height: 420px; }
  .spec-card { width: 214px; }
  .chat-phone { padding: 0; border-radius: 28px; background: none; box-shadow: 0 0 0 1px rgba(205, 160, 255, .18), 0 0 60px -20px rgba(157, 38, 183, .6); }
  .chat { height: 620px; border-radius: 28px; }
  .gallery-stage { height: 400px; }
  .perks { grid-template-columns: 1fr; margin-top: 40px; }
  .horo-card { padding: 18px; }
  .dl-actions .qr-block { display: none; } /* can't scan your own phone screen */
  .dl-visual { min-height: 340px; }
  .dl-phone { --pw: 170px; }
  .dl-float { width: 72px; }
  .dl-float.c1 { left: -54px; }
  .dl-float.c2 { right: -58px; }
  .modal-dialog { padding: 22px 18px; }
  .modal-get { flex-direction: column; align-items: stretch; }
  .modal-get .qr-block { display: none; }
  .footer-bottom { flex-direction: column; }
}
@media (hover: none) {
  .modal-get .qr-block, .gate-cta .qr-tile { display: none; }
}

/* Touch devices (html.lite, set in <head>): same look, less GPU work per frame so scrolling stays smooth.
   Measured on Android Chrome: the hero stage, the starfield and the looping CSS animations each halved the frame rate. */
.lite .starfield { bottom: auto; }
.lite .phone-layer:not(:nth-child(1)):not(:nth-child(4)) { display: none; } /* 2 slabs still read as phone thickness */
.lite .phone3d, .lite .card3d, .lite .hero-lineart, .lite .dl-float { animation: none; }
.lite .hero-lineart { filter: none; }
.lite .wheel-spin { animation: none; }
.lite .zw-ring { filter: none; } /* drop-shadow over the detailed wheel SVG cost a 2 s raster stall on scroll-in */
.lite .grad { animation: none; }
.lite .site-header.is-scrolled { background: rgba(12, 2, 27, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* The chat preview is nearly a screen tall on phones: let swipes that reach its end keep scrolling the page */
.lite .chat-body { overscroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { transition: opacity .4s; transform: none; }
  .grad { animation: none; }
}
