/* ============================================================
   VYBE — Global Stylesheet
   ============================================================ */

/* Google Fonts are loaded via <link> in each HTML file */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  /* Core Palette */
  --bg-primary:      #0a0a0f;
  --bg-secondary:    #111118;
  --bg-tertiary:     #1a1a24;
  --bg-card:         rgba(255, 255, 255, 0.04);
  --bg-card-hover:   rgba(255, 255, 255, 0.07);

  /* Accent — Purple / Violet */
  --accent-600:      #7c3aed;
  --accent-500:      #8b5cf6;
  --accent-400:      #a855f7;
  --accent-300:      #c084fc;
  --accent-glow:     rgba(124, 58, 237, 0.35);
  --accent-glow-lg:  rgba(124, 58, 237, 0.18);

  /* Gradients */
  --grad-primary:    linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --grad-subtle:     linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  --grad-card:       linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(168,85,247,0.06) 100%);
  --grad-netflix:    linear-gradient(135deg, #e50914, #b20710);
  --grad-disney:     linear-gradient(135deg, #113ccf, #0f5cb5);
  --grad-prime:      linear-gradient(135deg, #00a8e1, #007faa);
  --grad-apple:      linear-gradient(135deg, #555, #111);
  --grad-hbo:        linear-gradient(135deg, #5c2d91, #3b1a5e);

  /* Text */
  --text-primary:    #f0f0f8;
  --text-secondary:  #a0a0b8;
  --text-muted:      #606078;
  --text-accent:     #a855f7;

  /* Status */
  --green-live:      #22c55e;
  --green-glow:      rgba(34, 197, 94, 0.4);
  --red-live:        #ef4444;

  /* Borders */
  --border:          rgba(255, 255, 255, 0.08);
  --border-accent:   rgba(124, 58, 237, 0.4);

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:       0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:       0 16px 64px rgba(0,0,0,0.6);
  --shadow-glow:     0 0 24px var(--accent-glow), 0 0 48px var(--accent-glow-lg);
  --shadow-glow-sm:  0 0 12px var(--accent-glow);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); }

.text-accent   { color: var(--text-accent); }
.text-muted    { color: var(--text-muted); }
.text-primary  { color: var(--text-primary); }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }
.hidden      { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   Glassmorphism Utilities
   ============================================================ */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.glass-sm {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.glass-strong {
  background: rgba(17,17,24,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.glass-accent {
  background: var(--grad-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
}

/* ============================================================
   Neon Glow Effects
   ============================================================ */
.glow {
  box-shadow: var(--shadow-glow);
}

.glow-sm {
  box-shadow: var(--shadow-glow-sm);
}

.glow-text {
  text-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
}

.neon-border {
  border: 1px solid var(--accent-500);
  box-shadow: 0 0 8px var(--accent-glow), inset 0 0 8px rgba(124,58,237,0.1);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active::after { background: rgba(255,255,255,0.12); }

.btn:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.55);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent-500);
  color: var(--accent-400);
  background: rgba(124,58,237,0.08);
}

.btn-outline {
  background: transparent;
  color: var(--accent-400);
  border: 1px solid var(--accent-500);
}

.btn-outline:hover {
  background: rgba(124,58,237,0.12);
  box-shadow: var(--shadow-glow-sm);
}

.btn-dark {
  background: rgba(0,0,0,0.8);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-dark:hover {
  background: rgba(0,0,0,0.9);
  border-color: rgba(255,255,255,0.15);
}

.btn-white {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-icon {
  padding: 0.6rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
}

/* ============================================================
   Navigation — Landing Page
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow);
}

.nav.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 16px rgba(124,58,237,0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 99;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-fast);
}

.nav-mobile a:hover { color: var(--text-primary); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.2) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 90% 50%, rgba(168,85,247,0.1) 0%, transparent 60%),
              var(--bg-primary);
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-floating-cards {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  border-radius: var(--radius-md);
  opacity: 0.12;
  animation: floatCard linear infinite;
}

.floating-card:nth-child(1)  { width:120px; height:170px; left:5%;  top:20%; background: linear-gradient(135deg,#e50914,#8b0000); animation-duration:18s; animation-delay:-2s; }
.floating-card:nth-child(2)  { width:100px; height:145px; left:12%; top:55%; background: linear-gradient(135deg,#113ccf,#0a2299); animation-duration:22s; animation-delay:-8s; }
.floating-card:nth-child(3)  { width:110px; height:155px; left:20%; top:10%; background: linear-gradient(135deg,#5c2d91,#3b1a5e); animation-duration:20s; animation-delay:-5s; }
.floating-card:nth-child(4)  { width:130px; height:180px; right:8%; top:15%; background: linear-gradient(135deg,#00a8e1,#005f80); animation-duration:25s; animation-delay:-12s; }
.floating-card:nth-child(5)  { width:95px;  height:135px; right:18%;top:50%; background: linear-gradient(135deg,#e50914,#700010); animation-duration:19s; animation-delay:-7s; }
.floating-card:nth-child(6)  { width:115px; height:160px; right:5%; top:70%; background: linear-gradient(135deg,#113ccf,#0930a0); animation-duration:23s; animation-delay:-3s; }
.floating-card:nth-child(7)  { width:90px;  height:128px; left:40%; top:5%;  background: linear-gradient(135deg,#7c3aed,#4c1d95); animation-duration:17s; animation-delay:-10s; }
.floating-card:nth-child(8)  { width:105px; height:148px; left:75%; top:80%; background: linear-gradient(135deg,#00a8e1,#0077a8); animation-duration:21s; animation-delay:-1s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-300);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 6px var(--green-glow);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-free-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08));
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.25s both;
}

.hero-free-pill svg { flex-shrink: 0; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-live-counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 8px var(--green-glow);
  animation: pulse 1.8s ease infinite;
  flex-shrink: 0;
}

.live-count {
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   How It Works
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), var(--border-accent), transparent);
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   Features Grid
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow-sm);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================================================
   Live Feed Preview
   ============================================================ */
.live-feed-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.live-feed-container::before,
.live-feed-container::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.live-feed-container::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-secondary), transparent);
}

.live-feed-container::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.live-feed-scroll {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  animation: scrollUp 25s linear infinite;
}

.live-feed-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast);
}

.live-feed-item:hover { border-color: var(--border-accent); }

.live-feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.live-feed-info {
  flex: 1;
  min-width: 0;
}

.live-feed-info strong {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.live-feed-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.live-feed-show {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.live-feed-show strong {
  color: var(--text-primary);
}

.platform-badge {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.platform-badge.netflix  { background: var(--grad-netflix); }
.platform-badge.disney   { background: var(--grad-disney); }
.platform-badge.prime    { background: var(--grad-prime); }
.platform-badge.apple    { background: var(--grad-apple); }
.platform-badge.hbo      { background: var(--grad-hbo); }

/* ============================================================
   Free Section
   ============================================================ */
.free-section {
  text-align: center;
}

.free-checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.free-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: #4ade80;
  font-size: 1.05rem;
}

.free-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--text-muted);
}

.social-icon:hover {
  border-color: var(--accent-500);
  color: var(--accent-400);
  background: rgba(124,58,237,0.1);
  box-shadow: var(--shadow-glow-sm);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================================
   Sign Up Page
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) var(--space-lg);
}

.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: var(--space-2xl);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.5s ease both;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.auth-logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
}

