:root {
  --bg: #0b0b10;
  --bg-2: #111118;
  --card: #15151e;
  --line: #25253a;
  --text: #eef0f6;
  --muted: #9a9cb0;
  --accent: #7c6cff;
  --accent-2: #a79dff;
  --tiktok: #25f4ee;
  --twitch: #9146ff;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #8f82ff; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #3a3a55; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 15px; border-radius: 10px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 auto 18px; max-width: 820px; font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--tiktok), var(--accent) 55%, var(--twitch));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- the live demo ---------- */
.demo {
  margin: 48px auto 0; max-width: 960px; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; position: relative; text-align: left;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(124, 108, 255, .08);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(80, 160, 120, .55), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(170, 100, 60, .55), transparent 55%),
    radial-gradient(ellipse at 60% 20%, rgba(60, 90, 160, .45), transparent 50%),
    linear-gradient(135deg, #1d2b25, #2b2420);
}
.demo::before {   /* soft "game" shapes so it reads as gameplay */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 65%, rgba(255, 255, 255, .06) 0 60px, transparent 61px),
    radial-gradient(circle at 42% 58%, rgba(255, 255, 255, .04) 0 110px, transparent 111px),
    linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 40%);
}
.demo .live {
  position: absolute; top: 16px; left: 16px; background: #fe2c55; color: #fff;
  font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 6px; letter-spacing: .06em;
}
.demo .crosshair {
  position: absolute; left: 36%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%;
}

.ov {                      /* the overlay window, as it looks locked + transparent */
  position: absolute; right: 3%; top: 5%; bottom: 5%; width: 38%;
  display: flex; flex-direction: column;
}
.ov-head {
  display: flex; align-items: center; gap: 14px; padding: 0 2px 8px;
  color: #fff; font-size: clamp(10px, 1.25vw, 13px); font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.ov-title { opacity: .9; }
.ov-head .views { display: flex; gap: 10px; font-weight: 600; }
.overlay {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }

.msg {
  align-self: flex-start; max-width: 100%;
  padding: 7px 12px; border-radius: 14px; font-size: clamp(10px, 1.35vw, 14px); line-height: 1.35;
  color: #eef1f6; background: #1f2437;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.msg.tw { background: #2a1f47; }
.msg .name { display: block; font-weight: 700; color: #8ecbff; }
.msg.tw .name { color: #c7a6ff; }
.msg .name.sub { color: #ffd27a; }
.msg .tr { display: block; color: #9fb3c8; font-size: .86em; font-style: italic; }
.msg.event { font-weight: 700; }
.msg.gift { background: #3a2e12; color: #ffd27a; }
.msg.follow { background: #12331f; color: #86e0a0; }
.msg.raid { background: #3a1d10; color: #ffab7a; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.demo-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.eyebrow { color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.15; text-align: center; margin: 8px 0 48px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(124, 108, 255, .15);
  color: var(--accent-2); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .05); }
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(124, 108, 255, .18); }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  letter-spacing: .04em; white-space: nowrap;
}
.plan h3 { margin: 0; font-size: 20px; }
.plan .for { color: var(--muted); font-size: 15px; margin: 4px 0 20px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price .now { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.once { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 16px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg);
}
.plan li.plus { color: var(--muted); }
.plan li.plus::before { display: none; }
.plan .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; display: inline-block; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

/* ---------- final cta + footer ---------- */
.final { text-align: center; padding: 80px 0 96px; }
.final h2 { margin-bottom: 14px; }
.final p { color: var(--muted); margin: 0 0 28px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; font-size: 13px; color: #6d6f82; }

/* ---------- legal pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { text-align: left; font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: #c9cbd8; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 64px 0; }
  .ov { width: 52%; }
}
@media (max-width: 520px) {
  .ov { width: 64%; right: 2%; top: 12%; }
  .demo { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; }
  .btn:hover { transform: none; }
}
