/* ===== Gabo Player — design tokens ===== */
:root {
  --bg: #08060f;
  --bg-raise: #0e0a1a;
  --surface: #140e24;
  --surface-2: #1c1433;
  --border: rgba(158, 130, 255, 0.16);
  --border-hot: rgba(217, 38, 169, 0.45);
  --text: #f4f0fd;
  --text-muted: #a89cc8;
  --text-dim: #6f6590;
  --violet: #8b5cf6;
  --magenta: #e335b1;
  --accent-grad: linear-gradient(100deg, var(--violet), var(--magenta));

  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-hero: clamp(2.75rem, 1.3rem + 6.2vw, 5.75rem);
  --text-h2: clamp(1.8rem, 1.3rem + 2vw, 2.7rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 20px;

  --duration: 300ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { 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: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 6, 15, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
}

.logo-mark svg { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.1rem);
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }

.nav-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--text) !important;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav-cta:hover { border-color: var(--border-hot); background: rgba(217, 38, 169, 0.14); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--space-section) * 0.9) 0 calc(var(--space-section) * 0.7);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(35% 35% at 18% 22%, rgba(227, 53, 177, 0.13), transparent 70%),
    radial-gradient(35% 35% at 84% 30%, rgba(139, 92, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158, 130, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 130, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 55% at 50% 20%, black, transparent);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 20%, black, transparent);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdbdf5;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.8rem;
  background: rgba(139, 92, 246, 0.1);
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 10px var(--magenta);
}

.hero h1 {
  font-size: var(--text-hero);
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 56ch;
  margin: 0 auto 2.4rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 32px rgba(139, 92, 246, 0.42);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(227, 53, 177, 0.5);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.hero-note {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* ===== TV mockup ===== */
.tv-shell {
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 20, 51, 0.75), rgba(14, 10, 26, 0.9));
  padding: clamp(0.7rem, 2vw, 1.1rem);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(139, 92, 246, 0.18);
  text-align: left;
}

.tv-screen {
  border-radius: 12px;
  background: #0a0714;
  border: 1px solid rgba(158, 130, 255, 0.1);
  padding: clamp(1rem, 2.6vw, 1.7rem);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  overflow: hidden;
}

.tv-rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-top: 0.3rem;
}

.rail-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-dim);
}

.rail-dot.active {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.6);
}

.rail-dot svg { width: 15px; height: 15px; }

.tv-main { display: grid; gap: 1.1rem; min-width: 0; }

.tv-title-row { display: flex; align-items: center; gap: 0.9rem; }

.tv-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
}

.tv-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(227, 53, 177, 0.16);
  border: 1px solid rgba(227, 53, 177, 0.4);
  color: #f5a8dd;
}

.tv-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.6rem, 1.6vw, 1rem); }

.tv-card {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background:
    linear-gradient(170deg, rgba(158, 130, 255, 0.14), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(158, 130, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tv-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 30%;
  bottom: 10%;
  height: 6px;
  border-radius: 999px;
  background: rgba(158, 130, 255, 0.18);
}

.tv-card.glow {
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.75), rgba(227, 53, 177, 0.6));
  border-color: rgba(227, 53, 177, 0.6);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.55);
  transform: scale(1.06);
}

.tv-card.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) ;
  clip-path: polygon(32% 22%, 32% 78%, 82% 50%);
}

.tv-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.tv-progress .bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.tv-progress .bar i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-grad);
}

/* ===== Sections ===== */
section { padding: calc(var(--space-section) * 0.68) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.9rem;
}

section h2 { font-size: var(--text-h2); }

.section-sub { color: var(--text-muted); margin: 0; }

/* ===== Feature bento ===== */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.feature {
  grid-column: span 2;
  position: relative;
  background: linear-gradient(170deg, rgba(158, 130, 255, 0.07), transparent 40%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-hot);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.12);
}

.feature.wide { grid-column: span 3; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.22), rgba(227, 53, 177, 0.14));
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #cdbdf5;
  margin-bottom: 1.15rem;
}

.feature-icon svg { width: 21px; height: 21px; }

.feature h3 { font-size: 1.13rem; margin-bottom: 0.45rem; }

.feature p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }

.step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 1.7rem;
}

.step-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

.step p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ===== Disclaimer band ===== */
.disclaimer {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(139, 92, 246, 0.08), transparent),
    var(--bg-raise);
}

.disclaimer .inner { display: grid; gap: 0.9rem; max-width: 70ch; }

.disclaimer h2 { font-size: 1.4rem; }

.disclaimer p { color: var(--text-muted); margin: 0; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 3.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover { color: var(--text); }

/* ===== Legal pages ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--space-section) * 0.55) clamp(1.25rem, 4vw, 2.5rem) var(--space-section);
}

.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3rem); }

.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 3rem; }

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.legal p, .legal li { color: var(--text-muted); }

.legal li { margin-bottom: 0.6rem; }

.legal strong { color: var(--text); }

.legal a { color: #c9aaff; }

.lang-switch {
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .tv-cards { grid-template-columns: repeat(4, 1fr); }
  .tv-card:nth-child(n+5) { display: none; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .site-nav .hide-mobile { display: none; }
  .tv-screen { grid-template-columns: 1fr; }
  .tv-rail { flex-direction: row; padding-top: 0; }
}

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