.auth-logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-title {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.auth-providers {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.provider-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.provider-btn:hover::after { background: rgba(255,255,255,0.06); }
.provider-btn:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 2px; }

.provider-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid rgba(0,0,0,0.15);
}

.provider-google:hover { background: #f8f8f8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.provider-apple {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.provider-apple:hover { background: #111; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

.provider-microsoft {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid rgba(0,0,0,0.15);
}

.provider-microsoft:hover { background: #f8f8f8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.phone-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.phone-row {
  display: flex;
  gap: var(--space-sm);
}

.country-select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  flex-shrink: 0;
  width: 100px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23606078' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.country-select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.phone-input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.phone-input::placeholder { color: var(--text-muted); }

.phone-input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* OTP Verification */
.otp-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  animation: fadeInUp 0.4s ease both;
}

.otp-header {
  text-align: center;
}

.otp-header h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.otp-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.otp-digits {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.otp-digit {
  width: 52px;
  height: 58px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  caret-color: var(--accent-400);
}

.otp-digit:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2), 0 0 12px rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.08);
}

.otp-digit.filled {
  border-color: var(--accent-400);
  background: rgba(124,58,237,0.1);
}

.otp-resend {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.resend-link {
  color: var(--accent-400);
  cursor: pointer;
  font-weight: 600;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

.resend-link:hover { color: var(--accent-300); }
.resend-link:disabled { color: var(--text-muted); cursor: default; }

.auth-footer-text {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-lg);
}

.auth-footer-text a {
  color: var(--accent-400);
  transition: color var(--transition-fast);
}

.auth-footer-text a:hover { color: var(--accent-300); }

.auth-signin-link {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.auth-signin-link a {
  color: var(--accent-400);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.auth-signin-link a:hover { color: var(--accent-300); }

/* ============================================================
   Dashboard — Layout
   ============================================================ */
.dashboard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* Dashboard Nav */
.dash-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.dash-nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.dash-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.dash-nav-logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  -webkit-text-fill-color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124,58,237,0.5);
}

.dash-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
}

