:root {
  --bg: #0b0b16;
  --bg2: #101024;
  --card: #151528;
  --text: #f2f2fa;
  --muted: #9a9ab5;
  --cyan: #0ea5e9;
  --violet: #8b5cf6;
  --pink: #d946ef;
  --grad: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 64px 20px 56px;
  background:
    radial-gradient(600px 300px at 50% -60px, rgba(139, 92, 246, 0.22), transparent 70%),
    var(--bg);
}
.logo {
  width: 148px;
  height: 148px;
  border-radius: 34px;
  box-shadow: 0 18px 60px rgba(139, 92, 246, 0.35);
}
.hero h1 {
  font-size: 2.6rem;
  letter-spacing: -0.5px;
  margin-top: 18px;
}
.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 4px;
}
.sub { color: var(--muted); margin-top: 10px; max-width: 460px; margin-left: auto; margin-right: auto; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(217, 70, 239, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(217, 70, 239, 0.45); }
.dl-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.dl-row .dl-btn { margin-top: 0; }
.dl-gh {
  background: #24292f;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.dl-gh:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); }
.dl-tv {
  background: linear-gradient(135deg, #0ea5a4, #2563eb);
  box-shadow: 0 10px 34px rgba(14, 165, 164, 0.4);
}
.dl-tv:hover { box-shadow: 0 14px 40px rgba(14, 165, 164, 0.55); }
.dl-ver {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: 999px;
}
.dl-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* ---------- TV app announcement ---------- */
.tv-banner {
  max-width: 640px;
  margin: 0 auto 8px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  color: var(--text);
  text-align: center;
  font-size: 1rem;
}
.tv-banner strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- sections ---------- */
section { padding: 48px 20px; max-width: 1000px; margin: 0 auto; }
section h2 { font-size: 1.5rem; margin-bottom: 22px; text-align: center; }

/* ---------- screenshots ---------- */
.shot-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.shot-row img {
  height: 380px;
  border-radius: 18px;
  border: 1px solid #26263d;
  scroll-snap-align: start;
  background: var(--bg2);
}

/* ---------- features ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.feat {
  background: var(--card);
  border: 1px solid #23233a;
  border-radius: 16px;
  padding: 20px;
}
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 0.93rem; }

/* ---------- install ---------- */
.install ol {
  max-width: 560px;
  margin: 0 auto;
  padding-left: 24px;
  display: grid;
  gap: 12px;
}
.install li::marker { color: var(--violet); font-weight: 700; }
.install .note, .note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* ---------- addons ---------- */
.sec-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.addon-list { display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid #23233a;
  border-radius: 16px;
  padding: 18px 20px;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 0.93rem; }.addon {
  background: var(--card);
  border: 1px solid #23233a;
  border-radius: 16px;
  padding: 18px 20px;
}
.addon h3 { font-size: 1.05rem; }
.addon p { color: var(--muted); font-size: 0.9rem; margin: 4px 0 12px; }
.addon-row { display: flex; gap: 10px; align-items: stretch; }
.addon-url {
  flex: 1;
  min-width: 0;
  background: var(--bg2);
  border: 1px solid #2a2a48;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: #c9c9e6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}
.copy-btn {
  border: none;
  border-radius: 10px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--grad);
  cursor: pointer;
  white-space: nowrap;
}
.copy-btn.copied { background: #16a34a; }

/* ---------- links ---------- */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid #34345a;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: var(--card);
  transition: border-color 0.15s ease;
}
a.pill:hover { border-color: var(--violet); }
.pill.soon { color: var(--muted); border-style: dashed; cursor: default; }

/* ---------- footer ---------- */
footer {
  text-align: center;
  padding: 36px 20px 48px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid #1c1c31;
}
footer .fine { font-size: 0.78rem; margin-top: 6px; opacity: 0.75; }

@media (max-width: 520px) {
  .hero h1 { font-size: 2.1rem; }
  .shot-row img { height: 300px; }
}
