/* ============================================
   LUXE DATING - Main Stylesheet
   高端私人交友平台 - 紫粉轻奢风格
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0f0524;
  --bg-secondary: #0a0e1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --glass-blur: blur(20px);
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --cta-purple: #8b5cf6;
  --cta-pink: #ec4899;
  --online-green: #10b981;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.25);
  --gradient-main: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-cta: linear-gradient(135deg, var(--cta-purple), var(--cta-pink));
  --gradient-accent: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  --gradient-bar: linear-gradient(90deg, var(--cta-purple), var(--cta-pink), var(--cta-purple));
  --font-main: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', 'SF Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  background: var(--gradient-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(139, 92, 246, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
input, select { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ============================================
   TOP COUNTDOWN BAR
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--gradient-bar);
  background-size: 200% 100%;
  animation: bar-shimmer 4s linear infinite;
  padding: 10px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@keyframes bar-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.top-bar-count {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  min-width: 36px;
  display: inline-block;
  text-align: center;
}

.top-bar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  animation: top-pulse 1.5s ease-in-out infinite;
}

@keyframes top-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================
   SKELETON SCREEN
   ============================================ */
.skeleton-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.skeleton-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.skeleton-wrap { width: 90%; max-width: 700px; }
.skeleton-header { text-align: center; margin-bottom: 40px; }
.skeleton-logo {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin: 0 auto 16px;
}
.skeleton-title {
  width: 240px; height: 24px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite 0.1s;
  margin: 0 auto 10px;
}
.skeleton-sub {
  width: 180px; height: 14px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite 0.2s;
  margin: 0 auto;
}
.skeleton-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skeleton-card {
  height: 180px; border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-card:nth-child(2) { animation-delay: 0.15s; }
.skeleton-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 40px;
  left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition-smooth);
}
.nav.scrolled {
  background: rgba(15, 5, 36, 0.92);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 18px; height: 18px; fill: white; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px;
  background: var(--gradient-cta); color: white;
  font-weight: 600; font-size: 14px;
  transition: var(--transition-smooth);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.nav-cta:hover::before { left: 100%; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 24px 60px;
  position: relative; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.35; pointer-events: none;
}
.hero-orb--1 { width: 400px; height: 400px; background: rgba(139, 92, 246, 0.15); top: 10%; left: -10%; animation: float 8s ease-in-out infinite; }
.hero-orb--2 { width: 300px; height: 300px; background: rgba(236, 72, 153, 0.12); bottom: 20%; right: -5%; animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; text-align: center; margin-bottom: 12px; line-height: 1.15;
}
.hero-title-main { display: block; color: white; }
.hero-title-sub {
  display: block;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% 100%;
  animation: gradient-text 4s ease infinite;
}
@keyframes gradient-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--text-secondary); text-align: center;
  margin-bottom: 36px; max-width: 560px;
  line-height: 1.7;
}
.hero-desc span { color: var(--accent-purple); font-weight: 500; }

.hero-btns { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-size: 16px; font-weight: 700; color: white;
  background: var(--gradient-cta); background-size: 200% 100%;
  transition: var(--transition-smooth);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5); background-position: 100% 0; }
.btn-primary:hover::before { left: 100%; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

/* --- Trust Stats (Hero) --- */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  width: 100%; max-width: 800px; margin-bottom: 56px;
}
.hero-stat {
  text-align: center; padding: 20px 12px;
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}
.hero-stat:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.hero-stat-num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800; font-family: var(--font-mono);
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.2; margin-bottom: 4px;
}
.hero-stat-num.breathing { animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ============================================
   3D CAROUSEL
   ============================================ */
.carousel-3d {
  width: 100%; max-width: 800px; height: 400px;
  perspective: 1200px; position: relative; margin: 0 auto;
}
.carousel-track {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-card {
  position: absolute;
  width: 260px; height: 360px;
  left: 50%; top: 50%;
  margin-left: -130px; margin-top: -180px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  cursor: pointer;
  backface-visibility: hidden;
}
.carousel-card-img { width: 100%; height: 240px; object-fit: cover; }
.carousel-card-info { padding: 16px; text-align: center; }
.carousel-card-name { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.carousel-card-meta { font-size: 13px; color: var(--text-secondary); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth); color: var(--text-primary);
}
.carousel-btn:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: scale(1.1); }
.carousel-btn svg { width: 18px; height: 18px; fill: currentColor; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted); transition: var(--transition-smooth); cursor: pointer;
}
.carousel-dot.active { width: 24px; border-radius: 4px; background: var(--gradient-cta); }

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(139, 92, 246, 0.1); color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--accent-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-desc { font-size: 15px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* --- Feature Tags --- */
.feature-tags {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px;
}
.feature-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.feature-tag:hover { border-color: rgba(168, 85, 247, 0.3); color: var(--text-primary); }
.feature-tag svg { width: 16px; height: 16px; fill: var(--accent-purple); }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 24px 32px; margin-bottom: 40px;
  display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.filter-group { flex: 1; min-width: 180px; }
.filter-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.filter-select {
  width: 100%; padding: 10px 36px 10px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-subtle);
  color: var(--text-primary); font-size: 14px; outline: none;
  transition: var(--transition-smooth); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.filter-select option { background: #1a1030; color: white; }
.filter-select:focus { border-color: var(--cta-purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15); }

input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.1); outline: none; margin-top: 12px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient-cta); cursor: pointer;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
.filter-range-val { font-size: 13px; color: var(--accent-purple); font-weight: 600; font-family: var(--font-mono); margin-top: 4px; }