.dash-nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dash-nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.dash-nav-link.active {
  color: var(--accent-400);
  background: rgba(124,58,237,0.12);
}

.dash-nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.notif-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.notif-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-live);
  border: 1px solid var(--bg-primary);
}

.user-avatar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.user-avatar-btn:hover {
  border-color: var(--accent-400);
  box-shadow: 0 0 12px rgba(124,58,237,0.4);
}

/* Dashboard Body */
.dash-body {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--space-lg);
  padding-top: var(--space-lg);
  gap: var(--space-lg);
}

/* Sidebar Left */
.dash-sidebar-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  scrollbar-width: none;
}

.dash-sidebar-left::-webkit-scrollbar { display: none; }

.sidebar-profile-card {
  padding: var(--space-lg);
}

.sidebar-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}

.sidebar-username {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.sidebar-identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-300);
  margin-bottom: var(--space-sm);
}

.sidebar-streak {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sidebar-streak strong {
  color: #fb923c;
}

.sidebar-platforms {
  padding: var(--space-md) var(--space-lg);
}

.sidebar-platforms-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.platform-icons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.platform-icon-pill {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.7;
  border: 1px solid transparent;
}

.platform-icon-pill:hover { opacity: 1; transform: scale(1.05); }
.platform-icon-pill.connected { opacity: 1; }
.platform-icon-pill.netflix  { background: var(--grad-netflix); }
.platform-icon-pill.disney   { background: var(--grad-disney); }
.platform-icon-pill.prime    { background: var(--grad-prime); }
.platform-icon-pill.apple    { background: var(--grad-apple); border-color: rgba(255,255,255,0.15); }
.platform-icon-pill.hbo      { background: var(--grad-hbo); }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-sm) var(--space-sm);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.7rem var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.sidebar-nav-item.active {
  color: var(--accent-400);
  background: rgba(124,58,237,0.1);
}

.sidebar-nav-item svg { flex-shrink: 0; opacity: 0.8; }

/* Main Feed */
.dash-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.post-box {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.post-box-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.post-box-input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
}

.post-box-input:hover {
  border-color: var(--accent-500);
  color: var(--text-secondary);
  background: rgba(124,58,237,0.05);
}

.post-box-btn {
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-full);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 0 12px rgba(124,58,237,0.4);
}

.post-box-btn:hover { transform: scale(1.1); box-shadow: 0 0 20px rgba(124,58,237,0.6); }

.feed-filters {
  display: flex;
  gap: var(--space-xs);
  padding: 0 var(--space-md);
}

.feed-filter-tab {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feed-filter-tab:hover {
  color: var(--text-secondary);
  background: var(--bg-card);
}

.feed-filter-tab.active {
  color: var(--accent-400);
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.3);
}

.feed-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feed-card {
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.feed-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.feed-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.feed-card-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.feed-card-meta {
  flex: 1;
  min-width: 0;
}

.feed-card-user {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.feed-card-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 2px;
}

.feed-card-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.feed-card-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.feed-card-thumbnail {
  width: 72px;
  height: 100px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--grad-subtle);
  overflow: hidden;
}

.feed-card-thumbnail-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feed-card-show-info {
  flex: 1;
  min-width: 0;
}

.feed-card-show-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.feed-card-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.feed-card-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.mood-tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--accent-300);
}

.feed-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.reaction-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.reaction-btn.reacted {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.4);
  color: var(--accent-300);
}

.reaction-btn.reacted-fire {
  background: rgba(251,146,60,0.1);
  border-color: rgba(251,146,60,0.4);
  color: #fb923c;
}

.reaction-btn.reacted-up {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.4);
  color: #4ade80;
}

.reaction-btn.reacted-down {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.4);
  color: #f87171;
}

.action-sep {
  flex: 1;
}

