/* ============================================================
   CHERRYYLEIN — Bio Page Stylesheet
   Tokens → Layout → Components → Theme variants
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --cherry: #ff4d3d;
  --cherry-glow: #ff7a5c;
  --cherry-deep: #d2331f;
  --lime: #b8ff3a;
  --lime-soft: #d4ff7a;
  --lime-deep: #7ad11a;
  --orange: #ff8a3d;

  /* Dark theme (default) */
  --bg-base: #0d0a08;
  --surface: rgba(20, 16, 14, 0.55);
  --surface-2: rgba(28, 22, 18, 0.7);
  --surface-hi: rgba(255, 250, 240, 0.06);
  --border: rgba(184, 255, 58, 0.18);
  --border-strong: rgba(184, 255, 58, 0.45);
  --text: #fef7eb;
  --text-dim: rgba(254, 247, 235, 0.7);
  --text-mute: rgba(254, 247, 235, 0.45);
  --shadow-glow: 0 0 0 1px rgba(184, 255, 58, 0.15), 0 20px 60px -20px rgba(0,0,0,0.6);
  --backdrop-blur: 18px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

[data-theme="light"] {
  --bg-base: #f5efe4;
  --surface: rgba(255, 250, 240, 0.72);
  --surface-2: rgba(255, 250, 240, 0.85);
  --surface-hi: rgba(0, 0, 0, 0.04);
  --border: rgba(122, 209, 26, 0.35);
  --border-strong: rgba(122, 209, 26, 0.7);
  --text: #1a1410;
  --text-dim: rgba(26, 20, 16, 0.7);
  --text-mute: rgba(26, 20, 16, 0.45);
  --shadow-glow: 0 0 0 1px rgba(122, 209, 26, 0.25), 0 20px 60px -20px rgba(0,0,0,0.25);
}

/* ─── Reset ─────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
  color: var(--text);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
  text-wrap: pretty;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ─── Background scene ──────────────────────────────── */
.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scene-bg-img, url("assets/setup-bg.png"));
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transition: filter 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184, 255, 58, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 77, 61, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(13,10,8,0.35) 0%, rgba(13,10,8,0.55) 60%, rgba(13,10,8,0.7) 100%);
}
[data-theme="light"] .scene::before { filter: saturate(0.85) brightness(1.4) contrast(0.95); }
[data-theme="light"] .scene::after {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(122, 209, 26, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(245,239,228,0.55) 0%, rgba(245,239,228,0.7) 60%, rgba(245,239,228,0.85) 100%);
}

/* Ambient floating cherry blobs */
.scene .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 22s var(--ease-in-out) infinite;
}
.scene .blob.b1 { width: 380px; height: 380px; background: var(--lime); top: -80px; left: -80px; }
.scene .blob.b2 { width: 460px; height: 460px; background: var(--cherry); bottom: -120px; right: -120px; animation-delay: -8s; }
.scene .blob.b3 { width: 280px; height: 280px; background: var(--orange); top: 40%; right: 10%; animation-delay: -14s; opacity: 0.35;}
[data-theme="light"] .scene .blob { mix-blend-mode: multiply; opacity: 0.4; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ─── Layout ────────────────────────────────────────── */
.app {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 48px 24px 80px;
}
.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Top brand chip */
.brandchip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.brandchip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

/* ─── Profile ───────────────────────────────────────── */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 4px;
}
.avatar-wrap {
  position: relative;
  width: 132px; height: 132px;
  margin-bottom: 18px;
}
.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--lime) 0deg,
    var(--cherry) 120deg,
    var(--orange) 220deg,
    var(--lime) 360deg);
  filter: blur(0.5px);
  animation: spin 8s linear infinite;
  opacity: 0.95;
}
.avatar-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--bg-base);
  border-radius: 50%;
}
.is-live .avatar-ring { animation-duration: 4s; }

.avatar-img {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 12px 40px -10px rgba(0,0,0,0.6);
}