.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tag {
  padding: 8px 14px; border-radius: 50px; font-size: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); cursor: pointer; transition: var(--transition-smooth); white-space: nowrap;
}
.filter-tag:hover { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.25); }
.filter-tag.active { background: rgba(139, 92, 246, 0.15); border-color: var(--cta-purple); color: var(--accent-pink); }

/* ============================================
   USER CARDS GRID
   ============================================ */
.users-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.user-card {
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition-smooth);
  position: relative;
  opacity: 0; transform: translateY(30px);
  animation: card-appear 0.6s ease forwards;
}
@keyframes card-appear { to { opacity: 1; transform: translateY(0); } }

.user-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-accent); opacity: 0; transition: opacity 0.4s;
}
.user-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover); border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.user-card:hover::before { opacity: 1; }

.user-card-img-wrap { position: relative; width: 100%; height: 280px; overflow: hidden; }
.user-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.user-card:hover .user-card-img { transform: scale(1.05); }

.user-card-online {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 50px;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
  font-size: 11px; color: var(--online-green); font-weight: 500;
}
.online-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--online-green);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Quick action buttons on card */
.user-card-actions {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: var(--transition-smooth);
}
.user-card:hover .user-card-actions { opacity: 1; transform: translateY(0); }

.card-action-btn {
  flex: 1; padding: 8px 0; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: white;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.card-action-btn svg { width: 14px; height: 14px; fill: currentColor; }
.card-action-btn--hi { background: rgba(139, 92, 246, 0.7); }
.card-action-btn--chat { background: rgba(168, 85, 247, 0.7); }
.card-action-btn--video { background: rgba(236, 72, 153, 0.7); }
.card-action-btn:hover { transform: scale(1.05); }

.user-card-body { padding: 18px; }
.user-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.user-card-name { font-size: 17px; font-weight: 700; }
.user-card-age { font-size: 14px; color: var(--text-secondary); font-family: var(--font-mono); }
.user-card-city {
  font-size: 13px; color: var(--text-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 4px;
}
.user-card-city svg { width: 13px; height: 13px; fill: var(--text-muted); }
.user-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.user-card-tag {
  padding: 3px 10px; border-radius: 20px; font-size: 11px;
  background: rgba(139, 92, 246, 0.08); color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.12);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-xl); padding: 56px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
  animation: rotate-bg 20s linear infinite;
}
@keyframes rotate-bg { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner-title { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; margin-bottom: 14px; line-height: 1.3; }
.cta-banner-title span {
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-banner-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-badge {
  padding: 8px 14px; border-radius: 50px; font-size: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); display: flex; align-items: center; gap: 6px;
}
.cta-badge svg { width: 14px; height: 14px; fill: var(--online-green); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition-smooth);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.active { border-color: rgba(139, 92, 246, 0.25); background: rgba(139, 92, 246, 0.04); }
.faq-question {
  width: 100%; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; color: var(--text-primary); text-align: left;
  transition: var(--transition-smooth);
}
.faq-question:hover { color: var(--accent-pink); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: var(--transition-smooth);
}
.faq-item.active .faq-icon { background: var(--gradient-cta); transform: rotate(45deg); }
.faq-icon svg { width: 12px; height: 12px; fill: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer-inner { padding: 0 24px 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   BOTTOM CTA
   ============================================ */
.bottom-cta { padding: 60px 0 80px; text-align: center; }
.bottom-cta-btn {
  display: block; width: 100%; max-width: 600px; margin: 0 auto;
  padding: 22px; border-radius: var(--radius-lg);
  font-size: 19px; font-weight: 800; color: white;
  background: var(--gradient-cta); background-size: 200% 100%;
  transition: var(--transition-smooth);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.3);
}
.bottom-cta-btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: btn-shine 3s infinite;
}
@keyframes btn-shine { 0% { left: -100%; } 50%, 100% { left: 100%; } }
.bottom-cta-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(139, 92, 246, 0.5); background-position: 100% 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 32px 0; border-top: 1px solid var(--border-subtle); text-align: center; }
.footer-text { font-size: 13px; color: var(--text-muted); }

/* ============================================
   FLOATING BUTTON (Bottom-right)
   ============================================ */
.floating-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 50px;
  background: var(--gradient-cta); color: white;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
  transition: var(--transition-smooth);
  animation: float-btn 3s ease-in-out infinite;
}
@keyframes float-btn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.floating-btn:hover { transform: scale(1.05) translateY(-4px) !important; box-shadow: 0 8px 32px rgba(139, 92, 246, 0.6); }
.floating-btn svg { width: 20px; height: 20px; fill: white; }