.comment-btn, .share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.comment-btn:hover, .share-btn:hover {
  color: var(--text-secondary);
  background: var(--bg-card);
  border-color: var(--border);
}

/* Right Sidebar */
.dash-sidebar-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  scrollbar-width: none;
}

.dash-sidebar-right::-webkit-scrollbar { display: none; }

.sidebar-widget {
  padding: var(--space-lg);
}

.sidebar-widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.trending-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.trending-item:hover { background: var(--bg-card); }

.trending-rank {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.trending-rank.top { color: var(--accent-400); }

.trending-info {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.trending-platform {
  flex-shrink: 0;
}

.friends-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.friend-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.friend-item:hover { background: var(--bg-card); }

.friend-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.friend-online-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-live);
  border: 1.5px solid var(--bg-primary);
  box-shadow: 0 0 5px var(--green-glow);
}

.friend-info {
  flex: 1;
  min-width: 0;
}

.friend-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.friend-watching {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mood-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.mood-option {
  padding: 0.6rem;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mood-option:hover {
  border-color: var(--border-accent);
  color: var(--accent-300);
  background: rgba(124,58,237,0.08);
}

.mood-option.selected {
  border-color: var(--accent-500);
  color: var(--accent-300);
  background: rgba(124,58,237,0.12);
  box-shadow: 0 0 8px rgba(124,58,237,0.2);
}

.mood-emoji { font-size: 1.2rem; display: block; margin-bottom: 3px; }

/* Floating Watch Button */
.fab-watching {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 32px rgba(124,58,237,0.5), 0 0 0 0 rgba(124,58,237,0.4);
  cursor: pointer;
  transition: all var(--transition-spring);
  animation: fabPulse 3s ease infinite;
  border: none;
}

.fab-watching:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(124,58,237,0.65);
}

.fab-watching:active { transform: translateY(0) scale(0.98); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 480px;
  padding: var(--space-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-spring);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23606078' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-tertiary);
}

.mood-tags-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.mood-tag-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mood-tag-btn:hover {
  border-color: var(--border-accent);
  color: var(--accent-300);
}

.mood-tag-btn.selected {
  background: rgba(124,58,237,0.15);
  border-color: var(--accent-500);
  color: var(--accent-300);
}

/* ============================================================
   Keyframe Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1deg); }
  66%       { transform: translateY(6px) rotate(-1deg); }
}

@keyframes floatCard {
  0%   { transform: translateY(0) rotate(-2deg) scale(1); }
  25%  { transform: translateY(-18px) rotate(1deg) scale(1.01); }
  50%  { transform: translateY(-8px) rotate(-1deg) scale(0.99); }
  75%  { transform: translateY(-22px) rotate(2deg) scale(1.01); }
  100% { transform: translateY(0) rotate(-2deg) scale(1); }
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(124,58,237,0.5), 0 0 0 0 rgba(124,58,237,0); }
  50%       { box-shadow: 0 8px 32px rgba(124,58,237,0.5), 0 0 0 8px rgba(124,58,237,0); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Responsive — Breakpoints
   ============================================================ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    gap: var(--space-lg);
  }

  .steps-grid::before { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .dash-body {
    grid-template-columns: 220px 1fr;
  }

  .dash-sidebar-right { display: none; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  :root {
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { max-width: 100%; }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .free-checks {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Dashboard mobile */
  .dash-body {
    grid-template-columns: 1fr;
    padding-top: var(--space-md);
  }

  .dash-sidebar-left { display: none; }
  .dash-sidebar-right { display: none; }

  .dash-nav-links { display: none; }

  .feed-card-thumbnail { width: 56px; height: 78px; }

  .fab-watching {
    bottom: var(--space-lg);
    right: var(--space-md);
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }

  .auth-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .otp-digits {
    gap: 0.4rem;
  }

  .otp-digit {
    width: 44px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .otp-digit {
    width: 38px;
    height: 46px;
    font-size: 1.2rem;
  }

  .hero-title { font-size: 2rem; }

  .modal { padding: var(--space-lg); }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
}

/* ============================================================
   WATCH PARTIES — parties.html
   ============================================================ */

/* Parties Hero */
.parties-hero {
  position: relative;
  padding: 120px 0 var(--space-3xl);
  overflow: hidden;
  background: var(--bg-primary);
}

.parties-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124,58,237,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 40%, rgba(168,85,247,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(236,72,153,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.parties-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.parties-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.parties-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease both;
}

.parties-hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.parties-hero-btns {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.parties-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f87171;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Featured Events Strip */
.featured-events-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.featured-events-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--bg-tertiary) transparent;
  -webkit-overflow-scrolling: touch;
}

.featured-events-strip::-webkit-scrollbar { height: 4px; }
.featured-events-strip::-webkit-scrollbar-track { background: transparent; }
.featured-events-strip::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 2px; }

