/* ── Twitch accent ── */
:root { --twitch: #9146ff; }

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.10) 0%, transparent 68%);
  pointer-events: none;
}

.hero-glow.cyan {
  left: 18%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 70%);
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(145, 70, 255, 0.10);
  border: 1px solid rgba(145, 70, 255, 0.28);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b98bff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero h1 { margin-bottom: 0; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--twitch); }

.hero-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(145, 70, 255, 0.08);
  border: 1px solid rgba(145, 70, 255, 0.22);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b98bff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--twitch);
  box-shadow: 0 0 8px rgba(145, 70, 255, 0.7);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 24px;
  background: rgba(145, 70, 255, 0.10);
  border: 1px solid rgba(145, 70, 255, 0.28);
  border-radius: var(--radius-sm);
  color: #b98bff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.hero-link:hover {
  background: rgba(145, 70, 255, 0.18);
  box-shadow: 0 0 20px rgba(145, 70, 255, 0.18);
  transform: translateY(-2px);
  color: #c9aaff;
}

.hero-link svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Section Shared ── */

.section-title { text-align: center; }

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: -8px auto 40px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Live Stream Embed ── */

.stream-section {
  padding: 70px 0 80px;
  background: var(--color-bg-surface);
}

.stream-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.stream-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0c12;
  border: 1px solid rgba(145, 70, 255, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(145, 70, 255, 0.06);
}

.stream-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load consent placeholder */
.stream-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(145, 70, 255, 0.14), transparent 60%),
    #0c0c12;
}

.stream-consent .sc-logo {
  width: 48px; height: 48px;
  fill: var(--twitch);
}

.stream-consent h3 { margin: 0; font-size: 1.1rem; }

.stream-consent p {
  margin: 0;
  max-width: 420px;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.stream-load-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--twitch);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.stream-load-btn:hover {
  background: #7d2bff;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(145, 70, 255, 0.35);
}

.stream-load-btn svg { width: 16px; height: 16px; fill: #fff; }

.stream-consent .sc-note { font-size: 0.7rem; opacity: 0.7; }
.stream-consent .sc-note a { color: #b98bff; }

.stream-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.stream-foot a { color: #b98bff; text-decoration: none; font-weight: 600; }
.stream-foot a:hover { text-decoration: underline; }

/* ── Platforms Grid ── */

.platforms-section { padding: 80px 0; }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.plat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color var(--transition), box-shadow var(--transition);
}

.plat-card.visible { opacity: 1; transform: translateY(0); }

.plat-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: 0 0 24px rgba(145, 70, 255, 0.10);
  transform: translateY(-3px);
}

.plat-icon { width: 30px; height: 30px; fill: var(--color-text); opacity: 0.9; }
.plat-card:hover .plat-icon { fill: #b98bff; }

.plat-name { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
.plat-handle { font-size: 0.72rem; color: var(--color-text-muted); font-family: var(--font-mono); }

/* ── Feature Split (Clipper) ── */

.split-section { padding: 80px 0; background: var(--color-bg-surface); }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-text { display: flex; flex-direction: column; gap: 12px; }

.split-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b98bff;
}

.split-text h2 { font-size: 1.6rem; line-height: 1.3; margin: 0; }
.split-text p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7; max-width: 440px; }

.clip-stack { display: flex; flex-direction: column; gap: 10px; }

.clip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}

.clip-row.visible { opacity: 1; transform: translateX(0); }
.clip-row:hover { border-color: var(--color-border-accent); }

.clip-thumb {
  width: 64px; height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(145,70,255,0.25), rgba(0,229,255,0.12));
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
}

.clip-thumb::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent rgba(255,255,255,0.8);
}

.clip-info { flex: 1; min-width: 0; }
.clip-title { font-size: 0.82rem; font-weight: 600; }
.clip-meta { font-size: 0.68rem; color: var(--color-text-muted); font-family: var(--font-mono); }

.clip-dur {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* ── Key Numbers ── */

.numbers-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 60px 0;
  flex-wrap: wrap;
}

.num-item { text-align: center; padding: 0 clamp(20px, 4vw, 48px); }

.num-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #b98bff;
  font-family: var(--font-mono);
  text-shadow: 0 0 20px rgba(145, 70, 255, 0.3);
  margin-bottom: 4px;
}

.num-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.num-sep { width: 1px; height: 40px; background: var(--color-border); flex-shrink: 0; }

/* ── Tech Stack ── */

.tech-section { padding: 80px 0; }

.tech-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tech-tag:hover {
  border-color: rgba(145, 70, 255, 0.3);
  box-shadow: 0 0 16px rgba(145, 70, 255, 0.12);
  transform: translateY(-2px);
}

.tech-tag svg {
  width: 20px; height: 20px;
  stroke: #b98bff;
  fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── About Block ── */

.about-block { padding: 80px 0; background: var(--color-bg-surface); }
.about-content { max-width: 680px; margin: 0 auto; text-align: center; }
.about-content p { font-size: 1.05rem; line-height: 1.9; color: var(--color-text-muted); }

/* ── Responsive ── */

@media (max-width: 900px) {
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-text { order: 1; }
  .clip-stack { order: 2; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 0 50px; }
  .numbers-row { gap: 20px; }
  .num-sep { display: none; }
  .num-item { padding: 10px 20px; }
}

@media (max-width: 560px) {
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title-row { gap: 10px; }
}