.live-badge {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: var(--cherry);
  color: white;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  z-index: 2;
  box-shadow: 0 6px 18px -4px var(--cherry), 0 0 0 3px var(--bg-base);
}
.live-dot {
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.live-dot.lg { width: 10px; height: 10px; background: var(--cherry); box-shadow: 0 0 0 0 var(--cherry); animation: pulseRing 1.6s ease-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(255,77,61,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(255,77,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,61,0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.handle {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-top: 4px;
}
.handle-glow {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-soft) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(184, 255, 58, 0.25));
}
.alias {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--cherry-glow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
}
.tagline {
  font-size: 15px;
  color: var(--text-dim);
  margin-top: 6px;
  max-width: 360px;
}

.mail-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
}
.mail-pill:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.mail-pill.copied { border-color: var(--lime); color: var(--lime); }
.mail-pill .icon { width: 14px; height: 14px; color: var(--lime); }
.mail-pill .mail-copy { color: var(--text-mute); }

/* ─── Live Card ─────────────────────────────────────── */
.live-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 14px 16px;
  background: linear-gradient(135deg, rgba(255,77,61,0.18) 0%, rgba(255,138,61,0.10) 100%);
  border: 1px solid rgba(255,77,61,0.35);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(255,77,61,0.25), transparent 60%);
  pointer-events: none;
}
.live-card:hover { transform: translateY(-2px); border-color: var(--cherry); }
.live-card-left { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1;}
.live-card-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cherry-glow);
}
.live-card-title { font-size: 15px; font-weight: 600; margin-top: 2px; }
.live-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  position: relative; z-index: 1;
}
.live-card-right .icon { width: 16px; height: 16px; color: var(--text-dim); }
.live-card-go { width: 14px !important; height: 14px !important; opacity: 0.6; }

/* ─── Stats ─────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--backdrop-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(1.3);
  transition: all 0.3s var(--ease-out);
}
.stat:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.stat-icon { width: 16px; height: 16px; color: var(--lime); margin-bottom: 4px; }
.stat-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ─── Links ─────────────────────────────────────────── */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.link-tile {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--backdrop-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(1.3);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.link-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mx, -100%) var(--my, 50%), rgba(184,255,58,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.link-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px -16px rgba(184, 255, 58, 0.3);
}
.link-tile:hover::before { opacity: 1; }
.link-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--surface-hi);
  border-radius: 12px;
  color: var(--lime);
  border: 1px solid var(--border);
  position: relative; z-index: 1;
}
.link-icon .icon { width: 18px; height: 18px; }
.link-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; z-index: 1; }
.link-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-arrow .icon { width: 16px; height: 16px; color: var(--text-mute); transition: transform 0.3s var(--ease-out); position: relative; z-index: 1;}
.link-tile:hover .link-arrow .icon { transform: translate(2px, -2px); color: var(--lime); }