.featured-event-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid rgba(255,255,255,0.08);
}

.featured-event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: var(--shadow-md);
}

.featured-event-card-1 { background: linear-gradient(135deg, #1a0533 0%, #2d1b69 100%); }
.featured-event-card-2 { background: linear-gradient(135deg, #3d0c2e 0%, #831843 100%); }
.featured-event-card-3 { background: linear-gradient(135deg, #0f2027 0%, #1e3a4c 50%, #2c5364 100%); }
.featured-event-card-4 { background: linear-gradient(135deg, #1a0a00 0%, #44403c 100%); }
.featured-event-card-5 { background: linear-gradient(135deg, #1c0700 0%, #7c2d12 100%); }

.featured-event-emoji {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.featured-event-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.featured-event-time {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-sm);
}

.featured-event-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
}

.featured-event-reminder-btn {
  width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.featured-event-reminder-btn:hover {
  background: rgba(255,255,255,0.22);
}

.featured-event-reminder-btn.reminded {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.4);
  color: #4ade80;
}

/* Party Filter Tabs */
.party-filter-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding: var(--space-xl) 0 var(--space-lg);
}

.party-filter-tab {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.party-filter-tab:hover {
  color: var(--text-secondary);
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.12);
}

.party-filter-tab.active {
  color: var(--accent-400);
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.35);
}

/* Party Cards Grid */
.party-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.party-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.party-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.party-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow-sm);
}

.party-card:hover::before { opacity: 1; }

.party-card-host {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.party-host-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.party-host-info {
  flex: 1;
  min-width: 0;
}

.party-host-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.party-host-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--accent-300);
  font-weight: 500;
}

.party-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.party-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.party-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.party-type-virtual {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  color: var(--accent-300);
}

.party-type-physical {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
}

.party-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.party-datetime {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.party-spots {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.party-avatars {
  display: flex;
}

.party-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  margin-left: -8px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.party-avatars .party-avatar-sm:first-child { margin-left: 0; }

.party-spots-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.party-spots-text.nearly-full {
  color: #fb923c;
}

.party-card-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
}

.party-card-actions .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
}

.party-vibe-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.party-vibe-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.55rem;
}

/* Safety Notice */
.safety-notice {
  background: rgba(16,185,129,0.04);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.safety-notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.safety-notice-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.safety-notice-text strong {
  color: #34d399;
}

/* ============================================================
   CREATE PARTY MODAL — 3-step wizard
   ============================================================ */
.create-party-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.create-party-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.create-party-modal {
  width: 100%;
  max-width: 560px;
  background: rgba(17,17,24,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: all var(--transition-spring);
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.create-party-modal-overlay.open .create-party-modal {
  transform: translateY(0) scale(1);
}

.modal-step-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.modal-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.modal-step-dot.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 12px rgba(124,58,237,0.4);
}

.modal-step-dot.done {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
  color: #4ade80;
}

.modal-step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  transition: background var(--transition-base);
}

.modal-step-line.done { background: rgba(34,197,94,0.4); }
.modal-step-line.active { background: var(--border-accent); }

.modal-step-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  margin-top: var(--space-xs);
}

/* Party type toggle cards */
.party-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.party-type-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.party-type-card:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.06);
}

.party-type-card.selected {
  border-color: var(--accent-500);
  background: rgba(124,58,237,0.1);
  box-shadow: 0 0 16px rgba(124,58,237,0.2);
}

.party-type-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.party-type-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.party-type-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Vibe checkboxes */
.vibe-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.vibe-checkbox-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vibe-checkbox-btn:hover {
  border-color: var(--border-accent);
  color: var(--accent-300);
}

.vibe-checkbox-btn.selected {
  background: rgba(124,58,237,0.15);
  border-color: var(--accent-500);
  color: var(--accent-300);
}

/* Slider */
.party-slider-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.party-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-tertiary);
  outline: none;
  border: none;
  cursor: pointer;
}

.party-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-primary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(124,58,237,0.5);
}