/* ============================================
   REALTIME BUBBLE (Right-center)
   ============================================ */
.realtime-bubble {
  position: fixed; right: 24px; top: 50%; z-index: 899;
  transform: translateY(-50%);
  padding: 12px 20px; border-radius: var(--radius-md);
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
  animation: bubble-float 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bubble-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
.realtime-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--online-green);
  animation: pulse-green 2s ease-in-out infinite;
}
.realtime-num { font-weight: 700; color: var(--accent-pink); font-family: var(--font-mono); }

/* ============================================
   REGISTER MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: var(--transition-smooth);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 440px;
  background: linear-gradient(145deg, rgba(20, 10, 40, 0.96), rgba(15, 22, 40, 0.96));
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-xl); padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-bounce);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth); color: var(--text-muted);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: white; }
.modal-close svg { width: 16px; height: 16px; fill: currentColor; }
.modal-title {
  font-size: 22px; font-weight: 800; margin-bottom: 8px;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.modal-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-subtle);
  color: var(--text-primary); font-size: 15px; outline: none;
  transition: var(--transition-smooth);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--cta-purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15); background: rgba(255, 255, 255, 0.08); }
.form-divider { text-align: center; font-size: 12px; color: var(--text-muted); margin: 2px 0; }
.modal-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; color: white;
  background: var(--gradient-cta); transition: var(--transition-smooth); margin-top: 8px;
}
.modal-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.modal-form.hidden { display: none; }
.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success.show { display: block; }
.modal-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.modal-success-icon svg { width: 28px; height: 28px; fill: var(--online-green); }
.modal-success-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-success-desc { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: var(--transition-smooth);
}
.video-modal-overlay.active { opacity: 1; visibility: visible; }
.video-modal {
  width: 100%; max-width: 440px;
  background: linear-gradient(180deg, #0a0a1a 0%, #1a0a2e 100%);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  overflow: hidden; transform: scale(0.9); transition: var(--transition-bounce);
}
.video-modal-overlay.active .video-modal { transform: scale(1); }
.video-screen {
  width: 100%; aspect-ratio: 4/3;
  background: radial-gradient(circle at center, #1a1030 0%, #0a0510 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.video-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(139, 92, 246, 0.3); margin-bottom: 16px;
  animation: video-pulse 2s ease-in-out infinite;
}
@keyframes video-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(139, 92, 246, 0); }
}
.video-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.video-status { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.video-timer { font-size: 32px; font-weight: 700; font-family: var(--font-mono); color: var(--accent-pink); }
.video-controls { padding: 24px; display: flex; align-items: center; justify-content: center; }
.video-btn-hangup {
  width: 60px; height: 60px; border-radius: 50%; background: #ef4444;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth); box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}
.video-btn-hangup:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5); }
.video-btn-hangup svg { width: 26px; height: 26px; fill: white; }

/* ============================================
   CHAT BUBBLES (floating)
   ============================================ */
.chat-bubbles-container {
  position: fixed; bottom: 100px; right: 24px; z-index: 898;
  pointer-events: none; display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.chat-bubble-item {
  padding: 10px 16px; border-radius: 16px 16px 4px 16px;
  background: var(--bg-card); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-secondary); max-width: 220px;
  animation: bubble-rise 5s ease-out forwards; opacity: 0;
}
@keyframes bubble-rise {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 0; transform: translateY(-30px); }
}
.chat-bubble-name { font-weight: 600; color: var(--accent-pink); font-size: 12px; margin-bottom: 2px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 120px 16px 50px; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .carousel-3d { height: 340px; }
  .carousel-card { width: 200px; height: 300px; margin-left: -100px; margin-top: -150px; }
  .carousel-card-img { height: 190px; }
  .filter-bar { padding: 20px; flex-direction: column; gap: 16px; }
  .filter-group { min-width: 100%; }
  .users-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .user-card-img-wrap { height: 220px; }
  .cta-banner { padding: 36px 20px; border-radius: var(--radius-lg); }
  .cta-badges { flex-direction: column; align-items: center; }
  .modal { padding: 28px; }
  .section { padding: 60px 0; }
  .realtime-bubble { display: none; }
  .chat-bubbles-container { display: none; }
  .floating-btn { padding: 12px 20px; font-size: 13px; bottom: 16px; right: 16px; }
  .bottom-cta-btn { font-size: 16px; padding: 18px; }
  .feature-tags { gap: 8px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
  .carousel-card { width: 170px; height: 260px; margin-left: -85px; margin-top: -130px; }
  .carousel-card-img { height: 160px; }
  .carousel-card-info { padding: 12px; }
  .carousel-card-name { font-size: 15px; }
  .users-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 14px 8px; }
  .hero-stat-num { font-size: 20px; }
}

/* --- Utility --- */
body.no-scroll { overflow: hidden; }