/* Primary link (Information for Business) — full-width hero */
.link-tile.is-primary {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-soft) 100%);
  border-color: var(--lime);
  color: #0a1500;
  padding: 18px 20px;
}
.link-tile.is-primary .link-icon {
  background: rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.2);
  color: #0a1500;
}
.link-tile.is-primary .link-label { font-size: 16px; font-weight: 700; }
.link-tile.is-primary .link-sub { color: rgba(10,21,0,0.65); }
.link-tile.is-primary .link-arrow .icon { color: #0a1500; }
.link-tile.is-primary:hover {
  box-shadow: 0 16px 50px -10px rgba(184, 255, 58, 0.55);
  transform: translateY(-2px);
}

/* ─── VibeCheck ─────────────────────────────────────── */
.vibe { display: flex; flex-direction: column; gap: 12px; }
.schedule-icon-wrap {
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
  color: var(--cherry-glow);
}
.vibe-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(1.4);
  position: relative;
  overflow: hidden;
}
.vibe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255,77,61,0.10), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(184,255,58,0.08), transparent 60%);
  pointer-events: none;
}
.vibe-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.vibe-row { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.vibe-status {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  font-style: italic;
  text-wrap: pretty;
  line-height: 1.35;
  animation: vibeFadeIn 0.45s var(--ease-out);
}
.vibe-cell-value { animation: vibeFadeIn 0.45s var(--ease-out); }
.vibe-next { animation: vibeFadeIn 0.45s var(--ease-out); }

@keyframes vibeFadeIn {
  from { opacity: 0; transform: translateY(4px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

.vibe-card.is-rolling { box-shadow: 0 0 0 1px var(--lime), 0 20px 60px -20px rgba(184,255,58,0.4); }

.vibe-reroll {
  background: none;
  border: 1px dashed var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.vibe-reroll:hover { border-color: var(--lime); color: var(--lime); }

.vibe-disclaimer {
  position: relative; z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -4px;
  padding: 10px 12px;
  background: var(--surface-hi);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.vibe-disclaimer-tag {
  flex-shrink: 0;
  padding: 2px 6px;
  background: rgba(255,77,61,0.15);
  border: 1px solid rgba(255,77,61,0.4);
  border-radius: 4px;
  color: var(--cherry-glow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Meter */
.vibe-meter { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.vibe-meter-head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.vibe-meter-pct {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--lime) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vibe-meter-track {
  height: 10px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.vibe-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lime-deep) 0%, var(--lime) 50%, var(--orange) 100%);
  border-radius: 999px;
  position: relative;
  transition: width 1.2s var(--ease-out);
  box-shadow: 0 0 14px rgba(184,255,58,0.5);
}
.vibe-meter-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: meterShine 2.4s ease-in-out infinite;
}
@keyframes meterShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.vibe-meter-foot {
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Grid (Mood / Last / Coffee) */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative; z-index: 1;
}
.vibe-cell {
  padding: 12px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vibe-cell-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
}
.vibe-cell-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Footer line */
.vibe-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  position: relative; z-index: 1;
}
.vibe-next {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--cherry-glow);
  letter-spacing: 0.02em;
}

/* ─── Reels ─────────────────────────────────────────── */
/* Galerie darf breiter sein als die Bio-Spalte — bleibt aber mittig zentriert */
.reels-section {
  display: flex; flex-direction: column; gap: 14px; margin-top: 8px;
  width: min(680px, 94vw);
  margin-left: 50%;
  transform: translateX(-50%);
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px;
}
.section-title {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.section-title .icon { width: 14px; height: 14px; color: var(--cherry-glow); }
.section-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.section-link:hover { color: var(--lime); }
.section-link .icon { width: 11px; height: 11px; }

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.reel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;   /* verhindert, dass Bild-Eigenbreite die Grid-Spalte aufbläht */
}
.reel-thumb {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
}
.reel-thumb-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
/* Procedural thumbnails — keine echten Videos, aber lebendig */
.reel-thumb-art.art-g1 { background: linear-gradient(135deg, #ff8a3d, #d2331f); }
.reel-thumb-art.art-g2 { background: linear-gradient(160deg, #b8ff3a, #7ad11a); }
.reel-thumb-art.art-g3 { background: linear-gradient(180deg, #2a1e15, #ff4d3d); }
.reel-thumb-art.art-g4 { background: linear-gradient(200deg, #ff4d3d, #ff8a3d, #b8ff3a); }
.reel-thumb-art.art-g5 { background: linear-gradient(135deg, #1a1410, #ff8a3d); }
.reel-thumb-art.art-g6 { background: linear-gradient(160deg, #7ad11a, #d2331f); }

.reel-thumb-art::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.2), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.15), transparent 50%);
}
.reel-thumb-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.reel-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.0);
  opacity: 0;
  transition: all 0.3s var(--ease-out);
}
.reel-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  display: grid; place-items: center;
  color: #0a1500;
  box-shadow: 0 8px 24px rgba(184,255,58,0.5);
  transform: scale(0.7);
  transition: transform 0.3s var(--ease-out);
}
.reel-play .icon { width: 16px; height: 16px; margin-left: 2px;}

.reel-duration {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  background: rgba(0,0,0,0.6);
  border-radius: 6px;
  color: white;
  backdrop-filter: blur(4px);
}

.reel:hover .reel-thumb {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.reel:hover .reel-thumb-art { transform: scale(1.08); filter: saturate(1.2);}
.reel:hover .reel-thumb-overlay { opacity: 1; background: rgba(0,0,0,0.25);}
.reel:hover .reel-play { transform: scale(1); }

.reel-meta {
  display: flex; flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}
.reel-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel-views {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-mute);
}

/* ─── Featured Video ────────────────────────────────── */
.video-section { margin-bottom: 8px; }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}
.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-wrap video { object-fit: contain; background: #000; }

/* ─── Footer ────────────────────────────────────────── */
.footer {
  margin-top: 24px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer .heart { color: var(--cherry); }

/* ─── Theme toggle (corner) ─────────────────────────── */
.theme-toggle {
  position: fixed;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  color: var(--text);
  z-index: 50;
  transition: all 0.3s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--border-strong); transform: scale(1.05); }
.theme-toggle .icon { width: 18px; height: 18px; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 540px) {
  .app { padding: 32px 16px 60px; }
  .handle { font-size: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
  .links-grid { grid-template-columns: 1fr; }
  .avatar-wrap { width: 110px; height: 110px; }
  .vibe-grid { grid-template-columns: 1fr; }
  .vibe-status { font-size: 15px; }
}