.party-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-primary);
  cursor: pointer;
  border: none;
}

.party-slider-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-400);
  min-width: 40px;
  text-align: right;
}

/* Toggle switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.toggle-label-group { flex: 1; }
.toggle-label-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.toggle-label-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider-track {
  position: absolute;
  inset: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.toggle-slider-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 3px;
  left: 3px;
  transition: all var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider-track {
  background: rgba(124,58,237,0.25);
  border-color: var(--accent-500);
}

.toggle-switch input:checked + .toggle-slider-track::before {
  transform: translateX(20px);
  background: var(--accent-400);
}

/* Step 3 — Review summary */
.party-review-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.party-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.party-review-row:last-child { border-bottom: none; }

.party-review-label {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 80px;
}

.party-review-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* Confetti success state */
.party-success-state {
  text-align: center;
  padding: var(--space-xl) 0;
  display: none;
}

.party-success-state.active { display: block; }

.party-success-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-md);
  animation: bounceIn 0.5s var(--transition-spring) both;
}

.party-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.party-success-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.party-share-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.6rem var(--space-md);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-bottom: var(--space-md);
}

.party-share-copy-btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent-300);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.party-share-copy-btn:hover {
  background: rgba(124,58,237,0.25);
}

/* Confetti pieces */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  animation: confettiFall linear forwards;
  border-radius: 2px;
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Toast notifications */
.vybe-toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(17,17,24,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 9000;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-spring);
  pointer-events: none;
  white-space: nowrap;
}

.vybe-toast.show {
  opacity: 1;
  pointer-events: none;
}

.vybe-toast.toast-success { border-color: rgba(34,197,94,0.3); }
.vybe-toast.toast-info { border-color: rgba(124,58,237,0.3); }

/* ============================================================
   PARTY ROOM — party-room.html
   ============================================================ */
.party-room {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Room Top Bar */
.party-room-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--space-lg);
  height: 64px;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.room-topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  min-width: 0;
}

.room-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.room-back-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
}

.room-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.room-topbar-centre {
  flex-shrink: 0;
}

.sync-timer {
  text-align: center;
}

.sync-timer-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1px;
}

.sync-timer-display {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: timerPulse 2s ease infinite;
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.room-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.room-viewers-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.room-settings-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.room-settings-btn:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

.room-leave-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.room-leave-btn:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.5);
}

/* Room Body — 3 column layout */
.party-room-body {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 64px);
}

/* Left — Participants */
.party-participants {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.party-participants-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.party-participants-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.party-participants-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
  font-weight: 600;
}

.party-participants-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--bg-tertiary) transparent;
}

.participant-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.participant-item:hover { background: var(--bg-card); }

.participant-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.participant-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-live);
  border: 1.5px solid var(--bg-secondary);
  box-shadow: 0 0 5px var(--green-glow);
}

.participant-info {
  flex: 1;
  min-width: 0;
}

.participant-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant-reaction-emoji {
  font-size: 1rem;
  flex-shrink: 0;
}

.participant-host-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent-300);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}

.participant-you-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}

/* Centre — Main Stage */
.party-stage {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-primary);
  position: relative;
}

.party-stage-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d1a, #1a0a2e, #0d0d1a);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.party-stage-screen-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,58,237,0.08), transparent);
  pointer-events: none;
}

.party-stage-placeholder {
  text-align: center;
  position: relative;
  z-index: 1;
}

.party-stage-placeholder-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.party-stage-placeholder-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Floating emoji container */
.emoji-float-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.emoji-float {
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  animation: floatUp 2.5s ease-out forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes floatUp {
  0%   { transform: translateY(0) scale(0.5); opacity: 0; }
  10%  { transform: translateY(-20px) scale(1.2); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-340px) scale(0.8) rotate(15deg); opacity: 0; }
}

/* Reaction Bar */
.reaction-bar {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.reaction-bar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: var(--space-xs);
  white-space: nowrap;
}

.reaction-emoji-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.reaction-emoji-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: scale(1.15) translateY(-2px);
}

.reaction-emoji-btn:active {
  transform: scale(0.95);
}

.reaction-emoji-btn .emoji {
  font-size: 1.4rem;
  display: block;
  line-height: 1;
}

