﻿/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a26;
  --card: #16161f;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f5;
  --text2: #9090a8;
  --accent: #ff2d78;
  --accent2: #ff6b00;
  --gradient: linear-gradient(135deg, #ff2d78, #ff6b00);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(255,45,120,0.15);
  --nav-h: 64px;
  --trans: 0.25s ease;
}

body.light {
  --bg:          #F7F7F7;
  --bg2:         #FFFFFF;
  --bg3:         #F2F0EE;
  --card:        #F2F0EE;
  --border:      #E5E7EB;
  --text:        #111111;
  --text2:       #6B7280;
  --accent:      #FF6B35;
  --accent2:     #E05A28;
  --accent-soft: #FFE7DD;
  --gradient:    linear-gradient(135deg, #FF6B35, #FF8C00);
  --shadow:      0 2px 12px rgba(0,0,0,0.06);
  --radius:      14px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--trans), color var(--trans);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text2); font-size: 1.1rem; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all var(--trans); text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 24px rgba(255,107,53,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.btn-primary:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,107,53,0.5), 0 1px 0 rgba(255,255,255,0.15) inset; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 12px rgba(255,107,53,0.3); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-soft, rgba(255,45,120,0.1)); transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 10px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(10,10,15,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}
body.light .navbar { background: rgba(247,247,247,0.97); box-shadow: 0 1px 0 #E5E7EB; }

/* ── LIGHT THEME GLOBAL OVERRIDES ───────────────────────── */
body.light .btn-outline { border-color: var(--accent); color: var(--accent); }
body.light .btn-outline:hover { background: var(--accent-soft); }
body.light .hero-badge  { background: var(--accent-soft); border-color: rgba(255,107,53,0.35); color: var(--accent); }
body.light .lang-btn.active, body.light .lang-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
body.light .theme-toggle:hover { border-color: var(--accent); }
/* Hide hero blur circles in light mode */
body.light .c1, body.light .c2 { display: none; }
/* Phone — no pink glow in light mode */
body.light .phone-screen-area {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 24px 60px rgba(0,0,0,0.14);
}

/* Cards — white background in light mode for better contrast */
body.light .step,
body.light .feat-card,
body.light .price-card,
body.light .compare-col,
body.light .faq-item { background: #ffffff; }

/* Pricing / FAQ / Compare cards */
body.light .price-card { box-shadow: var(--shadow); }
body.light .price-card.featured { border-color: var(--accent); box-shadow: 0 8px 32px rgba(255,107,53,0.18); }
body.light .faq-item { border-color: var(--border); }
body.light .virvid-col { border-color: var(--accent); }
body.light .feat-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
/* ── Global theme switch (topbar & login) ── */
.theme-switch {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.theme-switch-opt {
  font-size: 0.85rem; opacity: 0.35; transition: opacity 0.2s; user-select: none; line-height: 1;
}
.theme-switch-opt.active { opacity: 1; }
.theme-switch-track {
  width: 36px; height: 20px; border-radius: 99px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  position: relative; transition: background 0.25s, border-color 0.25s; flex-shrink: 0;
}
.theme-switch-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
body.dark  .theme-switch-thumb { transform: translateX(16px); }
body.light .theme-switch-track { background: #E5E7EB; border-color: #D1D5DB; }
body.light .theme-switch-thumb { background: var(--accent); box-shadow: 0 1px 4px rgba(255,107,53,0.35); transform: translateX(0); }
body.light.dark .theme-switch-thumb,
body.dark  .theme-switch-thumb { transform: translateX(16px); }

/* Dashboard app — topbar & sidebar shared overrides */
body.light .dash-topbar  { background: rgba(247,247,247,0.97) !important; border-bottom-color: #E5E7EB !important; box-shadow: 0 1px 0 #E5E7EB; }
body.light .dash-sidebar { background: #FFFFFF !important; border-right-color: #E5E7EB !important; }
body.light .sidebar-link.active { background: var(--accent-soft) !important; color: var(--accent) !important; }
body.light .sidebar-link.active::before { background: var(--accent) !important; }
body.light .sidebar-cta  { background: var(--gradient) !important; }
body.light .topbar-icon-btn { background: #F2F0EE !important; border-color: #E5E7EB !important; }
body.light .topbar-icon-btn:hover { border-color: var(--accent) !important; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.logo { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-tag {
  font-size: 0.6rem; font-weight: 700; background: var(--gradient);
  color: #fff; padding: 2px 7px; border-radius: 6px;
  vertical-align: super; margin-left: 4px; letter-spacing: 0.5px;
}

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { color: var(--text2); text-decoration: none; font-weight: 500; transition: color var(--trans); }
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text2); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all var(--trans);
}
.lang-btn.active, .lang-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.theme-toggle {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; cursor: pointer; font-size: 1rem; transition: all var(--trans);
}
.theme-toggle:hover { border-color: var(--accent); }

.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

.nav-banner {
  background: var(--gradient);
  text-align: center; padding: 6px;
  font-size: 0.82rem; font-weight: 600; color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 36px); position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.circle { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; }
.c1 { width: 600px; height: 600px; background: #ff2d78; top: -200px; left: -200px; }
.c2 { width: 500px; height: 500px; background: #ff6b00; bottom: -100px; right: -100px; }

.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; }
.hero-text { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,53,0.12); border: 1px solid rgba(255,107,53,0.35);
  color: var(--accent); padding: 7px 18px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-text p { color: var(--text2); font-size: 1.1rem; margin-bottom: 12px; }
.hero-desc {
  font-size: 1.2rem !important;
  color: var(--text2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 20px !important;
}
.trust { color: #4ade80 !important; font-weight: 600; font-size: 0.95rem !important; }
body.light .trust { color: #16a34a !important; }

.hero-stats { display: flex; gap: 32px; margin: 24px 0; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat span:last-child { font-size: 0.78rem; color: var(--text2); font-weight: 500; margin-top: 4px; }

.hero-btns { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }

/* ── PHONE SHELL ──────────────────────────────────────────── */
.hero-visual { flex: 0 0 300px; }

.phone-shell {
  width: 260px;
  margin: 0 auto;
  position: relative;
}

.phone-chrome { position: absolute; inset: 0; pointer-events: none; z-index: 30; }

.phone-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
}
.phone-btn--vol1 { right: -3px; top: 120px; width: 3px; height: 36px; border-radius: 0 2px 2px 0; }
.phone-btn--vol2 { right: -3px; top: 166px; width: 3px; height: 36px; border-radius: 0 2px 2px 0; }
.phone-btn--pwr  { left:  -3px; top: 150px; width: 3px; height: 56px; border-radius: 2px 0 0 2px; }

.phone-screen-area {
  width: 260px; height: 560px; border-radius: 44px;
  border: 2.5px solid rgba(255,255,255,0.14);
  background: #08080f;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 32px 80px rgba(0,0,0,0.75),
    0 0 60px rgba(255,45,120,0.18);

  display: flex;
  flex-direction: column;
}

.phone-notch {
  flex-shrink: 0; height: 24px; background: #08080f;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  z-index: 15; position: relative;
}
.phone-camera {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1a1a28; box-shadow: inset 0 0 3px rgba(0,0,0,0.8);
}
.phone-speaker {
  width: 36px; height: 5px; border-radius: 3px;
  background: #1a1a28;
}

/* ── VERTICAL FEED ────────────────────────────────────────── */
.vfeed {
  flex: 1;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.vfeed.is-dragging { cursor: grabbing; }

.vfeed-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vfeed-track.no-transition { transition: none; }

.vc {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  height: 536px; /* phone-screen-area 560px - notch 24px */
  overflow: hidden;
  transition: opacity 0.3s ease;
}

/* Scroll hint dots */
.vfeed-dots {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px; z-index: 20;
  pointer-events: none;
}
.vfeed-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.vfeed-dot.active {
  height: 12px; border-radius: 2px;
  background: var(--accent);
}

/* Scene */
.vc__scene { position: absolute; inset: 0; overflow: hidden; }
.vc__bg    { display: none; }

/* Fade overlays */
.vc__fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 35%; z-index: 4;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  pointer-events: none;
}
.vc__fade-bot {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%; z-index: 4;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
  pointer-events: none;
}
.vc__vignette {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.vc__top {
  position: absolute; top: 8px; left: 10px; right: 10px; z-index: 8;
  display: flex; justify-content: space-between; align-items: center;
}
.vc__badge {
  font-size: 0.42rem; font-weight: 800; letter-spacing: 0.8px;
  padding: 3px 8px; border-radius: 5px; text-transform: uppercase;
  backdrop-filter: blur(8px); color: #fff; white-space: nowrap;
}
.vc__badge--gold   { background: rgba(245,158,11,0.75); border: 1px solid rgba(253,230,138,0.3); }
.vc__badge--purple { background: rgba(124,58,237,0.75); border: 1px solid rgba(167,139,250,0.3); }
.vc__badge--cyan   { background: rgba(6,182,212,0.75);  border: 1px solid rgba(103,232,249,0.3); }

.vc__views {
  font-size: 0.42rem; font-weight: 700; color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.4); padding: 3px 7px; border-radius: 5px;
  backdrop-filter: blur(6px); white-space: nowrap;
}

/* ── RIGHT RAIL ──────────────────────────────────────────── */
.vc__rail {
  position: absolute; right: 8px; bottom: 22%; z-index: 8;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.vc__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #fff; position: relative; flex-shrink: 0;
}
.vc__avatar--1 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.vc__avatar--2 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.vc__avatar--3 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }

.vc__plus {
  position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 0.5rem; font-weight: 900; line-height: 13px; text-align: center;
}

.vc__btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.vc__btn-ico { font-size: 0.95rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.vc__btn-lbl {
  font-size: 0.38rem; color: rgba(255,255,255,0.85); font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7); text-align: center;
}

.vc__vinyl {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  animation: diskSpin 4s linear infinite;
  flex-shrink: 0; position: relative;
}
.vc__vinyl--1 { background: radial-gradient(circle at 50% 50%, #1a0800 30%, #d97706 100%); }
.vc__vinyl--2 { background: radial-gradient(circle at 50% 50%, #0d0020 30%, #7c3aed 100%); }
.vc__vinyl--3 { background: radial-gradient(circle at 50% 50%, #000c1a 30%, #0ea5e9 100%); }
.vc__vinyl::after {
  content: ''; position: absolute; inset: 35%; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
@keyframes diskSpin { to { transform: rotate(360deg); } }

/* ── FOOTER INFO ─────────────────────────────────────────── */
.vc__foot {
  position: absolute; bottom: 0; left: 0; right: 40px; z-index: 8;
  padding: 0 10px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.vc__handle {
  font-size: 0.52rem; font-weight: 800; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.vc__caption {
  font-size: 0.5rem; color: rgba(255,255,255,0.9); font-weight: 500;
  line-height: 1.4; text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc__tags {
  font-size: 0.42rem; color: rgba(255,255,255,0.5); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc__audio {
  display: flex; align-items: center; gap: 4px; margin-top: 2px;
}
.vc__audio-disc { font-size: 0.5rem; color: #fff; animation: audioBounce 1s ease-in-out infinite alternate; }
.vc__audio-disc::before { content: '♪'; }
@keyframes audioBounce { from { transform: scale(0.9); } to { transform: scale(1.1); } }
.vc__audio-track {
  font-size: 0.4rem; color: rgba(255,255,255,0.6); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px;
}

/* ── PROGRESS BAR ─────────────────────────────────────────── */
.vc__progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px; z-index: 9;
  background: rgba(255,255,255,0.15);
}
.vc__progress-fill { height: 100%; background: var(--gradient); }
.vc__progress-fill--1 { width: 42%; }
.vc__progress-fill--2 { width: 68%; }
.vc__progress-fill--3 { width: 15%; }

/* Dim non-active cards */
.vc.vc--inactive { opacity: 0.4; }


/* ── SCENE: PHOTO-BASED ───────────────────────────────────── */
.vc__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform-origin: center center;
  animation: kenBurns 10s ease-in-out infinite alternate;
}
.vc--inactive .vc__photo {
  filter: brightness(0.55) saturate(0.7);
  animation-play-state: paused;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  33%  { transform: scale(1.06) translate(-1%, 1%); }
  66%  { transform: scale(1.04) translate(1%, -1%); }
  100% { transform: scale(1.08) translate(0%, 0%); }
}
.vc__photo-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}



/* ============================================================
   PLATFORMS BAR
   ============================================================ */
.platforms { padding: 24px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.plat-label { color: var(--text2); font-size: 0.85rem; font-weight: 500; }
.plat-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.plat-pill {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 30px; padding: 7px 18px;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  transition: border-color var(--trans);
}
.plat-pill:hover { border-color: var(--accent); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg2); }
.steps { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; flex: 1; min-width: 220px; max-width: 280px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: #fff; margin: 0 auto 16px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text2); font-size: 0.9rem; }
.step-arrow { font-size: 2rem; color: var(--accent); }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.feat-icon { font-size: 2rem; margin-bottom: 16px; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feat-card p { color: var(--text2); font-size: 0.9rem; }

/* ============================================================
   VIDEO STYLES
   ============================================================ */
/* ============================================================
   VIDEO STYLES — 9:16 Short Preview Cards
   ============================================================ */
.styles { background: var(--bg2); }

.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .styles-grid { grid-template-columns: repeat(2, 1fr); } }

/* Base card — 9:16 aspect ratio */
.sv-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.sv-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255,255,255,0.2);
}
.sv-card:hover .sv-glow { opacity: 0.7; }

/* Scene fills the card */
.sv-scene { position: absolute; inset: 0; }
.sv-layer  { position: absolute; inset: 0; }

/* Overlays */
.sv-overlay {
  position: absolute; inset: 0; z-index: 5;
}
.sv-overlay--bottom {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.5)  35%,
    rgba(0,0,0,0.1)  60%,
    transparent      100%
  );
}
.sv-overlay--light {
  background: linear-gradient(
    to top,
    rgba(240,240,248,0.95) 0%,
    rgba(240,240,248,0.6)  35%,
    rgba(240,240,248,0.1)  60%,
    transparent            100%
  );
}

/* Glow blob */
.sv-glow {
  position: absolute; inset: -30%; z-index: 0;
  background: radial-gradient(circle at 50% 80%, var(--gc) 0%, transparent 65%);
  opacity: 0; filter: blur(24px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* UI layer */
.sv-ui {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 10px 9px;
}
.sv-ui__top  { display: flex; justify-content: space-between; align-items: flex-start; }
.sv-ui__bottom { display: flex; flex-direction: column; gap: 5px; }

/* Badges */
.sv-badge {
  font-size: 0.42rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 7px; border-radius: 5px;
  text-transform: uppercase; color: #fff;
  backdrop-filter: blur(6px);
}
.sv-badge--anime  { background: rgba(124,58,237,0.75); border: 1px solid rgba(167,139,250,0.4); }
.sv-badge--cine   { background: rgba(14,165,233,0.75); border: 1px solid rgba(125,211,252,0.4); }
.sv-badge--comic  { background: rgba(245,158,11,0.85); border: 1px solid rgba(252,211,77,0.4); }
.sv-badge--mini   { background: rgba(0,0,0,0.5);       border: 1px solid rgba(0,0,0,0.3); color: #111; }
.sv-badge--photo  { background: rgba(217,119,6,0.75);  border: 1px solid rgba(251,191,36,0.4); }
.sv-badge--fant   { background: rgba(139,92,246,0.75); border: 1px solid rgba(196,181,253,0.4); }

.sv-social { font-size: 0.45rem; color: rgba(255,255,255,0.85); font-weight: 700;
  background: rgba(0,0,0,0.35); padding: 3px 6px; border-radius: 4px; backdrop-filter: blur(4px); }

.sv-caption {
  font-size: 0.55rem; font-weight: 700; color: #fff; line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sv-minimalist .sv-caption { color: #111; text-shadow: none; }

.sv-tags { font-size: 0.42rem; color: rgba(255,255,255,0.55); font-weight: 600; }
.sv-minimalist .sv-tags { color: rgba(0,0,0,0.4); }

.sv-user { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.sv-avatar {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
}
.sv-username { font-size: 0.45rem; color: rgba(255,255,255,0.8); font-weight: 600; flex: 1; }
.sv-minimalist .sv-username { color: rgba(0,0,0,0.6); }
.sv-play-btn {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  font-size: 0.38rem; color: #fff; padding-left: 1px;
}

/* ── AVATARS ─────────────────────────────────────────────── */
.sv-av--anime  { background: linear-gradient(135deg,#7c3aed,#ec4899); }
.sv-av--cine   { background: linear-gradient(135deg,#0ea5e9,#1e3a5f); }
.sv-av--comic  { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.sv-av--mini   { background: linear-gradient(135deg,#d1fae5,#6ee7b7); }
.sv-av--photo  { background: linear-gradient(135deg,#d97706,#b45309); }
.sv-av--fant   { background: linear-gradient(135deg,#8b5cf6,#06b6d4); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  1. ANIME  — Night torii gate, cherry blossoms          ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-anime__sky {
  background:
    radial-gradient(ellipse at 25% 20%, rgba(124,58,237,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(236,72,153,0.3) 0%, transparent 45%),
    linear-gradient(180deg, #05001a 0%, #0d0035 30%, #1a0050 55%, #0a0020 100%);
}
/* Stars */
.sv-anime__sky::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 8%,  #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 15%, #fff 0%, transparent 100%),
    radial-gradient(2px 2px at 55% 5%,  rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 12%, #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 22%, #fff 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 28%, #fff 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 7%,  rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 18%, #fff 0%, transparent 100%);
}
/* Full moon */
.sv-anime__sky::after {
  content: ''; position: absolute;
  width: 28%; aspect-ratio: 1;
  top: 8%; right: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8dc, #fde68a);
  box-shadow: 0 0 20px rgba(253,230,138,0.7), 0 0 50px rgba(253,230,138,0.3);
}

.sv-anime__mountains {
  position: absolute; bottom: 28%; left: 0; right: 0; height: 38%;
  background:
    /* far peak L */  polygon at 0 using clip
    linear-gradient(180deg, #0d0030 0%, #150045 100%);
  clip-path: polygon(0 100%, 8% 50%, 18% 75%, 28% 35%, 40% 65%, 52% 28%, 65% 60%, 78% 42%, 90% 68%, 100% 50%, 100% 100%);
  background: linear-gradient(180deg, #0d0035, #1a0050);
  filter: blur(0.5px);
}

.sv-anime__ground {
  position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, #0a1a00 0%, #081200 100%);
  clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0 100%);
}

/* Torii gate */
.sv-anime__torii { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); width: 55%; }
.sv-anime__torii-top {
  height: 5%; width: 110%; margin-left: -5%;
  background: #c0392b;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -3px 0 #a93226, 0 0 12px rgba(192,57,43,0.5);
  position: relative;
}
.sv-anime__torii-top::before {
  content: ''; position: absolute; bottom: -4px; left: 5%; right: 5%;
  height: 4px; background: #a93226; border-radius: 0 0 2px 2px;
}
.sv-anime__torii-mid {
  height: 3%; background: #c0392b; margin: 2px 10%;
  box-shadow: 0 0 8px rgba(192,57,43,0.4);
}
.sv-anime__torii-legs { display: flex; justify-content: space-between; padding: 0 8%; }
.sv-anime__torii-legs span {
  display: block; width: 8%; padding-bottom: 45%;
  background: linear-gradient(180deg, #c0392b, #922b21);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 10px rgba(192,57,43,0.4);
}

/* Cherry blossom tree */
.sv-anime__tree { position: absolute; bottom: 22%; right: 5%; width: 28%; }
.sv-anime__trunk {
  width: 15%; margin: 0 auto; height: 80px;
  background: linear-gradient(180deg, #3d1f00, #2a1500);
  border-radius: 3px;
}
.sv-anime__canopy {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 130%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.7) 0%, rgba(167,139,250,0.5) 50%, transparent 75%);
  filter: blur(3px);
  animation: canopyPulse 4s ease-in-out infinite;
}
@keyframes canopyPulse { 0%,100%{transform:translateX(-50%) scale(1)} 50%{transform:translateX(-50%) scale(1.05)} }

/* Petals */
.sv-anime__petals span {
  position: absolute; width: 5px; height: 5px; border-radius: 50% 0;
  background: rgba(236,72,153,0.7); filter: blur(0.5px);
  animation: petalFall 5s linear infinite;
}
.sv-anime__petals span:nth-child(1){left:15%;top:-5%;animation-delay:0s;   width:4px;height:4px;}
.sv-anime__petals span:nth-child(2){left:35%;top:-5%;animation-delay:0.8s; width:6px;height:6px;}
.sv-anime__petals span:nth-child(3){left:50%;top:-5%;animation-delay:1.6s;}
.sv-anime__petals span:nth-child(4){left:65%;top:-5%;animation-delay:2.4s; width:3px;height:3px;}
.sv-anime__petals span:nth-child(5){left:75%;top:-5%;animation-delay:3.2s; width:5px;height:5px;}
.sv-anime__petals span:nth-child(6){left:85%;top:-5%;animation-delay:4s;   width:4px;height:4px;}
@keyframes petalFall {
  0%  { opacity:0; transform:translateY(-5%) rotate(0deg) translateX(0); }
  10% { opacity:0.9; }
  90% { opacity:0.4; }
  100%{ opacity:0; transform:translateY(110%) rotate(480deg) translateX(30px); }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  2. CINEMATIC — Rainy noir city                         ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-cine__sky {
  background:
    radial-gradient(ellipse at 60% 0%, rgba(14,165,233,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 50%, rgba(30,58,138,0.3) 0%, transparent 60%),
    linear-gradient(180deg, #000d1a 0%, #001220 40%, #000a14 100%);
}

/* City skyline silhouette */
.sv-cine__city {
  position: absolute; bottom: 18%; left: 0; right: 0; height: 55%;
  background: #000d1a;
  clip-path: polygon(
    0 100%, 0 60%,
    4% 60%, 4% 45%, 7% 45%, 7% 38%, 10% 38%, 10% 45%, 13% 45%, 13% 52%, 16% 52%,
    16% 30%, 18% 30%, 18% 22%, 20% 22%, 20% 30%, 22% 30%, 22% 52%,
    25% 52%, 25% 40%, 28% 40%, 28% 28%, 30% 28%, 30% 40%, 33% 40%, 33% 45%,
    36% 45%, 36% 18%, 38% 18%, 38% 12%, 40% 12%, 40% 8%, 42% 8%, 42% 12%, 44% 12%, 44% 18%, 46% 18%, 46% 45%,
    49% 45%, 49% 35%, 52% 35%, 52% 25%, 54% 25%, 54% 35%, 57% 35%, 57% 42%,
    60% 42%, 60% 55%, 63% 55%, 63% 38%, 65% 38%, 65% 28%, 67% 28%, 67% 38%, 70% 38%, 70% 55%,
    72% 55%, 72% 32%, 74% 32%, 74% 20%, 76% 20%, 76% 32%, 79% 32%, 79% 55%,
    82% 55%, 82% 48%, 86% 48%, 86% 55%, 90% 55%, 90% 48%, 93% 48%, 93% 55%,
    96% 55%, 96% 65%, 100% 65%, 100% 100%
  );
}

/* Windows in buildings */
.sv-cine__city::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 2px at 37% 55%,  rgba(255,200,50,0.8)  0%, transparent 100%),
    radial-gradient(1px 2px at 39% 65%,  rgba(255,200,50,0.6)  0%, transparent 100%),
    radial-gradient(1px 2px at 41% 48%,  rgba(14,165,233,0.7)  0%, transparent 100%),
    radial-gradient(1px 2px at 43% 60%,  rgba(255,200,50,0.5)  0%, transparent 100%),
    radial-gradient(1px 2px at 18% 55%,  rgba(255,150,50,0.7)  0%, transparent 100%),
    radial-gradient(1px 2px at 20% 68%,  rgba(255,200,50,0.5)  0%, transparent 100%),
    radial-gradient(1px 2px at 53% 58%,  rgba(14,165,233,0.6)  0%, transparent 100%),
    radial-gradient(1px 2px at 74% 48%,  rgba(255,200,50,0.7)  0%, transparent 100%),
    radial-gradient(1px 2px at 76% 60%,  rgba(255,150,50,0.5)  0%, transparent 100%);
  mix-blend-mode: screen;
}

/* Wet road puddle */
.sv-cine__puddle {
  position: absolute; bottom: 0; left: 0; right: 0; height: 22%;
  background: linear-gradient(180deg,
    rgba(14,165,233,0.15) 0%,
    rgba(30,58,138,0.2)   50%,
    rgba(0,10,20,0.9)     100%
  );
}
.sv-cine__puddle::after {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 60%;
  background: linear-gradient(180deg, rgba(14,165,233,0.3), transparent);
  filter: blur(3px); transform: scaleY(-1);
}

/* Lone figure */
.sv-cine__figure {
  position: absolute; bottom: 18%; left: 44%; width: 6%; height: 18%;
  background: #000;
  clip-path: polygon(30% 0%, 70% 0%, 75% 18%, 65% 20%, 65% 48%, 80% 100%, 55% 100%, 50% 65%, 45% 100%, 20% 100%, 35% 48%, 35% 20%, 25% 18%);
  filter: drop-shadow(0 0 8px rgba(14,165,233,0.6));
}

/* Lens flare */
.sv-cine__flare {
  position: absolute; top: 15%; right: 20%;
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.9) 0%, rgba(14,165,233,0.3) 40%, transparent 70%);
  box-shadow: 0 0 20px rgba(14,165,233,0.5), 40px 10px 0 -8px rgba(14,165,233,0.1), -50px 5px 0 -9px rgba(14,165,233,0.08);
  animation: flarePulse 3s ease-in-out infinite;
}
@keyframes flarePulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* Rain */
.sv-cine__rain span {
  position: absolute; width: 1px; border-radius: 1px;
  background: linear-gradient(180deg, transparent, rgba(180,220,255,0.4));
  animation: rainFall 1.2s linear infinite;
}
.sv-cine__rain span:nth-child(1){left:5%;  top:-10%;height:12%;animation-delay:0s;   }
.sv-cine__rain span:nth-child(2){left:12%; top:-10%;height:10%;animation-delay:0.15s;}
.sv-cine__rain span:nth-child(3){left:25%; top:-10%;height:14%;animation-delay:0.3s; }
.sv-cine__rain span:nth-child(4){left:38%; top:-10%;height:11%;animation-delay:0.05s;}
.sv-cine__rain span:nth-child(5){left:52%; top:-10%;height:13%;animation-delay:0.45s;}
.sv-cine__rain span:nth-child(6){left:63%; top:-10%;height:10%;animation-delay:0.2s; }
.sv-cine__rain span:nth-child(7){left:78%; top:-10%;height:12%;animation-delay:0.6s; }
.sv-cine__rain span:nth-child(8){left:90%; top:-10%;height:11%;animation-delay:0.1s; }
@keyframes rainFall { 0%{transform:translateY(0)} 100%{transform:translateY(1200%)} }

/* Letterbox bars */
.sv-cine__bar {
  position: absolute; left: 0; right: 0; z-index: 4;
  background: #000; height: 7%;
}
.sv-cine__bar--top { top: 0; }
.sv-cine__bar--bot { bottom: 0; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  3. WEBCOMIC — Comic panel layout                       ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-comic__bg { background: #fdf6e3; }

/* Halftone dot pattern via radial-gradient trick */
.sv-comic__halftone {
  position: absolute; inset: 0; opacity: 0.12;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 8px 8px;
}

.sv-comic__panels {
  position: absolute; inset: 6px;
  display: grid;
  grid-template-rows: 1fr 0.7fr 1fr;
  gap: 4px;
}

/* Each panel */
.sv-comic__panel {
  border: 2.5px solid #111;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.sv-comic__panel--1 { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.sv-comic__panel--2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.sv-comic__panel--3 { background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%); }

/* Character blobs */
.sv-comic__char {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 30%; aspect-ratio: 1 / 1.5;
  border-radius: 40% 40% 0 0;
}
.c1 { background: linear-gradient(180deg, #1e3a5f, #0c1a2e); box-shadow: 8px 0 0 -2px rgba(0,0,0,0.2); }
.c2 { background: linear-gradient(180deg, #7c1d1d, #3b0f0f); width: 25%; }

/* Hair tufts */
.sv-comic__char::before {
  content: ''; position: absolute; top: -30%; left: 10%; right: 10%;
  height: 40%; border-radius: 50% 50% 0 0;
  background: inherit;
}

/* Action burst */
.sv-comic__burst {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; aspect-ratio: 1;
  background: #ef4444;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  animation: burstPulse 1s ease-in-out infinite;
}
@keyframes burstPulse { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.08)} }

.sv-comic__sfx {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 0.65rem; font-weight: 900; color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000;
  letter-spacing: -0.5px; z-index: 2;
}

/* Speech bubble */
.sv-comic__bubble {
  position: absolute; top: 12%; right: 5%; max-width: 60%;
  background: #fff; border: 2px solid #111; border-radius: 8px;
  font-size: 0.42rem; font-weight: 800; padding: 3px 6px; color: #111;
}
.sv-comic__bubble::after {
  content: ''; position: absolute; bottom: -6px; left: 10%;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #111;
}
.sv-comic__bubble::before {
  content: ''; position: absolute; bottom: -4px; left: 11%;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  z-index: 1;
}

/* Speed lines radiating from center of panel 2 */
.sv-comic__lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.sv-comic__lines::after {
  content: '';
  position: absolute; top: 32%; left: 50%; width: 1px; height: 100%;
  background: rgba(0,0,0,0.06);
  transform-origin: top center;
  box-shadow:
    0 0 0 0 transparent,
    15px 0 0 rgba(0,0,0,0.04), -15px 0 0 rgba(0,0,0,0.04),
    30px 0 0 rgba(0,0,0,0.03), -30px 0 0 rgba(0,0,0,0.03);
}

/* Override overlay for comic (lighter) */
.sv-webcomic .sv-overlay--bottom {
  background: linear-gradient(to top,
    rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 30%, transparent 55%
  );
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  4. MINIMALIST — Clean modern motion graphics           ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-mini__bg { background: #f8f8fc; }

/* Subtle grid */
.sv-mini__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Large circle */
.sv-mini__circle--lg {
  position: absolute; width: 55%; aspect-ratio: 1;
  border-radius: 50%; top: 18%; left: 50%; transform: translateX(-50%);
  border: 1.5px solid rgba(0,0,0,0.12);
  background: transparent;
}
.sv-mini__circle--lg::before {
  content: ''; position: absolute; inset: 15%;
  border-radius: 50%; border: 1px solid rgba(0,0,0,0.08);
}

/* Small accent circle */
.sv-mini__circle--sm {
  position: absolute; width: 18%; aspect-ratio: 1;
  border-radius: 50%; top: 22%; left: 68%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
  animation: dotFloat 3s ease-in-out infinite;
}
@keyframes dotFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Headline text */
.sv-mini__headline {
  position: absolute; top: 38%; left: 0; right: 0; text-align: center;
}
.sv-mini__word {
  display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -1px;
  color: #0a0a1a; line-height: 1;
}
.sv-mini__word.w1 { opacity: 0.9; }
.sv-mini__word.w2 {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Rule line */
.sv-mini__rule {
  position: absolute; top: 57%; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
}

/* Sub text placeholder lines */
.sv-mini__sublines {
  position: absolute; top: 60%; left: 25%; right: 25%;
  display: flex; flex-direction: column; gap: 4px;
}
.sv-mini__sublines span {
  display: block; height: 2px; background: rgba(0,0,0,0.1); border-radius: 1px;
}
.sv-mini__sublines span:nth-child(1){ width: 100%; }
.sv-mini__sublines span:nth-child(2){ width: 75%; }
.sv-mini__sublines span:nth-child(3){ width: 50%; }

/* Accent dot */
.sv-mini__dot {
  position: absolute; bottom: 28%; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: dotFloat 2.5s ease-in-out infinite;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  5. PHOTOREALISTIC — Golden hour landscape              ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-photo__bg {
  background: linear-gradient(180deg,
    #0a0500  0%,
    #1f0a00  15%,
    #6b2d00  30%,
    #c45200  42%,
    #f97316  50%,
    #fdba74  60%,
    #fed7aa  68%,
    #fde68a  72%,
    #fcd34d  76%,
    #fed7aa  80%,
    #d97706  88%,
    #7c2d12  100%
  );
}

/* Sun disk */
.sv-photo__sun {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff7ed 0%, #fde68a 30%, #f97316 70%, rgba(249,115,22,0) 100%);
  box-shadow:
    0 0 20px rgba(253,186,116,0.8),
    0 0 50px rgba(249,115,22,0.5),
    0 0 100px rgba(249,115,22,0.2);
  animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100%{box-shadow:0 0 20px rgba(253,186,116,0.8),0 0 50px rgba(249,115,22,0.5)} 50%{box-shadow:0 0 30px rgba(253,186,116,1),0 0 70px rgba(249,115,22,0.7)} }

/* God rays */
.sv-photo__rays {
  position: absolute; top: 48%; left: 50%; transform: translateX(-50%);
  width: 100%; height: 55%;
  background: conic-gradient(
    from 270deg at 50% 0%,
    transparent 0deg, rgba(253,186,116,0.08) 5deg,
    transparent 10deg, rgba(253,186,116,0.06) 16deg,
    transparent 22deg, rgba(253,186,116,0.05) 28deg,
    transparent 34deg, rgba(253,186,116,0.07) 40deg,
    transparent 46deg, rgba(253,186,116,0.05) 52deg,
    transparent 58deg, rgba(253,186,116,0.06) 64deg,
    transparent 70deg
  );
  filter: blur(2px);
}

/* Atmospheric haze */
.sv-photo__haze {
  position: absolute; top: 40%; left: 0; right: 0; height: 30%;
  background: radial-gradient(ellipse at 50% 50%, rgba(253,186,116,0.25) 0%, transparent 70%);
  filter: blur(8px);
}

/* Horizon/far hills */
.sv-photo__horizon {
  position: absolute; bottom: 22%; left: 0; right: 0; height: 28%;
  background: linear-gradient(180deg, rgba(120,53,15,0.5), rgba(60,20,0,0.9));
  clip-path: polygon(0 60%, 12% 40%, 22% 55%, 35% 25%, 48% 45%, 58% 20%, 70% 38%, 82% 30%, 92% 48%, 100% 35%, 100% 100%, 0 100%);
}

/* Mid ground trees */
.sv-photo__midground {
  position: absolute; bottom: 12%; left: 0; right: 0; height: 18%;
  background: #1c0a00;
  clip-path: polygon(0 100%, 0 50%, 5% 40%, 8% 55%, 12% 30%, 16% 50%, 20% 35%, 24% 55%, 28% 40%, 35% 60%, 38% 45%, 42% 55%, 48% 30%, 52% 50%, 58% 35%, 63% 55%, 68% 42%, 75% 60%, 80% 45%, 85% 55%, 90% 40%, 95% 52%, 100% 45%, 100% 100%);
}

/* Foreground ground */
.sv-photo__foreground {
  position: absolute; bottom: 0; left: 0; right: 0; height: 14%;
  background: linear-gradient(180deg, #0a0400, #000);
}

/* Bokeh */
.sv-photo__bokeh span {
  position: absolute; border-radius: 50%; border: 1px solid rgba(253,186,116,0.3);
  background: rgba(253,186,116,0.08); filter: blur(2px);
  animation: bokehFloat 4s ease-in-out infinite;
}
.sv-photo__bokeh span:nth-child(1){ width:12px;height:12px; left:8%;  top:65%; animation-delay:0s;   }
.sv-photo__bokeh span:nth-child(2){ width:8px; height:8px;  left:80%; top:70%; animation-delay:0.8s; }
.sv-photo__bokeh span:nth-child(3){ width:16px;height:16px; left:20%; top:55%; animation-delay:1.6s; }
.sv-photo__bokeh span:nth-child(4){ width:6px; height:6px;  left:65%; top:60%; animation-delay:2.4s; }
.sv-photo__bokeh span:nth-child(5){ width:10px;height:10px; left:45%; top:72%; animation-delay:3.2s; }
@keyframes bokehFloat { 0%,100%{transform:translateY(0);opacity:0.6} 50%{transform:translateY(-10px);opacity:1} }

/* ╔══════════════════════════════════════════════════════════╗
   ║  6. FANTASY — Floating island with dragon               ║
   ╚══════════════════════════════════════════════════════════╝ */
.sv-fant__sky {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(139,92,246,0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(6,182,212,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(236,72,153,0.2) 0%, transparent 45%),
    linear-gradient(180deg, #020008 0%, #0d0024 25%, #130035 55%, #08001e 100%);
}
/* Stars */
.sv-fant__sky::before {
  content: '';  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 8%  5%,  #fff 0%,transparent 100%),
    radial-gradient(2px 2px at 20% 10%, rgba(255,255,255,0.9) 0%,transparent 100%),
    radial-gradient(1px 1px at 35% 3%,  #fff 0%,transparent 100%),
    radial-gradient(1px 1px at 55% 8%,  #fff 0%,transparent 100%),
    radial-gradient(2px 2px at 70% 4%,  rgba(255,255,255,0.8) 0%,transparent 100%),
    radial-gradient(1px 1px at 85% 9%,  #fff 0%,transparent 100%),
    radial-gradient(1px 1px at 92% 2%,  #fff 0%,transparent 100%),
    radial-gradient(1px 1px at 45% 14%, #fff 0%,transparent 100%),
    radial-gradient(2px 2px at 15% 20%, rgba(200,180,255,0.8) 0%,transparent 100%);
}

/* Far floating island */
.sv-fant__island--far {
  position: absolute; top: 28%; right: 8%; width: 28%; height: 12%;
  background: linear-gradient(180deg, #1a0a40, #0d0520);
  border-radius: 40% 40% 20% 20%;
  box-shadow: 0 4px 16px rgba(139,92,246,0.4), 0 0 30px rgba(139,92,246,0.2);
}
.sv-fant__island--far::before {
  content: ''; position: absolute; top: -30%; left: 10%; right: 10%;
  height: 50%; background: linear-gradient(180deg, #2d1060, #1a0a40);
  border-radius: 50% 50% 0 0; clip-path: polygon(0 100%, 20% 20%, 40% 60%, 60% 10%, 80% 50%, 100% 100%);
}

/* Near main island */
.sv-fant__island--near {
  position: absolute; top: 38%; left: 50%; transform: translateX(-50%);
  width: 55%; height: 16%;
  background: linear-gradient(180deg, #1e0d50, #0d0028);
  border-radius: 45% 45% 25% 25%;
  box-shadow:
    0 6px 24px rgba(139,92,246,0.5),
    0 0 40px rgba(139,92,246,0.25),
    inset 0 -4px 12px rgba(0,0,0,0.5);
}
/* Vegetation on island */
.sv-fant__island--near::before {
  content: ''; position: absolute; top: -50%; left: 5%; right: 5%;
  height: 60%;
  background: linear-gradient(180deg, #1f0a00, #0a0520);
  clip-path: polygon(0 100%, 10% 50%, 20% 80%, 32% 20%, 45% 60%, 55% 25%, 68% 65%, 80% 35%, 90% 70%, 100% 100%);
}
/* Glowing underside */
.sv-fant__island--near::after {
  content: ''; position: absolute; bottom: -8px; left: 10%; right: 10%; height: 8px;
  background: linear-gradient(180deg, rgba(139,92,246,0.6), rgba(139,92,246,0));
  filter: blur(4px); border-radius: 50%;
}

/* Magical waterfall */
.sv-fant__waterfall {
  position: absolute; top: 52%; left: 50%; transform: translateX(-50%);
  width: 4%; height: 20%;
  background: linear-gradient(180deg,
    rgba(139,92,246,0.8) 0%,
    rgba(99,102,241,0.6) 40%,
    rgba(6,182,212,0.4) 70%,
    rgba(6,182,212,0.1) 100%
  );
  filter: blur(1.5px);
  animation: waterfallFlow 2s linear infinite;
}
.sv-fant__waterfall::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 200%; height: 12px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.5) 0%, transparent 70%);
  filter: blur(3px);
}
@keyframes waterfallFlow { 0%{opacity:1} 50%{opacity:0.7} 100%{opacity:1} }

/* Runes */
.sv-fant__runes { position: absolute; left: 5%; top: 20%; display: flex; flex-direction: column; gap: 8px; }
.sv-fant__runes span {
  font-size: 0.6rem; color: rgba(167,139,250,0.7);
  text-shadow: 0 0 6px rgba(139,92,246,0.8);
  animation: runeGlow 2s ease-in-out infinite;
}
.sv-fant__runes span:nth-child(2){ animation-delay:0.6s; }
.sv-fant__runes span:nth-child(3){ animation-delay:1.2s; }
@keyframes runeGlow { 0%,100%{opacity:0.4;text-shadow:0 0 4px rgba(139,92,246,0.5)} 50%{opacity:1;text-shadow:0 0 12px rgba(167,139,250,1)} }

/* Dragon silhouette */
.sv-fant__dragon {
  position: absolute; top: 18%; right: 5%; width: 25%; height: 10%;
  background: #0d0020;
  clip-path: polygon(
    0% 60%, 15% 20%, 22% 40%, 30% 10%, 38% 35%, 45% 0%, 52% 30%,
    58% 15%, 65% 40%, 72% 60%, 80% 45%, 88% 70%, 95% 55%, 100% 80%,
    85% 100%, 70% 80%, 55% 95%, 40% 75%, 25% 95%, 10% 80%
  );
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.7));
  animation: dragonGlide 6s ease-in-out infinite;
}
@keyframes dragonGlide { 0%,100%{transform:translateY(0) translateX(0)} 25%{transform:translateY(-4px) translateX(3px)} 75%{transform:translateY(3px) translateX(-2px)} }

/* Crystal */
.sv-fant__crystal {
  position: absolute; bottom: 28%; left: 12%;
  width: 8%; aspect-ratio: 1 / 1.8;
  background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(6,182,212,0.6));
  clip-path: polygon(50% 0%, 100% 38%, 80% 100%, 20% 100%, 0% 38%);
  box-shadow: 0 0 16px rgba(139,92,246,0.7), 0 0 30px rgba(6,182,212,0.4);
  animation: crystalPulse 3s ease-in-out infinite;
}
@keyframes crystalPulse { 0%,100%{box-shadow:0 0 16px rgba(139,92,246,0.7)} 50%{box-shadow:0 0 30px rgba(167,139,250,1),0 0 50px rgba(6,182,212,0.6)} }

/* Magic particles */
.sv-fant__magic span {
  position: absolute; border-radius: 50%;
  background: rgba(167,139,250,0.9);
  animation: magicFloat 3s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(139,92,246,0.8);
}
.sv-fant__magic span:nth-child(1){width:3px;height:3px;left:30%;top:60%;animation-delay:0s;}
.sv-fant__magic span:nth-child(2){width:4px;height:4px;left:55%;top:52%;animation-delay:0.6s;background:rgba(6,182,212,0.9);}
.sv-fant__magic span:nth-child(3){width:2px;height:2px;left:70%;top:65%;animation-delay:1.2s;}
.sv-fant__magic span:nth-child(4){width:3px;height:3px;left:20%;top:45%;animation-delay:1.8s;background:rgba(236,72,153,0.8);}
.sv-fant__magic span:nth-child(5){width:4px;height:4px;left:80%;top:42%;animation-delay:2.4s;}
@keyframes magicFloat {
  0%,100%{transform:translateY(0) scale(1);opacity:0.8}
  50%{transform:translateY(-12px) scale(1.3);opacity:1}
}

/* ============================================================
   TRENDING VIDEOS
   ============================================================ */
.trending { background: var(--bg); overflow: hidden; }

/* Badge pill above title */
.trend-badge-pill {
  display: inline-block;
  background: rgba(255,45,120,0.12);
  border: 1px solid rgba(255,45,120,0.35);
  color: var(--accent);
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 14px; letter-spacing: 0.3px;
}

.trend-hint {
  text-align: center; color: var(--text2);
  font-size: 0.82rem; margin-top: 20px;
  opacity: 0.7;
}

/* ── CAROUSEL LAYOUT ─────────────────────────────────────── */
.trend-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.trend-track-wrap {
  flex: 1;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.trend-track-wrap::-webkit-scrollbar { display: none; }
.trend-track-wrap:active { cursor: grabbing; }

.trend-track {
  display: flex;
  gap: 16px;
  padding: 16px 4px 24px;
}

/* Nav arrows */
.trend-nav {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: all var(--trans);
  display: flex; align-items: center; justify-content: center;
  opacity: 0.3;
}
.trend-nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; }
.trend-nav--next { opacity: 1; }

/* ── CARD ─────────────────────────────────────────────────── */
.tv-card {
  flex-shrink: 0;
  width: 180px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.tv-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px color-mix(in srgb, var(--tv-accent) 30%, transparent);
  z-index: 5;
}
.tv-card:hover .tv-hover-cta { opacity: 1; transform: translateY(0); }
.tv-card:hover .tv-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.tv-card:hover .tv-glow { opacity: 1; }

/* 9:16 thumbnail */
.tv-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.08);
}

/* Gradient overlay */
.tv-overlay-grad {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    transparent 30%,
    transparent 50%,
    rgba(0,0,0,0.85) 85%,
    rgba(0,0,0,0.95) 100%
  );
  pointer-events: none;
}

/* Top bar */
.tv-top {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 8;
  display: flex; justify-content: space-between; align-items: center;
}
.tv-category {
  font-size: 0.42rem; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; color: #fff;
  background: color-mix(in srgb, var(--tv-accent) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--tv-accent) 50%, transparent);
  padding: 3px 7px; border-radius: 5px; backdrop-filter: blur(6px);
  white-space: nowrap; max-width: 65%; overflow: hidden; text-overflow: ellipsis;
}
.tv-sound {
  background: rgba(0,0,0,0.35); border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: 0.55rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background var(--trans);
}
.tv-sound:hover { background: rgba(0,0,0,0.6); }

/* Center play button */
.tv-center {
  position: absolute; inset: 0; z-index: 8;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.tv-play {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 0.8rem; color: #fff; padding-left: 2px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-50%,-50%) scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
  position: absolute; top: 50%; left: 50%;
  pointer-events: auto; cursor: pointer;
}

/* Bottom info */
.tv-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 8;
  padding: 10px 10px 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.tv-title {
  font-size: 0.58rem; font-weight: 700; color: #fff;
  line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-meta {
  display: flex; flex-direction: column; gap: 2px;
}
.tv-creator { font-size: 0.42rem; color: rgba(255,255,255,0.65); font-weight: 600; }
.tv-stats { display: flex; gap: 8px; }
.tv-views, .tv-likes { font-size: 0.4rem; color: rgba(255,255,255,0.5); font-weight: 600; }

/* Hover CTA overlay */
.tv-hover-cta {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 12;
  padding: 12px 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.tv-card:hover .tv-hover-cta { pointer-events: auto; }
.tv-use-btn {
  width: 100%; padding: 8px;
  background: var(--gradient); border: none; border-radius: 8px;
  color: #fff; font-size: 0.55rem; font-weight: 700;
  cursor: pointer; transition: opacity var(--trans);
}
.tv-use-btn:hover { opacity: 0.85; }

/* Glow ring */
.tv-glow {
  position: absolute; inset: -2px; border-radius: 20px; z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--tv-accent) 50%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  filter: blur(8px);
}

/* ── REALISTIC PHOTO THUMBNAIL ────────────────────────────── */
.tv-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  animation: tvKenBurns 12s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes tvKenBurns {
  0%   { transform: scale(1.0) translate(0%,0%); }
  50%  { transform: scale(1.07) translate(-1.5%,1%); }
  100% { transform: scale(1.04) translate(1%,-1%); }
}
.tv-card:hover .tv-photo { animation-play-state: paused; transform: scale(1.06); }

.tv-photo-grade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}

/* hook text — top area below badge */
.tv-hook-row {
  position: absolute; top: 36px; left: 10px; right: 10px; z-index: 8;
  padding-top: 4px;
}
.tv-hook-text {
  font-size: 0.54rem; font-weight: 800; color: #fff; line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0,0,0,1), 0 0 2px rgba(0,0,0,0.8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* duration pill */
.tv-duration-badge {
  font-size: 0.42rem; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.65); padding: 2px 6px; border-radius: 4px;
  backdrop-filter: blur(6px); letter-spacing: 0.3px; white-space: nowrap;
}

/* TikTok-style right engagement rail inside trending cards */
.tv-rail {
  position: absolute; right: 8px; bottom: 60px; z-index: 9;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.tv-rail-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.tv-rail-ico { font-size: 0.85rem; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7)); }
.tv-rail-lbl {
  font-size: 0.36rem; color: rgba(255,255,255,0.85); font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.tv-creator-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid #fff;
  background: linear-gradient(135deg, var(--tv-accent), color-mix(in srgb, var(--tv-accent) 50%, #7c3aed));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.45rem; font-weight: 800; color: #fff;
  margin-bottom: 2px;
}

/* subtle floating animation on idle */
@keyframes tvFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-5px); }
}
.tv-card { animation: tvFloat 4s ease-in-out infinite; }
.tv-card:nth-child(2) { animation-delay: 0.7s; }
.tv-card:nth-child(3) { animation-delay: 1.4s; }
.tv-card:nth-child(4) { animation-delay: 2.1s; }
.tv-card:nth-child(5) { animation-delay: 2.8s; }
.tv-card:nth-child(6) { animation-delay: 3.5s; }
.tv-card:hover { animation-play-state: paused; }


/* ============================================================
   COMPARISON
   ============================================================ */
.compare { background: var(--bg); }
.compare-table { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.compare-col { flex: 1; min-width: 260px; max-width: 400px; border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); }
.virvid-col { background: var(--gradient); color: #fff; border-color: transparent; }
.others-col { background: var(--card); }
.compare-col h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-col li { font-size: 0.95rem; }
.virvid-col li::before { content: "✅ "; }
.others-col li::before { content: "❌ "; }
.others-col li { color: var(--text2); }

/* ============================================================
   PRICING
   ============================================================ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 20px; font-size: 0.95rem; }
.toggle { position: relative; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: var(--bg3); border-radius: 26px; cursor: pointer; transition: background var(--trans); }
.slider::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); left: 3px; top: 3px; transition: transform var(--trans); }
input:checked + .slider { background: var(--accent2); }
input:checked + .slider::before { transform: translateX(22px); }
.badge { background: #10b981; color: #fff; padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; margin-left: 4px; }

.pricing-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; flex: 1; min-width: 260px; max-width: 340px;
  position: relative; transition: transform var(--trans), box-shadow var(--trans);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.badge-top {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; padding: 4px 18px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.price { font-size: 2.5rem; font-weight: 900; margin-bottom: 28px; }
.price .amount { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price span:last-child { font-size: 1rem; color: var(--text2); font-weight: 400; }
.price-card ul { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.price-card li { font-size: 0.9rem; color: var(--text2); }
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg2); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 20px 24px; font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; transition: color var(--trans);
}
.faq-q::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--accent); transition: transform var(--trans); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; color: var(--text2); font-size: 0.95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; resize: vertical;
  transition: border-color var(--trans);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-inner { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { max-width: 260px; }
.footer-brand .logo { font-size: 1.6rem; margin-bottom: 12px; }
.footer-brand p { color: var(--text2); font-size: 0.88rem; margin-bottom: 8px; }
.copy { font-size: 0.8rem !important; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.footer-links a { color: var(--text2); text-decoration: none; font-size: 0.88rem; transition: color var(--trans); }
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero-inner { gap: 32px; }
  .hero-visual { flex: 0 0 260px; }
  .phone-shell { width: 230px; }
  .phone-screen-area { width: 230px; height: 496px; }
  .vc { height: 472px; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Section spacing */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Nav */
  .nav-links {
    flex-direction: column;
    position: absolute; top: calc(var(--nav-h) + 36px); left: 0; width: 100%;
    background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 0 24px; gap: 16px;
    max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.28s ease;
    pointer-events: none;
  }
  .nav-links.open {
    max-height: 420px; opacity: 1; transform: translateY(0);
    padding: 20px 24px; pointer-events: auto;
  }
  body.light .nav-links { background: #ffffff; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-links a { font-size: 1rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .hamburger { display: block; }

  /* Hero */
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* How it works */
  .step-arrow { display: none; }
  .steps { gap: 16px; }
  .step { min-width: unset; max-width: unset; width: 100%; padding: 28px 20px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feat-card { padding: 24px 18px; }

  /* Styles grid */
  .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Compare */
  .compare-table { flex-direction: column; align-items: stretch; }
  .compare-col { min-width: unset; max-width: unset; padding: 28px 20px; }

  /* Pricing */
  .pricing-cards { flex-direction: column; align-items: stretch; padding: 0 4px; }
  .price-card { min-width: unset; max-width: unset; padding: 32px 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-brand { max-width: unset; }
  .footer-links { gap: 28px; flex-wrap: wrap; }

  /* Trend */
  .trend-nav { display: none; }
  .tv-card { width: 150px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-right { gap: 8px; }
  .lang-switcher { gap: 2px; }
  .lang-btn { padding: 4px 7px; font-size: 0.72rem; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-num { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .btn-lg { width: 100%; justify-content: center; }

  /* Features — single column */
  .features-grid { grid-template-columns: 1fr; }

  /* Styles */
  .styles-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Pricing */
  .price-card { padding: 28px 18px; }
  .price { font-size: 2rem; }

  /* FAQ */
  .faq-q { padding: 16px 18px; font-size: 0.92rem; }

  /* Contact */
  .contact-form input, .contact-form textarea { padding: 12px 14px; }

  /* Footer */
  .footer-links { flex-direction: column; gap: 24px; }
  .footer { padding: 40px 0 24px; }
}
