/* ClickEye website — dark neon look (navy, grid lines, cyan→indigo→violet glow). One theme on purpose. */
:root {
  --bg: #060a1c; --bg-2: #0a1030; --surface: rgba(18, 26, 64, .62); --surface-solid: #111a40; --surface-2: rgba(255, 255, 255, .045);
  --line: rgba(122, 140, 255, .2); --line-strong: rgba(130, 150, 255, .42);
  --ink: #eef1ff; --muted: #9ba6d4; --dim: #6c78a8;
  --cyan: #22d3ee; --indigo: #6366f1; --violet: #a855f7; --blue: #3b82f6;
  --accent: #7c83ff; --accent-ink: #ffffff; --accent-soft: rgba(99, 102, 241, .16);
  --grad: linear-gradient(100deg, var(--cyan), var(--indigo) 55%, var(--violet));
  --grad-btn: linear-gradient(100deg, #3b82f6, #6366f1 45%, #a855f7);
  --good: #34d399; --warn: #fbbf24; --bad: #f87171; --navy: #6366f1; --navy-2: #4f46e5;
  --radius: 18px; --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px rgba(124, 131, 255, .35), 0 0 28px rgba(99, 102, 241, .35);
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Kanit", "IBM Plex Sans Thai", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 58, 237, .28), transparent 60%),
    radial-gradient(700px 420px at -5% 20%, rgba(34, 211, 238, .12), transparent 60%),
    linear-gradient(rgba(120, 140, 255, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(120, 140, 255, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: #a5b4fc; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
code { font-size: .92em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }

/* Section label: small glowing pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(99, 102, 241, .12); color: #c7d2fe;
  font: 600 .74rem var(--font); text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
html[data-lang="th"] .eyebrow { letter-spacing: .03em; font-size: .8rem; text-transform: none; }

/* Language: every bilingual string is written twice; only the active one shows. */
html[data-lang="th"] [lang="en"]:not(html), html[data-lang="en"] [lang="th"]:not(html) { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(6, 10, 28, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.2rem var(--display); color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 18px rgba(99, 102, 241, .45); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; justify-content: center; }
.nav a { position: relative; color: var(--muted); padding: 8px 12px; font-weight: 500; font-size: .94rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font); cursor: pointer; }
.lang-toggle:hover { border-color: var(--line-strong); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; padding: 12px 20px; font: 600 .98rem var(--font); cursor: pointer; text-decoration: none !important; transition: transform .14s, box-shadow .14s, filter .14s; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 26px rgba(99, 102, 241, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 10px 32px rgba(139, 92, 246, .55); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 7px 13px; font-size: .86rem; border-radius: 10px; }
.btn-danger { background: linear-gradient(100deg, #ef4444, #db2777); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .play { width: 18px; height: 18px; flex: none; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding-block: 72px; position: relative; }
.section-divider { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(99, 102, 241, .06), transparent 220px); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge.accent { background: var(--accent-soft); color: #c7d2fe; border-color: var(--line-strong); }
.badge.good { background: rgba(52, 211, 153, .12); color: var(--good); border-color: rgba(52, 211, 153, .3); }
.badge.warn { background: rgba(251, 191, 36, .12); color: var(--warn); border-color: rgba(251, 191, 36, .3); }
.badge.bad { background: rgba(248, 113, 113, .12); color: var(--bad); border-color: rgba(248, 113, 113, .3); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; backdrop-filter: blur(6px); }
.card h3 { margin-bottom: .35em; }

/* ---------- Home ---------- */
.hero { padding-block: 64px 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1.02; margin-bottom: .12em; }
.hero .tagline { font: 600 clamp(1.5rem, 3.2vw, 2.3rem)/1.25 var(--display); margin: 0 0 .5em; }
.hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.perks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.perks span { display: inline-flex; align-items: center; gap: 7px; }
.perks svg { width: 17px; height: 17px; color: #a5b4fc; }
.hero-art { position: relative; min-height: 340px; padding: 30px 10px; }
.device {
  position: relative; background: #0c1130; border-radius: 26px; padding: 12px; border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(99, 102, 241, .35);
}
.device img { border-radius: 16px; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.hero-art .device { transform: perspective(1400px) rotateY(-12deg) rotateX(4deg); transform-origin: 60% 50%; }
.float-card {
  position: absolute; z-index: 2; background: rgba(13, 19, 50, .86); backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 10px 12px; box-shadow: var(--glow); font: 600 .72rem var(--font); letter-spacing: .08em; text-transform: uppercase; color: #c7d2fe;
}
.float-card img { width: 168px; border-radius: 10px; margin-bottom: 8px; border: 1px solid rgba(52, 211, 153, .6); box-shadow: 0 0 16px rgba(52, 211, 153, .35); }
.float-card b { display: block; color: var(--good); font-size: .95rem; letter-spacing: 0; }
.float-a { left: -8px; top: -6px; transform: rotate(-6deg); }
.float-b { right: 0; bottom: 0; color: var(--cyan); text-shadow: 0 0 12px rgba(34, 211, 238, .6); border-color: rgba(34, 211, 238, .45); }
.cross { position: absolute; width: 34px; height: 34px; color: rgba(165, 180, 252, .55); pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.reticle { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(165, 180, 252, .25); pointer-events: none; }
.reticle::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; border: 1px solid rgba(165, 180, 252, .35); }

.features-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: center; }
.feature-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fcard:hover { border-color: var(--line-strong); box-shadow: var(--glow); transform: translateY(-2px); }
.fcard .no { position: absolute; top: 14px; right: 16px; font: 600 .82rem var(--display); color: var(--dim); }
.fcard h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.fcard p { color: var(--muted); font-size: .9rem; margin: 0; }
.feature-icon {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #e0e7ff;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, .5), rgba(30, 27, 75, .9)); box-shadow: 0 0 0 1px rgba(124, 131, 255, .5), 0 0 22px rgba(99, 102, 241, .5);
}
.feature-icon svg { width: 24px; height: 24px; }

.carousel { position: relative; margin-top: 30px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; margin: 0; }
.slide .device { padding: 8px; border-radius: 18px; }
.slide .device img { border-radius: 11px; }
.slide figcaption { text-align: center; padding-top: 12px; }
.slide figcaption b { display: block; font: 600 1.02rem var(--display); }
.slide figcaption span { color: var(--muted); font-size: .86rem; }
.nav-btn { position: absolute; top: 34%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(13, 19, 50, .9); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--glow); }
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn.prev { left: -14px; } .nav-btn.next { right: -14px; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots i { width: 18px; height: 5px; border-radius: 3px; background: rgba(165, 180, 252, .25); transition: width .2s; }
.dots i.on { width: 30px; background: var(--grad); }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .7fr); gap: 20px; align-items: start; margin-top: 34px; }
.step3 { position: relative; }
.step3 .ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, .6), rgba(30, 27, 75, .95)); box-shadow: 0 0 0 1px rgba(167, 139, 250, .6), 0 0 26px rgba(139, 92, 246, .55); }
.step3 .ic svg { width: 26px; height: 26px; }
.step3 .num { font: 600 .78rem var(--display); color: var(--dim); margin-bottom: 6px; }
.step3 h3 { margin: 14px 0 4px; }
.step3 p { color: var(--muted); font-size: .92rem; margin: 0; }
.step3:not(:nth-child(3))::after { content: ""; position: absolute; top: 58px; left: 74px; right: -6px; border-top: 2px dashed rgba(124, 131, 255, .45); }
.ready { justify-self: center; align-self: center; text-align: center; transform: rotate(-8deg); color: var(--muted); font: 600 .8rem var(--display); letter-spacing: .12em; text-transform: uppercase; }
.ready .ring { width: 86px; height: 86px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 24px rgba(34, 211, 238, .5), inset 0 0 18px rgba(34, 211, 238, .25); }
.ready .ring svg { width: 40px; height: 40px; }

.news-list { display: grid; gap: 14px; }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ncard { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
a.ncard:hover { text-decoration: none; border-color: var(--line-strong); box-shadow: var(--glow); }
.ncard .nic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(99, 102, 241, .55), rgba(168, 85, 247, .38)); box-shadow: 0 0 18px rgba(99, 102, 241, .35); }
.ncard .nic svg { width: 28px; height: 28px; color: #fff; }
.ncard time { font-size: .8rem; color: var(--dim); }
.ncard h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.ncard p { margin: 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item { display: grid; gap: 4px; }
.news-item time { font-size: .82rem; color: var(--dim); }
.news-body { white-space: pre-line; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
details.faq + details.faq { margin-top: 10px; }
details.faq[open] { border-color: var(--line-strong); box-shadow: var(--glow); }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(225deg); margin-top: 10px; }
details.faq p { margin: 10px 0 0; }

.band, .cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 48px 32px 56px; text-align: center; border: 1px solid var(--line-strong);
  background: radial-gradient(600px 220px at 50% 0%, rgba(124, 58, 237, .45), transparent 70%), linear-gradient(180deg, #121a4a, #0a0f2e);
  box-shadow: 0 0 60px rgba(99, 102, 241, .25);
}
.band { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: left; padding: 34px; }
.band p { color: var(--muted); margin: 0; }
.cta h2 { margin-bottom: .2em; }
.cta .mountains { position: absolute; inset: auto 0 0 0; height: 130px; width: 100%; opacity: .6; pointer-events: none; }
.cta > .inner { position: relative; }
.checks { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.checks span { display: inline-flex; gap: 7px; align-items: center; }
.checks svg { width: 17px; height: 17px; color: var(--cyan); }

/* Docs */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: .92rem; }
.toc a { color: var(--muted); padding: 5px 10px; border-radius: 8px; }
.toc a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; padding-top: .4em; scroll-margin-top: 84px; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .tip { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 1em 0; }
kbd, .chip { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; font: 600 .85em var(--font); }

/* Forms */
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea { width: 100%; font: 400 1rem var(--font); color: var(--ink); background: rgba(8, 12, 34, .7); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(124, 131, 255, .45); border-color: var(--accent); }
.form { display: grid; gap: 14px; }
.segmented { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; color: var(--muted); font: 600 .92rem var(--font); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.segmented button.on { background: var(--grad-btn); color: #fff; }
.notice { border-radius: 12px; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); }
.notice.err { background: rgba(248, 113, 113, .12); color: var(--bad); border-color: rgba(248, 113, 113, .3); }
.notice.ok { background: rgba(52, 211, 153, .12); color: var(--good); border-color: rgba(52, 211, 153, .3); }
.vote { display: grid; justify-items: center; gap: 2px; min-width: 56px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 8px; cursor: pointer; font: 700 1rem var(--font); color: var(--ink); }
.vote.on { border-color: var(--accent); color: #c7d2fe; background: var(--accent-soft); box-shadow: var(--glow); }
.req { display: flex; gap: 14px; align-items: flex-start; }
.req .body { min-width: 0; flex: 1; }
.req p { margin: .2em 0 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 34px; margin-top: 40px; color: var(--muted); font-size: .9rem; background: rgba(6, 10, 28, .6); }
.site-footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.config-warning { background: rgba(251, 191, 36, .14); color: var(--warn); text-align: center; padding: 8px 16px; font-size: .9rem; }

/* ---------- Visual guide ---------- */
.vguide { display: grid; gap: 56px; }
.vstep { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; scroll-margin-top: 90px; }
.vstep:nth-child(even) .shot { order: 2; }
.vstep-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.vnum { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--grad-btn); color: #fff; font: 600 1rem var(--display); display: grid; place-items: center; box-shadow: 0 0 18px rgba(99, 102, 241, .5); }
.vstep h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.vstep .lead { color: var(--muted); margin: 0 0 14px; }
.shot { position: relative; background: #0c1130; border: 1px solid var(--line-strong); border-radius: 20px; padding: 10px; box-shadow: var(--shadow), 0 0 40px rgba(99, 102, 241, .25); }
.shot img { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; }
.pins { position: absolute; inset: 10px; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #ff8a3d, #ff5a1f); color: #fff; font: 800 .74rem var(--font); display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, .45); animation: pin-pop .5s both; }
.pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #ff7a2e; opacity: .55; animation: pin-ring 2.4s ease-out infinite; }
@keyframes pin-pop { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } }
@keyframes pin-ring { 0% { transform: scale(.8); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin, .pin::after { animation: none; } html { scroll-behavior: auto; } }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.legend b.n { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #ff8a3d, #ff5a1f); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.legend span.t { padding-top: 1px; }
.legend strong { display: block; }
.legend small { color: var(--muted); font-size: .88rem; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.mini img { border-radius: 9px; aspect-ratio: 16 / 9; width: 100%; }
.mini p { margin: 8px 4px 2px; font-size: .9rem; color: var(--muted); }
.mini p b { color: var(--ink); }
.legend-rings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.legend-rings .ring { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 6px; }
.legend-rings .ring i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c); }
.quicknav { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 36px; }
.quicknav a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; }
.quicknav a:hover { border-color: var(--line-strong); text-decoration: none; box-shadow: var(--glow); }

@media (max-width: 960px) {
  .hero-grid, .doc, .split, .features-grid, .faq-grid, .vstep { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > *, .doc > * { min-width: 0; }
  .hero-art .device { transform: none; }
  .vstep:nth-child(even) .shot { order: 0; }
  .feature-cards, .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .step3::after { display: none; }
  .ready { display: none; }
  .toc { position: static; grid-template-columns: 1fr 1fr; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 6px; }
  .track { grid-auto-columns: minmax(260px, 78%); }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .feature-cards, .news-cards, .mini-grid { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 48px; }
  .band, .cta { padding: 28px 18px 44px; }
  .float-card img { width: 96px; }
  .pin { width: 20px; height: 20px; font-size: .7rem; }
}

/* ===================== Template fidelity pass ===================== */
/* Star dust + stronger nebula behind the hero */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 32% 68%, #c7d2fe, transparent),
    radial-gradient(1.5px 1.5px at 58% 14%, #fff, transparent), radial-gradient(1px 1px at 76% 82%, #a5f3fc, transparent),
    radial-gradient(1px 1px at 88% 36%, #fff, transparent), radial-gradient(1.5px 1.5px at 46% 46%, #e9d5ff, transparent),
    radial-gradient(1px 1px at 6% 86%, #fff, transparent), radial-gradient(1px 1px at 96% 8%, #c7d2fe, transparent); }
.hero::after { content: ""; position: absolute; right: -8%; top: -12%; width: 62%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .38), rgba(59, 130, 246, .12) 55%, transparent); filter: blur(10px); }
.hero > .wrap { position: relative; z-index: 1; }

/* Section panels: rounded top edge with a glowing rim (stacked bands) */
.section-divider { border-top: 0; margin-top: -8px; border-radius: 40px 40px 0 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(36, 48, 130, .38), rgba(14, 20, 58, .25) 38%, rgba(6, 10, 28, 0) 100%);
  box-shadow: inset 0 1px 0 rgba(165, 180, 252, .28); }
.section-divider::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .8), rgba(168, 85, 247, .8), transparent); box-shadow: 0 0 18px rgba(124, 131, 255, .7); }

/* Crosshair with a centre ring */
.cross { width: 46px; height: 46px; color: rgba(199, 210, 254, .65); }
.cross::before { box-shadow: 0 0 6px rgba(165, 180, 252, .8); }
.cross i { position: absolute; inset: 15px; border: 1px solid rgba(199, 210, 254, .45); border-radius: 50%; }
.reticle { border-color: rgba(165, 180, 252, .32); box-shadow: 0 0 30px rgba(99, 102, 241, .18), inset 0 0 24px rgba(99, 102, 241, .12); }
.reticle::after { content: ""; position: absolute; left: 50%; top: -10px; bottom: -10px; width: 1px; background: linear-gradient(transparent, rgba(165, 180, 252, .5), transparent); }

/* Eyebrow with an icon instead of a dot */
.eyebrow svg { width: 15px; height: 15px; color: var(--cyan); filter: drop-shadow(0 0 5px rgba(34, 211, 238, .8)); }
.eyebrow:has(svg)::before { display: none; }

/* Perks: icons in small outlined tiles */
.perks { gap: 14px; font-size: .86rem; }
.perks svg { width: 26px; height: 26px; padding: 5px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(99, 102, 241, .12); color: #c7d2fe; }

/* Gradient play glyph (generic, not the store logo) */
.play-g { width: 22px; height: 22px; flex: none; }

/* Hero: second floating card + glow pool under the device */
.float-c { right: -18px; top: -30px; transform: rotate(5deg); padding: 8px; }
.float-c img { width: 176px; margin: 0; border-color: rgba(124, 196, 255, .7); box-shadow: 0 0 18px rgba(124, 196, 255, .45); }
.hero-art .device::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -34px; height: 30px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .7), transparent); filter: blur(6px); }

/* Feature cards: glowing gradient-ring icons, one colour per column */
.fcard { --ring: #22d3ee; background: linear-gradient(180deg, rgba(30, 40, 110, .55), rgba(12, 18, 52, .7)); border-color: rgba(122, 140, 255, .28);
  box-shadow: inset 0 1px 0 rgba(165, 180, 252, .18); }
.fcard:nth-child(3n+2) { --ring: #60a5fa; }
.fcard:nth-child(3n) { --ring: #a855f7; }
.fcard::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--ring), transparent); opacity: .85; }
.fcard .feature-icon { width: 54px; height: 54px; color: #fff;
  background: radial-gradient(circle, rgba(10, 14, 40, .95) 58%, transparent 60%), conic-gradient(from 210deg, var(--ring), #6366f1, var(--ring));
  box-shadow: 0 0 22px color-mix(in srgb, var(--ring) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--ring) 40%, transparent); }
.fcard .feature-icon svg { filter: drop-shadow(0 0 6px var(--ring)); }

/* Preview: faded big numeral + device silhouettes */
#preview::after { content: "3"; position: absolute; right: 10%; top: 20px; font: 600 260px/1 var(--display); color: transparent;
  -webkit-text-stroke: 1px rgba(165, 180, 252, .14); pointer-events: none; }
.ghost-device { position: absolute; width: 150px; height: 280px; border-radius: 28px; border: 1px solid rgba(165, 180, 252, .16);
  background: linear-gradient(160deg, rgba(99, 102, 241, .1), transparent); pointer-events: none; }
.dots i.on { box-shadow: 0 0 10px rgba(124, 131, 255, .8); }

/* Steps: coloured rings, dashed arrows with heads */
.step3:nth-child(1) { --ring: #a855f7; } .step3:nth-child(2) { --ring: #3b82f6; } .step3:nth-child(3) { --ring: #22d3ee; }
.step3 .ic { background: radial-gradient(circle, rgba(10, 14, 40, .95) 58%, transparent 60%), conic-gradient(from 200deg, var(--ring), #6366f1, var(--ring));
  box-shadow: 0 0 26px color-mix(in srgb, var(--ring) 60%, transparent); }
.step3 .ic svg { filter: drop-shadow(0 0 6px var(--ring)); }
.step3:not(:nth-child(3))::after { top: 58px; left: 76px; right: 6px; border-top: 2px dashed rgba(124, 131, 255, .6); }
.step3:not(:nth-child(3))::before { content: ""; position: absolute; top: 53px; right: 2px; width: 10px; height: 10px;
  border-top: 2px solid rgba(165, 180, 252, .85); border-right: 2px solid rgba(165, 180, 252, .85); transform: rotate(45deg); }
.ready { position: relative; padding: 26px 18px; }
.ready::before { content: ""; position: absolute; inset: -34px 6px; border-radius: 28px; border: 1px solid rgba(165, 180, 252, .22);
  background: linear-gradient(160deg, rgba(99, 102, 241, .14), rgba(6, 10, 28, .2)); z-index: -1; }

/* News cards: glossy icon tile + round arrow button */
.ncard { position: relative; background: linear-gradient(180deg, rgba(30, 40, 110, .5), rgba(12, 18, 52, .7)); padding-bottom: 46px; }
.ncard .nic { background: linear-gradient(145deg, #6366f1, #a855f7); box-shadow: 0 8px 22px rgba(99, 102, 241, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.ncard .go { position: absolute; right: 14px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: #c7d2fe; background: rgba(99, 102, 241, .15); }
.ncard .go svg { width: 14px; height: 14px; }

/* FAQ: big faded question mark */
#faq .faq-grid > div:first-child { position: relative; }
#faq .faq-grid > div:first-child::after { content: "?"; position: absolute; right: 8%; top: -6px; font: 600 220px/1 var(--display); color: transparent;
  -webkit-text-stroke: 2px rgba(165, 180, 252, .16); pointer-events: none; z-index: -1; }
details.faq { background: linear-gradient(180deg, rgba(30, 40, 110, .45), rgba(12, 18, 52, .6)); padding: 11px 16px; }

/* CTA: arched band (template), bright blue→violet, perspective floor grid, side mountains, big cyan reticles */
.cta-band { position: relative; overflow: hidden; margin-top: 30px; padding: 70px 20px 64px; text-align: center;
  border-radius: 50% 50% 0 0 / 64px 64px 0 0;
  background: radial-gradient(520px 220px at 50% 38%, rgba(165, 180, 252, .35), transparent 70%),
    linear-gradient(180deg, #2c46d6 0%, #3a35b8 38%, #2a1f86 70%, #150f4a 100%);
  box-shadow: inset 0 2px 0 rgba(199, 210, 254, .85), inset 0 10px 30px rgba(165, 180, 252, .35), 0 -10px 40px rgba(124, 58, 237, .45); }
.cta-band .floor { position: absolute; left: -20%; right: -20%; bottom: -10px; height: 210px; pointer-events: none; transform: perspective(420px) rotateX(62deg); transform-origin: bottom;
  background: linear-gradient(rgba(165, 200, 255, .35) 1px, transparent 1px) 0 0 / 60px 34px, linear-gradient(90deg, rgba(165, 200, 255, .35) 1px, transparent 1px) 0 0 / 60px 34px;
  -webkit-mask: linear-gradient(transparent, #000 60%); mask: linear-gradient(transparent, #000 60%); }
.cta-band .mtn { position: absolute; bottom: 0; height: 74%; width: 30%; pointer-events: none; opacity: .9; }
.cta-band .mtn.l { left: 0; } .cta-band .mtn.r { right: 0; transform: scaleX(-1); }
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .25em; text-shadow: 0 2px 20px rgba(20, 10, 80, .6); }
.cta-band h2 .grad-text { background: linear-gradient(100deg, #c4b5fd, #a78bfa 50%, #e9d5ff); -webkit-background-clip: text; background-clip: text; }
.cta-band p.muted { color: #c7d2fe; }
.cta-band .btn-primary { margin-top: 10px; padding: 15px 64px; border-radius: 14px; font-size: 1.02rem;
  background: linear-gradient(100deg, #5a7cff, #8a6dff 55%, #b483ff); box-shadow: 0 10px 34px rgba(80, 60, 220, .6), inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 1px rgba(255, 255, 255, .18); }
.cta-band .scope { position: absolute; z-index: 1; width: 104px; height: 104px; border-radius: 50%; top: 50%; margin-top: -60px; pointer-events: none;
  border: 2px solid rgba(125, 211, 252, .75); box-shadow: 0 0 22px rgba(56, 189, 248, .55), inset 0 0 18px rgba(56, 189, 248, .35); }
.cta-band .scope::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 2px solid rgba(125, 211, 252, .85); box-shadow: 0 0 10px rgba(56, 189, 248, .6); }
.cta-band .scope::after { content: ""; position: absolute; left: -26px; right: -26px; top: 50%; height: 1.5px; background: linear-gradient(90deg, transparent, #7dd3fc 20%, #7dd3fc 80%, transparent);
  box-shadow: 0 0 8px #38bdf8; }
.cta-band .scope i { position: absolute; top: -26px; bottom: -26px; left: 50%; width: 1.5px; background: linear-gradient(transparent, #7dd3fc 20%, #7dd3fc 80%, transparent); box-shadow: 0 0 8px #38bdf8; }
.cta-band .scope.l { left: 17%; } .cta-band .scope.r { right: 9%; width: 88px; height: 88px; margin-top: -78px; }
.cta-band .scope.r::before { inset: 26px; }
.cta-band .tick { position: absolute; z-index: 1; width: 34px; height: 34px; pointer-events: none; color: rgba(186, 230, 253, .8); }
.cta-band .tick::before, .cta-band .tick::after { content: ""; position: absolute; background: currentColor; box-shadow: 0 0 6px #38bdf8; }
.cta-band .tick::before { left: 50%; top: 0; bottom: 0; width: 1.5px; } .cta-band .tick::after { top: 50%; left: 0; right: 0; height: 1.5px; }
.cta-band .checks { margin-top: 26px; gap: 26px; color: #dbe4ff; }
.cta-band .checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; border: 0;
  background: linear-gradient(135deg, #38bdf8, #6366f1); box-shadow: 0 0 10px rgba(56, 189, 248, .55); }
@media (max-width: 760px) { .cta-band { border-radius: 50% 50% 0 0 / 34px 34px 0 0; } .cta-band .scope, .cta-band .tick, .cta-band .mtn { display: none; } .cta-band .btn-primary { padding: 14px 28px; } }

@media (max-width: 960px) { #preview::after, #faq .faq-grid > div:first-child::after, .ghost-device, .float-c { display: none; } }

/* Hero game backgrounds (original art). Left side darkened so the copy stays readable; bottom fades into the page. */
.hero.bg-a, .hero.bg-b, .hero.bg-c { background-repeat: no-repeat; background-size: cover; background-position: center right; }
.hero.bg-a { background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), url(/assets/art/hero-a.svg); }
.hero.bg-b { background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), url(/assets/art/hero-b.svg); }
.hero.bg-c { background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), url(/assets/art/hero-c.svg); }
.hero[class*="bg-"]::after { opacity: .25; }
.hero[class*="bg-"] { padding-bottom: 120px; }

/* Photo backgrounds (CC0) with a violet wash to match the site */
.hero.bg-pa { background-repeat: no-repeat; background-size: cover; background-position: center bottom; background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), linear-gradient(rgba(40, 20, 120, .28), rgba(40, 20, 120, .28)), url(/assets/art/hero-photo-a.jpg); }
.hero.bg-pb { background-repeat: no-repeat; background-size: cover; background-position: center center; background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), linear-gradient(rgba(40, 20, 120, .28), rgba(40, 20, 120, .28)), url(/assets/art/hero-photo-b.jpg); }
.hero.bg-pc { background-repeat: no-repeat; background-size: cover; background-position: center center; background-image: linear-gradient(180deg, transparent 82%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .9) 0%, rgba(6, 10, 28, .62) 30%, rgba(6, 10, 28, .08) 56%, transparent), linear-gradient(rgba(40, 20, 120, .28), rgba(40, 20, 120, .28)), url(/assets/art/hero-photo-c.jpg); }
.hero[class*="bg-p"]::after { opacity: .3; }
.hero[class*="bg-p"] { padding-bottom: 120px; }

/* Header download button (template): bright pill, play mark, chevron */
.btn-dl { gap: 8px; padding: 9px 14px 9px 12px; border-radius: 12px; font-size: .9rem;
  background: linear-gradient(100deg, #3b82f6, #6366f1 45%, #a855f7); box-shadow: 0 6px 20px rgba(99, 102, 241, .55), inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(255, 255, 255, .15); }
.btn-dl .pmark { width: 20px; height: 20px; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.btn-dl .chev { width: 14px; height: 14px; margin-left: 2px; opacity: .9; }

/* Section top edge (user pick): a glowing swoosh — thicker and brighter on the left, thinning into a straight rim to the right */
.section-divider { border-radius: 0; box-shadow: none; margin-top: 0; padding-top: 96px;
  background: linear-gradient(180deg, transparent 0 21px, rgba(20, 28, 85, .35) 21px, rgba(14, 20, 58, .2) 30%, rgba(6, 10, 28, 0) 100%); }
.section-divider::before { left: 0; right: 0; top: 0; height: 44px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2044%22%20preserveAspectRatio%3D%22none%22%3E%20%3Cdefs%3E%3ClinearGradient%20id%3D%22f%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%234a5cf0%22/%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%232e3aa0%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231a2366%22/%3E%3C/linearGradient%3E%20%3ClinearGradient%20id%3D%22v%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.85%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22/%3E%3C/linearGradient%3E%20%3Cmask%20id%3D%22m%22%3E%3Crect%20width%3D%221440%22%20height%3D%2244%22%20fill%3D%22url%28%23v%29%22/%3E%3C/mask%3E%20%3ClinearGradient%20id%3D%22l%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23a5b4ff%22/%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%236b7cff%22%20stop-opacity%3D%22.7%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2322d3ee%22%20stop-opacity%3D%22.45%22/%3E%3C/linearGradient%3E%3C/defs%3E%20%3Cpath%20d%3D%22M0%2044V18C40%206%2090%202%20160%206%20300%2014%20520%2020%20760%2020H1400c22%200%2040%208%2040%2024z%22%20fill%3D%22url%28%23f%29%22%20mask%3D%22url%28%23m%29%22/%3E%20%3Cpath%20d%3D%22M0%2018C40%206%2090%202%20160%206%20300%2014%20520%2020%20760%2020H1400c22%200%2040%208%2040%2024%22%20fill%3D%22none%22%20stroke%3D%22url%28%23l%29%22%20stroke-width%3D%221.6%22/%3E%20%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  box-shadow: none; filter: drop-shadow(0 -2px 10px rgba(99, 102, 241, .45)); }

/* Home: CTA runs straight into the footer — no gap, one continuous band to the bottom of the page */
body:has(.cta-band) main { padding-bottom: 0; }
body:has(.cta-band) .site-footer { margin-top: 0; border-top: 0; position: relative; padding-block: 26px 34px;
  background: linear-gradient(180deg, #0f1342, #0a0d2c); }
.cta-band { margin-bottom: 0; padding-bottom: 110px; background: radial-gradient(520px 220px at 50% 38%, rgba(165, 180, 252, .35), transparent 70%),
    linear-gradient(180deg, #2c46d6 0%, #3a35b8 34%, #2a1f86 62%, #171463 86%, #0f1342 100%); }
.cta-band .floor { bottom: 0; height: 240px; }
.cta-band .mtn { height: 86%; }
.cta-band .mtn { -webkit-mask: linear-gradient(#000 62%, transparent); mask: linear-gradient(#000 62%, transparent); }
.cta-band .floor { -webkit-mask: linear-gradient(transparent, #000 45%, transparent); mask: linear-gradient(transparent, #000 45%, transparent); }

/* Hero title: white diamond — faceted silver/ice gradient, white glow, moving glint, sparkles */
.hero h1.diamond { position: relative; display: inline-block; color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95) 0 46%, rgba(150, 170, 235, .9) 46% 54%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(115deg, #ffffff 0 12%, #9fb0f0 12% 18%, #ffffff 18% 30%, #c9d6ff 30% 36%, #ffffff 36% 47%, #8c9de6 47% 52%, #f4f7ff 52% 64%, #b4c3ff 64% 70%, #ffffff 70% 82%, #9aabf0 82% 87%, #ffffff 87%);
  background-blend-mode: soft-light;
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .95)) drop-shadow(0 0 14px rgba(200, 215, 255, .75)) drop-shadow(0 0 34px rgba(140, 160, 255, .55));
  animation: diamond-shift 6s ease-in-out infinite; }
/* glint sweeping across the letters */
.hero h1.diamond::after { content: attr(data-text); position: absolute; left: 0; top: 0; color: transparent; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .95) 48%, #fff 50%, rgba(255, 255, 255, .95) 52%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; -webkit-background-clip: text; background-clip: text; animation: diamond-glint 3.8s ease-in-out infinite; }
.hero h1.diamond .spark { position: absolute; width: 26px; height: 22px; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, #fff 0 2px, transparent 3px), linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px #c7d2fe); transform: rotate(0) scale(.2); opacity: 0; animation: sparkle 3.8s ease-in-out infinite; }
.hero h1.diamond .s1 { left: 6%; top: 8%; } .hero h1.diamond .s2 { left: 52%; top: 0; animation-delay: 1.2s; width: 16px; height: 16px; } .hero h1.diamond .s3 { right: 2%; top: 46%; animation-delay: 2.4s; }
@keyframes diamond-shift { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes diamond-glint { 0% { background-position: 150% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes sparkle { 0%, 55%, 100% { opacity: 0; transform: rotate(0) scale(.2); } 72% { opacity: 1; transform: rotate(45deg) scale(1); } 90% { opacity: .6; transform: rotate(90deg) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .hero h1.diamond, .hero h1.diamond::after, .hero h1.diamond .spark { animation: none; } .hero h1.diamond .spark { opacity: .8; transform: rotate(45deg) scale(.8); } }

/* CTA "ClickEye": soft diamond — smooth silver/ice gradient (no hard facets), white glow, slow glint */
.diamond-soft { position: relative; display: inline-block; color: transparent;
  background: linear-gradient(120deg, #ffffff 0%, #eef2ff 16%, #b3c1fb 34%, #ffffff 48%, #e3e9ff 62%, #a9b6f6 80%, #ffffff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  text-shadow: none; filter: drop-shadow(0 1px 1px rgba(20, 14, 80, .75)) drop-shadow(0 0 6px rgba(235, 240, 255, .55)) drop-shadow(0 0 18px rgba(170, 185, 255, .35));
  animation: diamond-shift 7s ease-in-out infinite; }
.diamond-soft::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; text-shadow: none; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; -webkit-background-clip: text; background-clip: text; animation: diamond-glint 4.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .diamond-soft, .diamond-soft::after { animation: none; } }

/* Soft-diamond family everywhere (user liked the CTA): hero title, header brand, page headings */
.hero h1.diamond { background: linear-gradient(120deg, #ffffff 0%, #eef2ff 16%, #b3c1fb 34%, #ffffff 48%, #e3e9ff 62%, #a9b6f6 80%, #ffffff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; background-blend-mode: normal;
  filter: drop-shadow(0 1px 1px rgba(20, 14, 80, .7)) drop-shadow(0 0 8px rgba(235, 240, 255, .55)) drop-shadow(0 0 26px rgba(170, 185, 255, .4));
  animation: diamond-shift 7s ease-in-out infinite; }
.hero h1.diamond::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat; background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation-duration: 4.5s; }
.brand .diamond-soft { filter: drop-shadow(0 0 5px rgba(220, 228, 255, .45)); }
/* Headings: quiet silver sheen, no motion */
main h1:not(.diamond), main section:not(.cta-band) h2, .vstep h2 { background: linear-gradient(120deg, #ffffff 0%, #e8edff 35%, #b9c5fb 60%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(170, 185, 255, .25)); }
main h1 .grad-text, main h2 .grad-text { filter: none; }
.fcard h3, .step3 h3, .ncard h3 { color: #f4f6ff; }

/* Arrow cursor over text (no I-beam); links/buttons keep the hand, form fields keep the text cursor */
body { cursor: default; }
a, button, summary, label, .btn, .vote, .nav-btn, .lang-toggle, [role="button"] { cursor: pointer; }
input, textarea, select, [contenteditable="true"] { cursor: text; }

/* Hero badge "เจอปุ๊บ แตะปั๊บ" (option A): bolt tile + two lines, cyan glow */
.float-b.bolt { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; text-transform: none; letter-spacing: 0; text-shadow: none;
  background: linear-gradient(135deg, rgba(13, 19, 50, .94), rgba(30, 27, 90, .94)); border: 1px solid rgba(34, 211, 238, .6);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .15), 0 0 26px rgba(34, 211, 238, .45); }
.float-b.bolt .bic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, #22d3ee, #6366f1); box-shadow: 0 0 18px rgba(34, 211, 238, .7); }
.float-b.bolt .bic svg { width: 22px; height: 22px; }
.float-b.bolt .bt { display: block; font: 600 17px/1.15 var(--display); color: #fff; }
.float-b.bolt .bs { display: block; margin-top: 3px; font: 500 12.5px var(--font); color: #a5f3fc; }

/* Hero cards: real photo scene + game UI overlay */
.gshot { display: block; position: relative; width: 168px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 8px;
  background: #0c1130 center / cover no-repeat; border: 1px solid rgba(52, 211, 153, .6); box-shadow: 0 0 16px rgba(52, 211, 153, .35); }
.gshot img { position: absolute; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.float-c .gshot { width: 196px; margin: 0; border-color: rgba(124, 196, 255, .7); box-shadow: 0 0 18px rgba(124, 196, 255, .45); }
.gshot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -30px 40px rgba(5, 8, 22, .25); }
@media (max-width: 560px) { .gshot { width: 120px; } .float-c .gshot { width: 140px; } }

/* Hero background: night castle (user-supplied art). Its own left side is dark, so a lighter wash is enough. */
.hero.bg-castle { background-repeat: no-repeat; background-size: cover; background-position: 62% center; padding-bottom: 120px;
  background-image: linear-gradient(180deg, transparent 80%, var(--bg)), linear-gradient(90deg, rgba(6, 10, 28, .85) 0%, rgba(6, 10, 28, .5) 30%, rgba(6, 10, 28, 0) 55%),
    url(/assets/art/hero-castle.jpg); }
.hero.bg-castle::after { opacity: .2; }
.hero.bg-castle::before { opacity: .3; }

/* Home hero: link to the /showcase presentation */
.new-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: .86rem; color: var(--ink);
  background: rgba(10, 16, 48, .7); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.new-pill:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 211, 238, .3); }
.new-pill b { padding: 2px 10px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: .76rem; }