.reaction-emoji-btn .label {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.snack-break-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.snack-break-btn:hover {
  background: rgba(245,158,11,0.2);
  border-color: rgba(245,158,11,0.4);
}

/* Right — Live Chat */
.party-chat {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.party-chat-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.party-chat-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.party-chat-online {
  font-size: 0.72rem;
  color: var(--green-live);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.party-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--bg-tertiary) transparent;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: slideInRight 0.25s ease both;
}

.chat-msg-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chat-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.chat-msg-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.chat-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: auto;
}

.chat-msg-bubble {
  margin-left: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 100%;
  word-break: break-word;
}

.chat-msg-own .chat-msg-bubble {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.25);
  color: var(--text-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md);
}

.chat-msg-own .chat-msg-name {
  color: var(--accent-300);
}

.chat-msg-system {
  text-align: center;
  padding: var(--space-xs) 0;
}

.chat-msg-system-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
}

/* Typing indicator */
.chat-typing-indicator {
  padding: 0 var(--space-md) var(--space-xs);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.typing-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* Chat input */
.party-chat-input-bar {
  padding: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.party-chat-input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  min-width: 0;
}

.party-chat-input::placeholder { color: var(--text-muted); }

.party-chat-input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 2px rgba(124,58,237,0.12);
}

.chat-emoji-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-emoji-btn:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }

.chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(124,58,237,0.35);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(124,58,237,0.5);
}

/* Snack Break Overlay */
.snack-break-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.snack-break-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.snack-break-card {
  width: 100%;
  max-width: 380px;
  background: rgba(17,17,24,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transform: scale(0.92);
  transition: transform var(--transition-spring);
}

.snack-break-overlay.open .snack-break-card {
  transform: scale(1);
}

.snack-break-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: var(--space-md);
}

.snack-break-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.snack-break-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.snack-break-votes-bar {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  height: 8px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.snack-break-votes-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  width: 82%;
  transition: width 0.5s ease;
}

.snack-break-votes-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.snack-break-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Party Info Sidebar */
.party-info-sidebar {
  position: fixed;
  top: 64px;
  right: 0;
  width: 280px;
  height: calc(100vh - 64px);
  background: rgba(17,17,24,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  padding: var(--space-xl);
  z-index: 100;
  transform: translateX(100%);
  transition: transform var(--transition-spring);
  overflow-y: auto;
  scrollbar-width: thin;
}

.party-info-sidebar.open {
  transform: translateX(0);
}

.party-info-toggle-btn {
  position: fixed;
  top: 50%;
  right: 320px;
  transform: translateY(-50%);
  width: 28px;
  height: 56px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.7rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: all var(--transition-fast);
  z-index: 101;
}

.party-info-toggle-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.party-info-sidebar-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.party-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.party-info-row:last-of-type { border-bottom: none; }

.party-info-row-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.party-info-row-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.party-info-vibe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.party-info-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.party-info-report-link {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.party-info-report-link:hover { color: #f87171; }

/* Sidebar widget (dashboard) */
.sidebar-widget {
  padding: var(--space-lg);
}

.sidebar-widget-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Live Parties Widget */
.live-parties-widget-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.live-party-widget-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.live-party-widget-item:hover { background: var(--bg-card); }

.live-party-widget-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.live-party-widget-info {
  flex: 1;
  min-width: 0;
}

.live-party-widget-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-party-widget-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.live-party-join-btn {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent-300);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
}

.live-party-join-btn:hover {
  background: rgba(124,58,237,0.22);
  border-color: var(--accent-500);
}

/* Platform badge additions */
.platform-badge.itvx {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(0,122,255,0.4);
}

.platform-badge.hbomax {
  background: var(--grad-hbo);
}

.platform-badge.sky {
  background: linear-gradient(135deg, #003366, #0055a4);
}

/* ============================================================
   RESPONSIVE — Watch Parties
   ============================================================ */
@media (max-width: 1024px) {
  .party-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .party-room-body {
    grid-template-columns: 0 1fr 280px;
  }

  .party-participants {
    display: none;
  }
}

@media (max-width: 768px) {
  .party-cards-grid {
    grid-template-columns: 1fr;
  }

  .party-type-toggle {
    grid-template-columns: 1fr;
  }

  .party-room-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: auto;
  }

  .party-participants {
    display: none;
  }

  .party-chat {
    border-left: none;
    border-top: 1px solid var(--border);
    height: 350px;
  }

  .party-stage {
    min-height: 300px;
  }

  .party-room-topbar {
    flex-wrap: wrap;
    height: auto;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .room-topbar-centre {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .sync-timer-display {
    font-size: 1rem;
  }

  .reaction-bar {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-xs);
  }

  .reaction-emoji-btn {
    padding: 0.4rem 0.55rem;
  }

  .reaction-emoji-btn .emoji {
    font-size: 1.2rem;
  }

  .party-info-sidebar {
    width: 100%;
    right: 0;
  }

  .featured-event-card {
    width: 180px;
  }

  .parties-hero {
    padding: 100px 0 var(--space-2xl);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Selection */
::selection {
  background: rgba(124,58,237,0.3);
  color: var(--text-primary);
}

/* ============================================================
   PARTY ROOM — Show Poster Stage
   ============================================================ */
.party-poster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.party-poster-art {
  width: 140px;
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-700), var(--accent-500), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(139,92,246,0.35), 0 2px 8px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.party-poster-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 340px;
}

.party-poster-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.party-poster-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 280px;
}

.party-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
}

.party-poster-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.5;
  margin: 0.25rem 0 0;
  text-align: left;
}

/* ── Room share button ───────────────────────────────────── */
.room-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--accent-300);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.room-share-btn:hover { background: rgba(168,85,247,0.22); }

/* ── Social share buttons ────────────────────────────────── */
.share-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.15s, opacity 0.15s;
  min-height: 68px;
}
.share-social-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ── VybeStreak modal overlay (share / join-request)
   Override the existing opacity:0 default so these modals
   display immediately when .hidden is removed              */
#sharePartyModal,
#joinRequestOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 1rem;
  opacity: 1 !important;
  pointer-events: all !important;
}
#sharePartyModal.hidden,
#joinRequestOverlay.hidden { display: none !important; }

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  max-height: 90vh;
  overflow-y: auto;
}

/* ============================================================
   AVATAR UPLOAD
   ============================================================ */
.sidebar-avatar-wrap:hover .avatar-upload-overlay {
  opacity: 1 !important;
}

/* ============================================================
   VOICE NOTES — Chat bubbles
   ============================================================ */
.voice-note-bubble {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  min-width: 160px;
}

.voice-note-play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.voice-note-play-btn:hover { background: rgba(255,255,255,0.25); }

.voice-note-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.voice-note-waveform span {
  display: inline-block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.voice-note-waveform.playing span {
  opacity: 1;
  animation: waveform-pulse 0.8s ease infinite alternate;
}
.voice-note-waveform.playing span:nth-child(even) { animation-delay: 0.2s; }
.voice-note-waveform.playing span:nth-child(3n)   { animation-delay: 0.4s; }

@keyframes waveform-pulse {
  from { transform: scaleY(0.6); }
  to   { transform: scaleY(1.4); }
}

.voice-note-duration {
  font-size: 0.7rem;
  opacity: 0.7;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Recording indicator ─────────────────────────────────── */
.voice-recording-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 600;
}
.voice-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1s ease infinite;
  flex-shrink: 0;
}

/* ── Mic button in chat bar ─────────────────────────────── */
.chat-mic-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.chat-mic-btn:hover { color: var(--accent-400); border-color: var(--accent-500); }
.chat-mic-btn.recording {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #ef4444;
  animation: pulse 1s ease infinite;
}

/* ============================================================
   VOICE ROOM — Panel + participants
   ============================================================ */
.voice-room-panel {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem;
  min-width: 260px;
  max-width: 360px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(168,85,247,0.1);
}
.voice-room-panel.hidden { display: none; }

.voice-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.voice-room-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: pulse 1.8s ease infinite;
}

.voice-mute-btn,
.voice-leave-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.voice-mute-btn:hover { color: var(--accent-400); border-color: var(--accent-500); }
.voice-mute-btn.muted { background: rgba(239,68,68,0.15); border-color: #ef4444; color: #ef4444; }
.voice-leave-btn:hover { background: rgba(239,68,68,0.15); border-color: #ef4444; color: #ef4444; }

.voice-room-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.voice-participant {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  font-size: 0.75rem;
  transition: border-color 0.2s;
}
.voice-participant.speaking {
  border-color: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.2);
}

.voice-participant-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-600), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.voice-participant-name {
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-participant-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.voice-participant.speaking .voice-participant-status {
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34,197,94,0.6);
}

/* ── Voice call button (topbar) ──────────────────────────── */
.room-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.room-voice-btn:hover { border-color: #22c55e; color: #22c55e; }
.room-voice-btn.active {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.4);
  color: #22c55e;
}

