/* =============================================================================
   PATH: static/css/futuristic.css
   CONNECTS TO: CALLED BY: CAMBIOS_LAYOUT.html, layout_futuristic.html, amigos/templates/temp_amigo_futuristic.html, layouts/html/admin_layout.html, layouts/html/base.html, layouts/html/layout_futuristic.html, layouts/html/layout_futuristic_backup.html, layouts/html...
   DESCRIPTION: Recurso frontend (CSS)
   ============================================================================= */

/* ========================================
   FUTURISTIC GLASSMORPHISM THEME
   Red Social - Triple Theme (Dark/Light/Ice)
   ======================================== */

/* ========================================
   CSS VARIABLES - DARK BLUE THEME (Default)
   ======================================== */
:root {
  /* Primary Colors */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #4facfe 100%);
  --primary: #7c3aed;
  
  /* Dark Background Colors */
  --bg-dark: #0a0a1a;
  --bg-darker: #050510;
  --bg-card: rgba(15, 20, 50, 0.8);
  --bg-card-hover: rgba(25, 35, 80, 0.9);
  --bg-hover: rgba(30, 40, 90, 0.6);
  
  /* Glass Colors - Dark Mode */
  --glass-bg: rgba(15, 25, 60, 0.6);
  --glass-bg-solid: rgba(20, 30, 70, 0.85);
  --glass-border: rgba(100, 130, 255, 0.2);
  --glass-border-bright: rgba(100, 150, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* Border */
  --border: rgba(100, 130, 255, 0.2);
  --border-light: rgba(100, 130, 255, 0.1);
  
  /* Background Gradient */
  --bg-gradient: linear-gradient(135deg, #0a0a1a 0%, #0d1033 25%, #1a1a3e 50%, #0d1033 75%, #0a0a1a 100%);
  --bg-mesh: radial-gradient(ellipse at 20% 0%, rgba(79, 172, 254, 0.15) 0px, transparent 50%),
             radial-gradient(ellipse at 80% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
             radial-gradient(ellipse at 50% 100%, rgba(102, 126, 234, 0.1) 0px, transparent 50%);
  
  /* Text Colors - High contrast for accessibility (WCAG AA) */
  --text: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #d0dcee;
  --text-muted: #b0c0d8;
  --text-white: #ffffff;
  
  /* Accent Colors */
  --accent-blue: #4facfe;
  --accent-purple: #7c3aed;
  --accent-pink: #f093fb;
  --accent-cyan: #00f2fe;
  --accent-indigo: #667eea;
  
  /* Status Colors */
  --success: #00d9a5;
  --warning: #ffc107;
  --error: #ff6b6b;
  --info: #4facfe;
  
  /* Shadows */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  /* Glow Effects */
  --glow-blue: 0 0 20px rgba(79, 172, 254, 0.4), 0 0 40px rgba(79, 172, 254, 0.2);
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.2);
  --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.4);
  
  /* Sizing */
  --header-height: 70px;
  --sidebar-width: 200px;
  --right-sidebar-width: 300px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Placeholder text inside dark glass cards: high contrast for readability */
.glass-card .sidebar-placeholder-text {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ========================================
   LIGHT THEME - Add class "theme-light" to body
   ======================================== */
body.theme-light {
  --primary: #6366f1;
  --bg-dark: #e8eff7;
  --bg-darker: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-hover: rgba(240, 244, 248, 0.8);
  
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-bg-solid: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-bright: rgba(102, 126, 234, 0.3);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  
  --bg-gradient: linear-gradient(135deg, #e0e5ec 0%, #c5d0e6 25%, #b8c6db 50%, #d4e0ed 75%, #e8eff7 100%);
  --bg-mesh: radial-gradient(at 40% 20%, hsla(212, 80%, 85%, 0.8) 0px, transparent 50%),
             radial-gradient(at 80% 0%, hsla(189, 80%, 85%, 0.6) 0px, transparent 50%),
             radial-gradient(at 0% 50%, hsla(255, 80%, 90%, 0.5) 0px, transparent 50%);
  
  --text: #0f0f1a;
  --text-primary: #0f0f1a;
  --text-secondary: #2d2d4a;
  --text-muted: #4a4a6e;
  
  --border: rgba(102, 126, 234, 0.2);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  
  --glow-blue: 0 4px 15px rgba(79, 172, 254, 0.3);
  --glow-purple: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.theme-light .header {
  background: rgba(255, 255, 255, 0.85);
}

body.theme-light .mobile-nav {
  background: rgba(255, 255, 255, 0.95);
}

body.theme-light .flash-message {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

/* ========================================
   ICE THEME - Futuristic Light Blue/White
   Add class "theme-ice" to body
   ======================================== */
body.theme-ice {
  --primary-gradient: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
  --secondary-gradient: linear-gradient(135deg, #81ecec 0%, #74b9ff 100%);
  --accent-gradient: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
  
  --bg-dark: #e8f4fc;
  --bg-darker: #f0f8ff;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-bg-solid: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(116, 185, 255, 0.3);
  --glass-border-bright: rgba(116, 185, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(116, 185, 255, 0.15), 0 4px 16px rgba(108, 92, 231, 0.1);
  
  --bg-gradient: linear-gradient(160deg, #e0f3ff 0%, #c5e8ff 20%, #b0dfff 40%, #d0e8ff 60%, #e8f4fc 80%, #f0f8ff 100%);
  --bg-mesh: radial-gradient(ellipse at 10% 20%, rgba(116, 185, 255, 0.4) 0px, transparent 50%),
             radial-gradient(ellipse at 90% 10%, rgba(129, 236, 236, 0.3) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 80%, rgba(162, 155, 254, 0.25) 0px, transparent 50%),
             radial-gradient(ellipse at 80% 70%, rgba(116, 185, 255, 0.2) 0px, transparent 40%);
  
  --text-primary: #1a1f21;
  --text-secondary: #3d4a4f;
  --text-muted: #5c6a70;
  
  --accent-blue: #0984e3;
  --accent-purple: #6c5ce7;
  --accent-pink: #fd79a8;
  --accent-cyan: #00cec9;
  
  --glow-blue: 0 4px 20px rgba(116, 185, 255, 0.4), 0 8px 40px rgba(116, 185, 255, 0.2);
  --glow-purple: 0 4px 20px rgba(108, 92, 231, 0.3), 0 8px 40px rgba(108, 92, 231, 0.15);
  --glow-cyan: 0 4px 20px rgba(129, 236, 236, 0.4);
}

body.theme-ice .header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 244, 252, 0.9) 100%);
  border-bottom: 1px solid rgba(116, 185, 255, 0.2);
  box-shadow: 0 4px 30px rgba(116, 185, 255, 0.1);
}

body.theme-ice .glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 248, 255, 0.75) 100%);
  border: 1px solid rgba(116, 185, 255, 0.25);
  box-shadow: 0 8px 32px rgba(116, 185, 255, 0.12),
              0 2px 8px rgba(108, 92, 231, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-ice .glass-card:hover {
  border-color: rgba(116, 185, 255, 0.4);
  box-shadow: 0 12px 40px rgba(116, 185, 255, 0.2),
              0 4px 12px rgba(108, 92, 231, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-ice .sidebar-item.active {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.4);
}

body.theme-ice .header-nav-link.active {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.4);
}

body.theme-ice .btn-primary {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.4);
}

body.theme-ice .btn-primary:hover {
  box-shadow: 0 6px 25px rgba(9, 132, 227, 0.5);
}

body.theme-ice .post-action-btn:hover,
body.theme-ice .post-action-btn.active {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

body.theme-ice .header-icon-btn:hover {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  box-shadow: var(--glow-blue);
}

body.theme-ice .section-action-btn:hover {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  box-shadow: var(--glow-blue);
}

body.theme-ice .attachment-btn:hover {
  background: linear-gradient(135deg, #81ecec 0%, #74b9ff 100%);
}

body.theme-ice .mobile-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 244, 252, 0.95) 100%);
  border-top: 1px solid rgba(116, 185, 255, 0.2);
}

body.theme-ice .flash-message {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-left-color: #0984e3;
}

body.theme-ice .trending-user-avatar {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

body.theme-ice .reels-section {
  background: linear-gradient(145deg, rgba(116, 185, 255, 0.1) 0%, rgba(162, 155, 254, 0.1) 100%);
}

body.theme-ice .hashtag {
  color: #0984e3;
}

body.theme-ice .mention {
  color: #6c5ce7;
}

body.theme-ice ::-webkit-scrollbar-thumb {
  background: rgba(116, 185, 255, 0.4);
}

body.theme-ice ::-webkit-scrollbar-thumb:hover {
  background: #0984e3;
}

/* Ice theme animated background shimmer - deshabilitado en page-salon */
body.theme-ice:not(.page-salon)::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

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

/* ========================================
   THEME: SOCIETY DARK (Purple/Pink Dark)
   ======================================== */
body.theme-society-dark {
  --primary-gradient: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f472b6 100%);
  --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  
  --bg-dark: #0f0a1e;
  --bg-darker: #080510;
  --bg-card: rgba(20, 10, 40, 0.85);
  --bg-card-hover: rgba(35, 20, 60, 0.9);
  
  --glass-bg: rgba(25, 15, 50, 0.7);
  --glass-bg-solid: rgba(35, 20, 65, 0.9);
  --glass-border: rgba(147, 51, 234, 0.25);
  --glass-border-bright: rgba(236, 72, 153, 0.4);
  --glass-shadow: 0 8px 32px rgba(147, 51, 234, 0.2);
  
  --bg-gradient: linear-gradient(135deg, #0f0a1e 0%, #1a0f2e 25%, #150a25 50%, #1a0f2e 75%, #0f0a1e 100%);
  --bg-mesh: radial-gradient(ellipse at 20% 20%, rgba(147, 51, 234, 0.2) 0px, transparent 50%),
             radial-gradient(ellipse at 80% 10%, rgba(236, 72, 153, 0.15) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 90%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);
  
  --text-primary: #ffffff;
  --text-secondary: #e0d4ff;
  --text-muted: #c4b5fd;
  
  --accent-blue: #06b6d4;
  --accent-purple: #9333ea;
  --accent-pink: #ec4899;
  --accent-cyan: #22d3ee;
  
  --glow-blue: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
  --glow-purple: 0 0 20px rgba(147, 51, 234, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
}

body.theme-society-dark .header {
  background: linear-gradient(180deg, rgba(15, 10, 30, 0.95) 0%, rgba(25, 15, 45, 0.9) 100%);
  border-bottom: 1px solid rgba(147, 51, 234, 0.3);
}

body.theme-society-dark .glass-card {
  background: linear-gradient(145deg, rgba(25, 15, 50, 0.9) 0%, rgba(35, 20, 60, 0.8) 100%);
  border: 1px solid rgba(147, 51, 234, 0.2);
}

body.theme-society-dark .glass-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}

body.theme-society-dark .sidebar-item.active,
body.theme-society-dark .header-nav-link.active {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5);
}

body.theme-society-dark .btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

body.theme-society-dark .mobile-nav {
  background: rgba(15, 10, 30, 0.98);
  border-top: 1px solid rgba(147, 51, 234, 0.3);
}

/* ========================================
   THEME: SOFT PASTEL (Light with soft colors)
   ======================================== */
body.theme-soft-pastel {
  --primary-gradient: linear-gradient(135deg, #f472b6 0%, #c084fc 50%, #818cf8 100%);
  --secondary-gradient: linear-gradient(135deg, #fcd34d 0%, #fb923c 100%);
  --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  
  --bg-dark: #faf5ff;
  --bg-darker: #fdf4ff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-solid: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(196, 181, 253, 0.4);
  --glass-border-bright: rgba(244, 114, 182, 0.5);
  --glass-shadow: 0 8px 32px rgba(167, 139, 250, 0.15);
  
  --bg-gradient: linear-gradient(160deg, #fdf4ff 0%, #faf5ff 20%, #f3e8ff 40%, #ede9fe 60%, #e0e7ff 80%, #faf5ff 100%);
  --bg-mesh: radial-gradient(ellipse at 10% 10%, rgba(244, 114, 182, 0.2) 0px, transparent 50%),
             radial-gradient(ellipse at 90% 20%, rgba(167, 139, 250, 0.2) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 80%, rgba(251, 146, 60, 0.15) 0px, transparent 50%);
  
  --text-primary: #0f0d24;
  --text-secondary: #2e1b5c;
  --text-muted: #5b21b6;
  
  --accent-blue: #60a5fa;
  --accent-purple: #a78bfa;
  --accent-pink: #f472b6;
  --accent-cyan: #22d3ee;
  
  --glow-blue: 0 4px 20px rgba(96, 165, 250, 0.3);
  --glow-purple: 0 4px 20px rgba(167, 139, 250, 0.3);
}

body.theme-soft-pastel .header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 244, 255, 0.9) 100%);
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
}

body.theme-soft-pastel .glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(196, 181, 253, 0.3);
  box-shadow: 0 4px 24px rgba(167, 139, 250, 0.1);
}

body.theme-soft-pastel .glass-card:hover {
  box-shadow: 0 8px 32px rgba(244, 114, 182, 0.2);
}

body.theme-soft-pastel .sidebar-item.active,
body.theme-soft-pastel .header-nav-link.active {
  background: linear-gradient(135deg, #f472b6 0%, #c084fc 100%);
}

body.theme-soft-pastel .btn-primary {
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
}

body.theme-soft-pastel .mobile-nav {
  background: rgba(255, 255, 255, 0.98);
}

body.theme-soft-pastel .post-content,
body.theme-soft-pastel .post-author-name {
  color: #1e1b4b;
}

/* ========================================
   THEME: NEON CYBER (Dark with neon accents)
   ======================================== */
body.theme-neon-cyber {
  --primary-gradient: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
  --secondary-gradient: linear-gradient(135deg, #ffff00 0%, #00ff88 100%);
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
  
  --bg-dark: #000000;
  --bg-darker: #050505;
  --bg-card: rgba(10, 10, 15, 0.9);
  --bg-card-hover: rgba(15, 15, 25, 0.95);
  
  --glass-bg: rgba(10, 10, 20, 0.8);
  --glass-bg-solid: rgba(15, 15, 30, 0.9);
  --glass-border: rgba(0, 255, 136, 0.2);
  --glass-border-bright: rgba(0, 212, 255, 0.4);
  --glass-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
  
  --bg-gradient: linear-gradient(135deg, #000000 0%, #0a0a0f 50%, #000000 100%);
  --bg-mesh: radial-gradient(ellipse at 20% 30%, rgba(0, 255, 136, 0.1) 0px, transparent 50%),
             radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.1) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 80%, rgba(255, 0, 255, 0.08) 0px, transparent 50%);
  
  --text-primary: #ffffff;
  --text-secondary: #6bffb8;
  --text-muted: #66e5ff;
  
  --accent-blue: #00d4ff;
  --accent-purple: #ff00ff;
  --accent-pink: #ff00aa;
  --accent-cyan: #00ff88;
  
  --glow-blue: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
  --glow-purple: 0 0 30px rgba(255, 0, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.3);
}

body.theme-neon-cyber .header {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

body.theme-neon-cyber .glass-card {
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

body.theme-neon-cyber .glass-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(255, 0, 255, 0.1);
}

body.theme-neon-cyber .sidebar-item.active,
body.theme-neon-cyber .header-nav-link.active {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  color: #000000;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

body.theme-neon-cyber .btn-primary {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

body.theme-neon-cyber .mobile-nav {
  background: rgba(0, 0, 0, 0.98);
  border-top: 1px solid rgba(0, 255, 136, 0.3);
}

body.theme-neon-cyber a {
  color: #00ff88;
}

body.theme-neon-cyber a:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Neon scanline effect - deshabilitado en page-salon */
body.theme-neon-cyber:not(.page-salon)::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 136, 0.02) 2px,
    rgba(0, 255, 136, 0.02) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ========================================
   THEME: SUNSET WARM (Orange/Pink warm)
   ======================================== */
body.theme-sunset-warm {
  --primary-gradient: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #ec4899 100%);
  --secondary-gradient: linear-gradient(135deg, #fcd34d 0%, #f97316 100%);
  --accent-gradient: linear-gradient(135deg, #fb923c 0%, #f472b6 100%);
  
  --bg-dark: #1c1917;
  --bg-darker: #0c0a09;
  --bg-card: rgba(28, 25, 23, 0.9);
  --bg-card-hover: rgba(41, 37, 36, 0.95);
  
  --glass-bg: rgba(28, 25, 23, 0.7);
  --glass-bg-solid: rgba(41, 37, 36, 0.85);
  --glass-border: rgba(249, 115, 22, 0.25);
  --glass-border-bright: rgba(239, 68, 68, 0.4);
  --glass-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
  
  --bg-gradient: linear-gradient(160deg, #1c1917 0%, #292524 25%, #1c1917 50%, #292524 75%, #1c1917 100%);
  --bg-mesh: radial-gradient(ellipse at 0% 0%, rgba(249, 115, 22, 0.2) 0px, transparent 50%),
             radial-gradient(ellipse at 100% 0%, rgba(239, 68, 68, 0.15) 0px, transparent 50%),
             radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
  
  --text-primary: #fffbeb;
  --text-secondary: #fcd9b3;
  --text-muted: #fdba74;
  
  --accent-blue: #38bdf8;
  --accent-purple: #c084fc;
  --accent-pink: #f472b6;
  --accent-cyan: #fcd34d;
  
  --glow-blue: 0 0 20px rgba(249, 115, 22, 0.4), 0 0 40px rgba(249, 115, 22, 0.2);
  --glow-purple: 0 0 20px rgba(239, 68, 68, 0.4), 0 0 40px rgba(239, 68, 68, 0.2);
}

body.theme-sunset-warm .header {
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.95) 0%, rgba(41, 37, 36, 0.9) 100%);
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}

body.theme-sunset-warm .glass-card {
  background: linear-gradient(145deg, rgba(28, 25, 23, 0.9) 0%, rgba(41, 37, 36, 0.85) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

body.theme-sunset-warm .glass-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}

body.theme-sunset-warm .sidebar-item.active,
body.theme-sunset-warm .header-nav-link.active {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

body.theme-sunset-warm .btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

body.theme-sunset-warm .mobile-nav {
  background: rgba(28, 25, 23, 0.98);
  border-top: 1px solid rgba(249, 115, 22, 0.3);
}

/* ========================================
   THEME: OCEAN BREEZE (Blue/Teal light)
   ======================================== */
body.theme-ocean-breeze {
  --primary-gradient: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #6366f1 100%);
  --secondary-gradient: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%);
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  
  --bg-dark: #f0fdfa;
  --bg-darker: #f0f9ff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-bg-solid: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(8, 145, 178, 0.25);
  --glass-border-bright: rgba(6, 182, 212, 0.4);
  --glass-shadow: 0 8px 32px rgba(8, 145, 178, 0.15);
  
  --bg-gradient: linear-gradient(160deg, #f0fdfa 0%, #e0f2fe 25%, #cffafe 50%, #e0f2fe 75%, #f0fdfa 100%);
  --bg-mesh: radial-gradient(ellipse at 20% 10%, rgba(45, 212, 191, 0.25) 0px, transparent 50%),
             radial-gradient(ellipse at 80% 20%, rgba(8, 145, 178, 0.2) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 90%, rgba(99, 102, 241, 0.15) 0px, transparent 50%);
  
  --text-primary: #020617;
  --text-secondary: #0c4a6e;
  --text-muted: #0e7490;
  
  --accent-blue: #0891b2;
  --accent-purple: #6366f1;
  --accent-pink: #ec4899;
  --accent-cyan: #2dd4bf;
  
  --glow-blue: 0 4px 20px rgba(8, 145, 178, 0.3);
  --glow-purple: 0 4px 20px rgba(99, 102, 241, 0.3);
}

body.theme-ocean-breeze .header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 250, 0.9) 100%);
  border-bottom: 1px solid rgba(8, 145, 178, 0.2);
}

body.theme-ocean-breeze .glass-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 145, 178, 0.2);
  box-shadow: 0 4px 24px rgba(8, 145, 178, 0.1);
}

body.theme-ocean-breeze .glass-card:hover {
  box-shadow: 0 8px 32px rgba(45, 212, 191, 0.2);
}

body.theme-ocean-breeze .sidebar-item.active,
body.theme-ocean-breeze .header-nav-link.active {
  background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
}

body.theme-ocean-breeze .btn-primary {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

body.theme-ocean-breeze .mobile-nav {
  background: rgba(255, 255, 255, 0.98);
}

body.theme-ocean-breeze .post-content,
body.theme-ocean-breeze .post-author-name {
  color: #0f172a;
}

/* ========================================
   THEME: AURORA BOREALIS (Northern lights - teal/purple/green)
   ======================================== */
body.theme-aurora-borealis {
  --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #10b981 100%);
  --secondary-gradient: linear-gradient(135deg, #2dd4bf 0%, #a78bfa 100%);
  --accent-gradient: linear-gradient(135deg, #14b8a6 0%, #6366f1 100%);
  --bg-dark: #0c1222;
  --bg-darker: #060a12;
  --bg-card: rgba(15, 35, 55, 0.85);
  --bg-card-hover: rgba(20, 50, 75, 0.9);
  --glass-bg: rgba(6, 182, 212, 0.08);
  --glass-bg-solid: rgba(15, 45, 70, 0.9);
  --glass-border: rgba(45, 212, 191, 0.25);
  --glass-border-bright: rgba(139, 92, 246, 0.35);
  --glass-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
  --bg-gradient: linear-gradient(160deg, #0c1222 0%, #0f1729 25%, #0e1a2e 50%, #0d1528 75%, #0c1222 100%);
  --bg-mesh: radial-gradient(ellipse at 30% 10%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
             radial-gradient(ellipse at 70% 20%, rgba(139, 92, 246, 0.15) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.12) 0px, transparent 50%);
  --text-primary: #e0f2fe;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glow-blue: 0 0 24px rgba(6, 182, 212, 0.4);
  --glow-purple: 0 0 24px rgba(139, 92, 246, 0.35);
}
body.theme-aurora-borealis .header {
  background: rgba(12, 18, 34, 0.9);
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}
body.theme-aurora-borealis .glass-card {
  background: rgba(15, 35, 55, 0.8);
  border: 1px solid rgba(45, 212, 191, 0.2);
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.1);
}
body.theme-aurora-borealis .glass-card:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}
body.theme-aurora-borealis .sidebar-item.active,
body.theme-aurora-borealis .header-nav-link.active {
  background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
}
body.theme-aurora-borealis .btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
}
body.theme-aurora-borealis .mobile-nav { background: rgba(12, 25, 45, 0.98); }

/* ========================================
   THEME: MATRIX GREEN (Cyber code-rain)
   ======================================== */
body.theme-matrix-green {
  --primary-gradient: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  --secondary-gradient: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --bg-dark: #031008;
  --bg-darker: #020a05;
  --bg-card: rgba(6, 25, 12, 0.9);
  --bg-card-hover: rgba(10, 40, 18, 0.95);
  --glass-bg: rgba(34, 197, 94, 0.06);
  --glass-bg-solid: rgba(8, 35, 15, 0.92);
  --glass-border: rgba(34, 197, 94, 0.3);
  --glass-border-bright: rgba(74, 222, 128, 0.4);
  --glass-shadow: 0 8px 32px rgba(34, 197, 94, 0.12);
  --bg-gradient: linear-gradient(180deg, #031008 0%, #051a0c 30%, #031008 100%);
  --bg-mesh: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0px, transparent 60%);
  --text-primary: #dcfce7;
  --text-secondary: #86efac;
  --text-muted: #4ade80;
  --glow-blue: 0 0 20px rgba(34, 197, 94, 0.35);
  --glow-purple: 0 0 20px rgba(74, 222, 128, 0.25);
}
body.theme-matrix-green .header {
  background: rgba(3, 16, 8, 0.95);
  border-bottom: 1px solid rgba(34, 197, 94, 0.25);
}
body.theme-matrix-green .glass-card {
  background: rgba(6, 25, 12, 0.88);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
body.theme-matrix-green .glass-card:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}
body.theme-matrix-green .sidebar-item.active,
body.theme-matrix-green .header-nav-link.active {
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
}
body.theme-matrix-green .btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
body.theme-matrix-green .mobile-nav { background: rgba(3, 20, 10, 0.98); }

/* ========================================
   THEME: HOLOGRAM (Iridescent pink/cyan/violet)
   ======================================== */
body.theme-hologram {
  --primary-gradient: linear-gradient(135deg, #ec4899 0%, #06b6d4 50%, #8b5cf6 100%);
  --secondary-gradient: linear-gradient(135deg, #f472b6 0%, #22d3ee 100%);
  --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
  --bg-dark: #0f0a14;
  --bg-darker: #0a0610;
  --bg-card: rgba(30, 15, 45, 0.85);
  --bg-card-hover: rgba(45, 25, 65, 0.9);
  --glass-bg: rgba(236, 72, 153, 0.06);
  --glass-bg-solid: rgba(25, 15, 40, 0.92);
  --glass-border: rgba(236, 72, 153, 0.25);
  --glass-border-bright: rgba(6, 182, 212, 0.35);
  --glass-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
  --bg-gradient: linear-gradient(160deg, #0f0a14 0%, #1a0f28 30%, #0d0a18 60%, #0f0a14 100%);
  --bg-mesh: radial-gradient(ellipse at 20% 30%, rgba(236, 72, 153, 0.15) 0px, transparent 45%),
             radial-gradient(ellipse at 80% 60%, rgba(6, 182, 212, 0.12) 0px, transparent 45%),
             radial-gradient(ellipse at 50% 20%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
  --text-primary: #fce7f3;
  --text-secondary: #e9d5ff;
  --text-muted: #c4b5fd;
  --glow-blue: 0 0 24px rgba(6, 182, 212, 0.4);
  --glow-purple: 0 0 24px rgba(236, 72, 153, 0.4);
}
body.theme-hologram .header {
  background: rgba(15, 10, 20, 0.92);
  border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}
body.theme-hologram .glass-card {
  background: rgba(30, 15, 45, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.1);
}
body.theme-hologram .glass-card:hover {
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.2), 0 0 40px rgba(6, 182, 212, 0.1);
}
body.theme-hologram .sidebar-item.active,
body.theme-hologram .header-nav-link.active {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}
body.theme-hologram .btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #a78bfa 100%);
}
body.theme-hologram .mobile-nav { background: rgba(20, 12, 35, 0.98); }

/* ========================================
   THEME: SYNTHWAVE (80s retro purple/pink/magenta)
   ======================================== */
body.theme-synthwave {
  --primary-gradient: linear-gradient(135deg, #f472b6 0%, #c026d3 50%, #7c3aed 100%);
  --secondary-gradient: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
  --accent-gradient: linear-gradient(135deg, #e879f9 0%, #8b5cf6 100%);
  --bg-dark: #1e0a2e;
  --bg-darker: #140720;
  --bg-card: rgba(45, 20, 65, 0.88);
  --bg-card-hover: rgba(60, 30, 85, 0.92);
  --glass-bg: rgba(192, 38, 211, 0.08);
  --glass-bg-solid: rgba(35, 15, 55, 0.9);
  --glass-border: rgba(244, 114, 182, 0.3);
  --glass-border-bright: rgba(232, 121, 249, 0.45);
  --glass-shadow: 0 8px 32px rgba(192, 38, 211, 0.2);
  --bg-gradient: linear-gradient(180deg, #1e0a2e 0%, #2d0a45 25%, #1a0628 50%, #1e0a2e 100%);
  --bg-mesh: radial-gradient(ellipse at 0% 0%, rgba(244, 114, 182, 0.25) 0px, transparent 50%),
             radial-gradient(ellipse at 100% 0%, rgba(124, 58, 237, 0.2) 0px, transparent 50%),
             radial-gradient(ellipse at 50% 100%, rgba(192, 38, 211, 0.15) 0px, transparent 50%);
  --text-primary: #fdf4ff;
  --text-secondary: #e9d5ff;
  --text-muted: #d8b4fe;
  --glow-blue: 0 0 24px rgba(244, 114, 182, 0.4);
  --glow-purple: 0 0 24px rgba(192, 38, 211, 0.45);
}
body.theme-synthwave .header {
  background: rgba(30, 10, 46, 0.92);
  border-bottom: 1px solid rgba(244, 114, 182, 0.25);
}
body.theme-synthwave .glass-card {
  background: rgba(45, 20, 65, 0.85);
  border: 1px solid rgba(244, 114, 182, 0.25);
  box-shadow: 0 4px 24px rgba(192, 38, 211, 0.12);
}
body.theme-synthwave .glass-card:hover {
  box-shadow: 0 0 24px rgba(244, 114, 182, 0.2);
}
body.theme-synthwave .sidebar-item.active,
body.theme-synthwave .header-nav-link.active {
  background: linear-gradient(135deg, #c026d3 0%, #a855f7 100%);
}
body.theme-synthwave .btn-primary {
  background: linear-gradient(135deg, #e879f9 0%, #c026d3 100%);
}
body.theme-synthwave .mobile-nav { background: rgba(28, 12, 45, 0.98); }

/* ========================================
   AMIGOS / RADAR / SUGERENCIAS - Theme overrides (contrast)
   ======================================== */
body.theme-light .orbit-widget,
body.theme-light .suggestion-card-center,
body.theme-light .suggestions-center-container {
  --space-bg: #e8eff7;
  --space-card: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(0, 0, 0, 0.08);
  --accent-copper: #b8875a;
  --accent-copper-glow: rgba(184, 135, 90, 0.35);
  --accent-blue-glow: rgba(74, 158, 255, 0.35);
  --amigos-text-on-accent: #0f0f1a;
  --amigos-accent-soft: rgba(184, 135, 90, 0.2);
  --amigos-accent-soft-hover: rgba(184, 135, 90, 0.35);
  --amigos-card-bg: rgba(255, 255, 255, 0.85);
  --amigos-card-border: rgba(0, 0, 0, 0.08);
  --amigos-shadow: rgba(0, 0, 0, 0.12);
}
body.theme-ice .orbit-widget,
body.theme-ice .suggestion-card-center,
body.theme-ice .suggestions-center-container {
  --space-bg: #e8f4fc;
  --space-card: rgba(255, 255, 255, 0.8);
  --glass-border-light: rgba(116, 185, 255, 0.25);
  --accent-copper: #0984e3;
  --accent-copper-glow: rgba(9, 132, 227, 0.3);
  --accent-blue-glow: rgba(0, 212, 255, 0.4);
  --amigos-text-on-accent: #0f172a;
  --amigos-accent-soft: rgba(9, 132, 227, 0.15);
  --amigos-accent-soft-hover: rgba(9, 132, 227, 0.25);
  --amigos-card-bg: rgba(255, 255, 255, 0.8);
  --amigos-card-border: rgba(116, 185, 255, 0.2);
  --amigos-shadow: rgba(0, 0, 0, 0.1);
}
body.theme-soft-pastel .orbit-widget,
body.theme-soft-pastel .suggestion-card-center,
body.theme-soft-pastel .suggestions-center-container {
  --space-bg: #fef7f0;
  --space-card: rgba(255, 255, 255, 0.9);
  --glass-border-light: rgba(167, 139, 250, 0.2);
  --accent-copper: #a78bfa;
  --accent-copper-glow: rgba(167, 139, 250, 0.3);
  --accent-blue-glow: rgba(167, 139, 250, 0.3);
  --amigos-text-on-accent: #1e1b4b;
  --amigos-accent-soft: rgba(167, 139, 250, 0.2);
  --amigos-accent-soft-hover: rgba(167, 139, 250, 0.3);
  --amigos-card-bg: rgba(255, 255, 255, 0.9);
  --amigos-card-border: rgba(167, 139, 250, 0.2);
  --amigos-shadow: rgba(0, 0, 0, 0.08);
}
body.theme-society-dark .orbit-widget,
body.theme-society-dark .suggestion-card-center,
body.theme-society-dark .suggestions-center-container {
  --space-card: rgba(30, 20, 50, 0.9);
  --glass-border-light: rgba(236, 72, 153, 0.2);
  --amigos-text-on-accent: #f5f3ff;
  --amigos-accent-soft: rgba(236, 72, 153, 0.2);
  --amigos-accent-soft-hover: rgba(236, 72, 153, 0.35);
  --amigos-card-bg: rgba(30, 20, 50, 0.9);
  --amigos-card-border: rgba(236, 72, 153, 0.2);
  --amigos-shadow: rgba(0, 0, 0, 0.3);
}
body.theme-neon-cyber .orbit-widget,
body.theme-neon-cyber .suggestion-card-center,
body.theme-neon-cyber .suggestions-center-container {
  --space-card: rgba(10, 10, 20, 0.95);
  --glass-border-light: rgba(0, 255, 65, 0.2);
  --amigos-accent-soft: rgba(0, 255, 65, 0.15);
  --amigos-accent-soft-hover: rgba(0, 255, 65, 0.3);
  --amigos-card-bg: rgba(10, 10, 20, 0.95);
  --amigos-card-border: rgba(0, 255, 65, 0.2);
  --amigos-shadow: rgba(0, 0, 0, 0.4);
}
body.theme-sunset-warm .orbit-widget,
body.theme-sunset-warm .suggestion-card-center,
body.theme-sunset-warm .suggestions-center-container {
  --space-card: rgba(30, 25, 35, 0.9);
  --glass-border-light: rgba(249, 115, 22, 0.25);
  --amigos-text-on-accent: #1c1917;
  --amigos-accent-soft: rgba(249, 115, 22, 0.2);
  --amigos-accent-soft-hover: rgba(249, 115, 22, 0.35);
  --amigos-card-bg: rgba(30, 25, 35, 0.9);
  --amigos-card-border: rgba(249, 115, 22, 0.25);
  --amigos-shadow: rgba(0, 0, 0, 0.25);
}
body.theme-ocean-breeze .orbit-widget,
body.theme-ocean-breeze .suggestion-card-center,
body.theme-ocean-breeze .suggestions-center-container {
  --space-card: rgba(15, 30, 55, 0.9);
  --glass-border-light: rgba(6, 182, 212, 0.25);
  --amigos-text-on-accent: #f0f9ff;
  --amigos-accent-soft: rgba(6, 182, 212, 0.2);
  --amigos-accent-soft-hover: rgba(6, 182, 212, 0.35);
  --amigos-card-bg: rgba(15, 30, 55, 0.9);
  --amigos-card-border: rgba(6, 182, 212, 0.25);
  --amigos-shadow: rgba(0, 0, 0, 0.3);
}
body.theme-aurora-borealis .orbit-widget,
body.theme-aurora-borealis .suggestion-card-center,
body.theme-aurora-borealis .suggestions-center-container {
  --space-card: rgba(15, 35, 55, 0.9);
  --glass-border-light: rgba(45, 212, 191, 0.25);
  --accent-copper: #14b8a6;
  --accent-copper-glow: rgba(45, 212, 191, 0.35);
  --amigos-text-on-accent: #e0f2fe;
  --amigos-accent-soft: rgba(45, 212, 191, 0.2);
  --amigos-accent-soft-hover: rgba(139, 92, 246, 0.3);
  --amigos-card-bg: rgba(15, 35, 55, 0.9);
  --amigos-card-border: rgba(45, 212, 191, 0.25);
  --amigos-shadow: rgba(0, 0, 0, 0.35);
}
body.theme-matrix-green .orbit-widget,
body.theme-matrix-green .suggestion-card-center,
body.theme-matrix-green .suggestions-center-container {
  --space-card: rgba(6, 25, 12, 0.95);
  --glass-border-light: rgba(34, 197, 94, 0.3);
  --accent-copper: #22c55e;
  --accent-copper-glow: rgba(74, 222, 128, 0.35);
  --amigos-text-on-accent: #022c12;
  --amigos-accent-soft: rgba(34, 197, 94, 0.15);
  --amigos-accent-soft-hover: rgba(74, 222, 128, 0.3);
  --amigos-card-bg: rgba(6, 25, 12, 0.95);
  --amigos-card-border: rgba(34, 197, 94, 0.3);
  --amigos-shadow: rgba(0, 0, 0, 0.4);
}
body.theme-hologram .orbit-widget,
body.theme-hologram .suggestion-card-center,
body.theme-hologram .suggestions-center-container {
  --space-card: rgba(30, 15, 45, 0.9);
  --glass-border-light: rgba(236, 72, 153, 0.25);
  --accent-copper: #ec4899;
  --accent-copper-glow: rgba(244, 114, 182, 0.35);
  --amigos-text-on-accent: #fdf4ff;
  --amigos-accent-soft: rgba(236, 72, 153, 0.2);
  --amigos-accent-soft-hover: rgba(139, 92, 246, 0.3);
  --amigos-card-bg: rgba(30, 15, 45, 0.9);
  --amigos-card-border: rgba(236, 72, 153, 0.25);
  --amigos-shadow: rgba(0, 0, 0, 0.35);
}
body.theme-synthwave .orbit-widget,
body.theme-synthwave .suggestion-card-center,
body.theme-synthwave .suggestions-center-container {
  --space-card: rgba(45, 20, 65, 0.9);
  --glass-border-light: rgba(244, 114, 182, 0.3);
  --accent-copper: #e879f9;
  --accent-copper-glow: rgba(244, 114, 182, 0.35);
  --amigos-text-on-accent: #1e0a2e;
  --amigos-accent-soft: rgba(244, 114, 182, 0.2);
  --amigos-accent-soft-hover: rgba(232, 121, 249, 0.35);
  --amigos-card-bg: rgba(45, 20, 65, 0.9);
  --amigos-card-border: rgba(244, 114, 182, 0.3);
  --amigos-shadow: rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* body::before/::after deshabilitados en .page-salon para evitar capa gris */
body:not(.page-salon)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-mesh);
  pointer-events: none;
  z-index: -1;
}

/* Animated background particles effect */
body:not(.page-salon)::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(79, 172, 254, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(124, 58, 237, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0, 242, 254, 0.3), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(102, 126, 234, 0.2), transparent);
  background-size: 200px 100px;
  animation: sparkle 20s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

@keyframes sparkle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   GLASSMORPHISM UTILITIES - DARK MODE
   ======================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-solid {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--glass-border-bright);
  box-shadow: var(--glass-shadow), var(--glow-blue);
}

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

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

/* ========================================
   MAIN LAYOUT
   ======================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrapper {
  display: flex;
  flex: 1;
  padding-top: var(--header-height);
}

.content-area {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr var(--right-sidebar-width);
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

@media (max-width: 1200px) {
  .content-area {
    grid-template-columns: var(--sidebar-width) 1fr;
  }
  .right-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-area {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .left-sidebar {
    display: none;
  }
}

/* ========================================
   HEADER - DARK MODE
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(10, 10, 30, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-user-info {
  display: flex;
  flex-direction: column;
}

.header-username {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
}

.header-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 32px;
}

.header-nav-link {
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.header-nav-link:hover {
  background: var(--glass-bg);
  color: var(--text-white);
}

.header-nav-link.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--glow-purple);
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-search {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.header-search input {
  width: 100%;
  padding: 12px 20px 12px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  color: var(--text-white);
  transition: var(--transition);
}

.header-search input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
  background: var(--glass-bg-solid);
}

.header-search input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.header-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.header-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--glass-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--glass-border);
}

.header-icon-btn:hover {
  background: var(--accent-gradient);
  color: white;
  transform: scale(1.05);
  box-shadow: var(--glow-blue);
  border-color: transparent;
}

.header-icon-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ========================================
   LEFT SIDEBAR
   ======================================== */
.left-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.left-sidebar::-webkit-scrollbar {
  width: 6px;
}

.left-sidebar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.left-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.left-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.sidebar-item:hover {
  background: var(--glass-bg);
  color: var(--text-white);
  transform: translateX(4px);
  border-color: var(--glass-border);
}

.sidebar-item.active {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--glow-blue);
  border-color: transparent;
}

.sidebar-item .icon {
  font-size: 1.3rem;
  width: 28px;
  text-align: center;
}

/* Sidebar Divider */
.sidebar-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 12px 16px;
  opacity: 0.5;
}

/* Sidebar buttons styling */
.sidebar-menu button.sidebar-item {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

/* Logout button */
.sidebar-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

/* ========================================
   MAIN FEED
   ======================================== */
.main-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Featured Post */
.featured-post {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.featured-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.featured-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.featured-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-author-info {
  color: white;
}

.featured-author-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  background: var(--accent-blue);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.featured-author-handle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.featured-content {
  color: white;
  font-size: 1.1rem;
}

.featured-hashtag {
  color: var(--accent-cyan);
  font-weight: 500;
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  opacity: 0.9;
  font-size: 0.9rem;
}

.featured-time {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

/* Post Card */
.post-card {
  padding: 20px;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow), var(--glow-purple);
  border-color: var(--glass-border-bright);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author-info {
  flex: 1;
}

.post-author-name {
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.post-options-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.post-options-btn:hover {
  background: var(--glass-bg);
  color: var(--text-white);
}

/* Post Options Menu Dropdown */
.post-options {
  position: relative;
}

.post-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  padding: 8px 0;
  border-radius: var(--radius);
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
}

.post-menu a,
.post-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: left;
}

.post-menu a:hover,
.post-menu button:hover {
  background: var(--glass-bg);
  color: var(--text-white);
}

.post-menu button.danger {
  color: #ef4444;
}

.post-menu button.danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.post-content {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.post-media {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.post-media img,
.post-media video {
  width: 100%;
  display: block;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.post-action-btn:hover {
  background: var(--primary-gradient);
  color: white;
}

.post-action-btn.active {
  background: var(--primary-gradient);
  color: white;
}

/* Custom Tooltip for action buttons */
.post-action-btn {
  position: relative;
}

.post-action-btn::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.post-action-btn::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

.post-action-btn:hover::after,
.post-action-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

.post-action-btn:hover::after {
  transform: translateX(-50%) translateY(-12px);
}

.post-action-btn:hover::before {
  transform: translateX(-50%) translateY(0);
}

/* Create Post */
.create-post-card {
  padding: 20px;
}

.create-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.create-post-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 1rem;
  color: var(--text-white);
  resize: none;
  min-height: 50px;
  transition: var(--transition);
}

.create-post-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
}

.create-post-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Mejor contraste del placeholder para accesibilidad */
body:not(.theme-light):not(.theme-ice) .create-post-input::placeholder {
  color: var(--text-secondary);
}

.create-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.create-post-attachments {
  display: flex;
  gap: 8px;
}

.attachment-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--glass-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.attachment-btn:hover {
  background: var(--secondary-gradient);
  color: white;
}

/* ========================================
   RIGHT SIDEBAR
   ======================================== */
.right-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Trending Section */
.trending-section {
  padding: 20px;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
}

.section-actions {
  display: flex;
  gap: 8px;
}

.section-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.section-action-btn:hover {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}

.trending-users {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 8px;
  cursor: grab;
  width: max-content;
  transition: transform 0.1s ease-out;
}

.trending-users:active {
  cursor: grabbing;
}

.trending-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.trending-user:hover {
  transform: scale(1.1) translateY(-5px);
}

.trending-user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  padding: 3px;
  position: relative;
}

.trending-user-avatar img,
.trending-user-avatar .initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gradient);
  color: white;
  font-weight: 600;
}

.trending-user-avatar .live-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--error);
  color: white;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.trending-user-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Reels Section */
.reels-section {
  padding: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
}

.reel-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
}

.reel-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.reel-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.reel-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
}

.reel-author-name {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.reel-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.reel-stats {
  display: flex;
  gap: 16px;
}

.reel-stat {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Active Rooms */
.active-rooms-section {
  padding: 20px;
}

.active-rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.room-thumbnail {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}

.room-thumbnail:hover {
  transform: scale(1.05);
}

.room-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-thumbnail .live-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--error);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.room-thumbnail .viewers {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Sponsored Ads Section */
.sponsored-section {
  margin-top: 1rem;
}

.sponsored-ads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sponsored-ad {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--glass-bg);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.sponsored-ad:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.sponsored-ad-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sponsored-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsored-ad-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sponsored-ad-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsored-ad-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sponsored-ad-cta {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: auto;
}

.sponsored-ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(232, 121, 249, 0.1));
  border-radius: var(--radius);
  border: 1px dashed var(--glass-border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  text-align: center;
}

.sponsored-ad-placeholder:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(232, 121, 249, 0.2));
}

.sponsored-placeholder-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.sponsored-placeholder-text {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.9rem;
}

.sponsored-placeholder-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(79, 172, 254, 0.5);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--glass-bg-solid);
  border-color: var(--glass-border-bright);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-white);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 1rem;
  color: var(--text-white);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
  background: var(--glass-bg-solid);
}

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

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash-container {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flash-message {
  padding: 16px 24px;
  border-radius: var(--radius);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
  color: var(--text-white);
}

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

.flash-message.success {
  border-left: 4px solid var(--success);
}

.flash-message.error {
  border-left: 4px solid var(--error);
}

.flash-message.info {
  border-left: 4px solid var(--info);
}

/* ========================================
   AVATAR
   ======================================== */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-sm { width: 32px; height: 32px; font-size: 0.8rem; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.2rem; }
.avatar-xl { width: 80px; height: 80px; font-size: 1.5rem; }

/* ========================================
   HASHTAGS & MENTIONS
   ======================================== */
.hashtag {
  color: var(--accent-cyan);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hashtag:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.mention {
  color: var(--accent-purple);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mention:hover {
  color: var(--accent-pink);
  text-decoration: underline;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
}

.mobile-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-item.active {
  color: var(--accent-purple);
}

.mobile-nav-item .icon {
  font-size: 1.4rem;
}

.mobile-nav-item .label {
  font-size: 0.7rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }
  
  .main-wrapper {
    padding-bottom: 80px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ========================================
   SCROLLBAR - DARK MODE
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 20, 50, 0.5);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.text-white { color: var(--text-white); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ========================================
   RESPONSIVE DESIGN - FULL ADAPTATION
   ======================================== */

/* Large screens - fill space better */
@media (min-width: 1400px) {
  .main-container {
    max-width: 1600px;
  }
  
  .main-feed {
    flex: 1 1 700px;
  }
  
  .right-sidebar {
    flex: 0 0 350px;
  }
  
  .left-sidebar {
    flex: 0 0 280px;
  }
  
  .featured-image {
    height: 350px;
  }
  
  .post-card {
    padding: 28px;
  }
}

/* Medium screens - Tablets */
@media (max-width: 1200px) {
  .main-container {
    padding: 0 16px;
  }
  
  .left-sidebar {
    width: 220px;
  }
  
  .right-sidebar {
    width: 280px;
  }
  
  .sidebar-item {
    padding: 12px 16px;
    gap: 10px;
  }
  
  .sidebar-item span:not(.icon) {
    font-size: 0.9rem;
  }
  
  .featured-image {
    height: 250px;
  }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
  .main-layout {
    flex-direction: column;
  }
  
  .left-sidebar {
    display: none;
  }
  
  .right-sidebar {
    width: 100%;
    max-width: 100%;
    flex: 1;
    order: -1;
    margin-bottom: 20px;
  }
  
  .main-feed {
    width: 100%;
    max-width: 100%;
  }
  
  /* Show right sidebar content in horizontal scroll */
  .right-sidebar .glass-card {
    margin-bottom: 16px;
  }
  
  /* Gallery becomes horizontal on tablets */
  .gallery-3d-container {
    height: 180px;
  }
  
  .gallery-item {
    width: 100px;
    height: 120px;
  }
  
  /* Mobile nav visible on tablets */
  .mobile-nav {
    display: flex !important;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
  
  .main-container {
    padding: 0 12px;
    padding-bottom: 70px;
  }
  
  header {
    padding: 0 12px;
  }
  
  .header-left .logo {
    font-size: 1.1rem;
  }
  
  .header-search-compact {
    width: 120px;
    padding: 6px 10px;
  }
  
  .header-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .friends-status-bar {
    display: none;
  }
  
  /* Featured post smaller */
  .featured-post {
    margin: 0 -12px;
    border-radius: 0;
  }
  
  .featured-image {
    height: 200px;
  }
  
  .featured-overlay {
    padding: 16px;
  }
  
  /* Posts full width */
  .post-card {
    margin: 0 -12px;
    border-radius: 0;
    padding: 16px;
  }
  
  .create-post-card {
    margin: 0 -12px;
    border-radius: 0;
    padding: 16px;
  }
  
  /* Right sidebar becomes collapsible sections */
  .right-sidebar {
    display: none;
  }
  
  /* Show important sections at top */
  .stories-horizontal {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 12px 0;
    margin: 0 -12px;
    padding-left: 12px;
  }
  
  /* Gallery horizontal scroll */
  .gallery-3d-container {
    height: 140px;
    margin: 0 -12px;
    padding: 0 12px;
  }
  
  .gallery-item {
    width: 80px;
    height: 100px;
    border-radius: 12px;
  }
  
  .gallery-item:hover {
    transform: scale(1.15);
    border-radius: 50%;
  }
  
  /* Mobile navigation */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 8px 0;
    z-index: 1000;
    display: flex !important;
  }
  
  .mobile-nav-items {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius);
  }
  
  .mobile-nav-item.active {
    color: var(--accent-blue);
  }
  
  .mobile-nav-item .icon {
    font-size: 1.3rem;
  }
  
  .mobile-nav-item .label {
    font-size: 0.65rem;
  }
  
  /* Reactions smaller */
  .reaction-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  
  /* Comments section */
  .comments-section {
    padding: 12px;
  }
  
  .comment-item {
    padding: 10px 0;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .header-search-compact {
    width: 100px;
  }
  
  .header-search-compact input {
    font-size: 0.8rem;
  }
  
  .featured-image {
    height: 180px;
  }
  
  .featured-author-avatar {
    width: 40px;
    height: 40px;
  }
  
  .featured-author-name {
    font-size: 0.95rem;
  }
  
  .featured-actions {
    gap: 8px;
  }
  
  .featured-action-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .post-header .avatar {
    width: 40px;
    height: 40px;
  }
  
  .post-text {
    font-size: 0.9rem;
  }
  
  .gallery-item {
    width: 70px;
    height: 85px;
  }
  
  .mobile-nav-item {
    padding: 6px 12px;
  }
  
  .mobile-nav-item .icon {
    font-size: 1.2rem;
  }
  
  /* Language modal smaller */
  .language-modal {
    width: 95%;
    max-height: 90vh;
  }
  
  .languages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .header-search-compact {
    display: none;
  }
  
  .featured-image {
    height: 160px;
  }
  
  .mobile-nav-item .label {
    display: none;
  }
  
  .gallery-item {
    width: 60px;
    height: 75px;
  }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .mobile-nav {
    padding: 4px 0;
  }
  
  .mobile-nav-item {
    padding: 4px 12px;
  }
  
  .mobile-nav-item .label {
    display: none;
  }
  
  .featured-image {
    height: 150px;
  }
}

/* Print styles */
@media print {
  header, .left-sidebar, .right-sidebar, .mobile-nav {
    display: none !important;
  }
  
  .main-feed {
    width: 100%;
    max-width: 100%;
  }
  
  .glass-card {
    background: white !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

/* ========================================
   COMPATIBILITY STYLES FOR OLD TEMPLATES
   ======================================== */

/* Card Base */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-bright);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary, .btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
}

.btn.primary:hover, .btn-primary:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn.ghost, .btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
}

.btn.ghost:hover, .btn-ghost:hover {
  background: var(--glass-bg);
}

/* Chip/Badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-bright);
}

.chip.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* Post Styles */
.post {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.post-header {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.post-user {
  font-weight: 600;
  color: var(--text-primary);
}

.post-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-text {
  color: var(--text-primary);
  line-height: 1.6;
}

.post-media img,
.post-media video {
  width: 100%;
  border-radius: var(--radius);
  max-height: 500px;
  object-fit: contain;
}

/* Avatar */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reactions */
.reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reactBtn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reactBtn:hover {
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

.reactBtn.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* Comments Section */
.comments-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.comment {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--glass-bg);
}

.comment-content {
  flex: 1;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 4px;
}

.comment-text {
  color: var(--text-secondary);
  line-height: 1.5;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input, 
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

/* Utility Classes */
.muted, .text-muted {
  color: var(--text-muted);
}

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

.p-2 {
  padding: 1rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

/* Page Title */
.page-title, h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Tab Navigation */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  border: 1px solid var(--glass-border);
}

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

.tab.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Alert/Flash Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-success {
  background: rgba(0, 217, 165, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--error);
  color: var(--error);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: var(--warning);
  color: var(--warning);
}

.alert-info {
  background: rgba(79, 172, 254, 0.1);
  border-color: var(--info);
  color: var(--info);
}

/* ========================================
   WIDGET MI MÚSICA
   Ancho: 380px | Altura: 760px
   ======================================== */
.right-sidebar > .music-widget {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: 700px !important;
  min-height: 700px !important;
  max-height: 700px !important;
  overflow: hidden;
}

/* ========================================
   WIDGETS SIDEBAR DERECHO (8 widgets)
   Ancho: 380px | Altura: 180px
   ======================================== */
.right-sidebar > .trending-section,
.right-sidebar > .reels-section,
.right-sidebar > .gallery-section:not(.gallery-cinematica),
.right-sidebar > .active-rooms-section,
.right-sidebar > .sponsored-card,
.right-sidebar > a.glass-card,
.right-sidebar > div.p-2 {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  overflow: hidden;
}
.right-sidebar > .gallery-section.gallery-cinematica {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  min-height: 220px !important;
  height: auto !important;
  max-height: 260px !important;
  overflow: hidden;
}

/* ========================================
   SCROLLBAR SIDEBAR DERECHO (cambia con tema)
   ======================================== */
.right-sidebar {
  width: 392px;
  min-width: 392px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - var(--header-height, 70px) - 48px);
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-purple, #8b5cf6) transparent;
}

.right-sidebar::-webkit-scrollbar {
  width: 6px;
}

.right-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.right-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-purple, #8b5cf6), var(--accent-blue, #6366f1));
  border-radius: 3px;
}

.right-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-blue, #6366f1), var(--accent-purple, #8b5cf6));
}

/* ========================================
   CAROUSEL ARROWS STYLES
   ======================================== */
.carousel-arrow {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
  opacity: 1 !important;
}

/* ========================================
   GALERÍA Y VIDEOS CINEMÁTICA - Carrusel mouse, botones < >, scroll smooth
   ======================================== */
.gallery-cinematica .gallery-carrusel-scroll,
.videos-cinematica .gallery-carrusel-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-cinematica .gallery-carrusel-scroll::-webkit-scrollbar,
.videos-cinematica .gallery-carrusel-scroll::-webkit-scrollbar {
  height: 5px;
}
.gallery-cinematica .gallery-carrusel-scroll::-webkit-scrollbar-thumb,
.videos-cinematica .gallery-carrusel-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.gallery-cinematica .gallery-carrusel-wrapper,
.videos-cinematica .gallery-carrusel-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  min-height: 200px;
}
.videos-cinematica .gallery-carrusel-wrapper {
  min-height: 180px;
}
.gallery-cinematica .gallery-carrusel-track,
.videos-cinematica .gallery-carrusel-track {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  min-width: min-content;
}
.gallery-cinematica .gallery-card-cinematica,
.videos-cinematica .gallery-card-cinematica {
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-cinematica .gallery-card-cinematica:hover,
.videos-cinematica .gallery-card-cinematica:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.videos-cinematica .gallery-card-cinematica {
  width: 140px;
  aspect-ratio: 16 / 9;
}
.gallery-cinematica .gallery-card-media,
.videos-cinematica .gallery-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-cinematica .gallery-card-media img,
.gallery-cinematica .gallery-card-media video,
.videos-cinematica .gallery-card-media img,
.videos-cinematica .gallery-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-cinematica .gallery-card-overlay,
.videos-cinematica .gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 0.85rem;
}
.gallery-cinematica .gallery-card-cinematica:hover .gallery-card-overlay,
.videos-cinematica .gallery-card-cinematica:hover .gallery-card-overlay {
  opacity: 1;
}
.gallery-cinematica .gallery-card-likes,
.videos-cinematica .gallery-card-likes { font-weight: 600; }
.gallery-cinematica .gallery-card-comment,
.videos-cinematica .gallery-card-comment {
  padding: 4px 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.gallery-cinematica .gallery-card-comment:hover,
.videos-cinematica .gallery-card-comment:hover {
  background: rgba(255,255,255,0.4);
}
.gallery-cinematica .gallery-carrusel-btn,
.videos-cinematica .gallery-carrusel-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.gallery-cinematica .gallery-carrusel-btn:hover,
.videos-cinematica .gallery-carrusel-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}
/* Videos section: misma altura que galería para carrusel */
.right-sidebar > .videos-section.videos-cinematica {
  min-height: 220px !important;
  height: auto !important;
  max-height: 260px !important;
  overflow: hidden;
}
/* Modo pantalla completa: galería sin deformar tarjetas */
.gallery-cinematica.fullscreen .gallery-card-cinematica {
  width: 140px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
}
.gallery-cinematica.fullscreen .gallery-carrusel-scroll {
  max-height: 80vh;
}

/* Horizontal arrows */
.carousel-arrow-left {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow-right {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* Vertical arrows */
.carousel-arrow-top {
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.carousel-arrow-bottom {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
}

/* Show arrows on hover */
.right-sidebar > div:hover .carousel-arrow {
  opacity: 0.7;
}

/* Vertical carousel containers */
.vertical-carousel-container {
  overflow: hidden;
  position: relative;
}

.vertical-carousel-wrapper {
  transition: transform 0.3s ease;
}

/* Horizontal carousel containers */
.horizontal-carousel-container {
  overflow: hidden;
  position: relative;
}

.horizontal-carousel-wrapper {
  transition: transform 0.3s ease;
}

/* ============================================
   LIMPIEZA TOTAL DE CAPAS FANTASMA (Salón)
   ============================================ */
body.page-salon::before,
body.page-salon::after {
  display: none !important;
  content: none !important;
}

body.page-salon .salon-fullwidth,
body.page-salon .main-wrapper,
body.page-salon .content-area {
  background: #f8f9fa !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.page-salon .salon-fullwidth::after,
body.page-salon .salon-fullwidth::before,
body.page-salon .main-wrapper::after,
body.page-salon .main-wrapper::before {
  display: none !important;
  content: none !important;
}

body.page-salon footer,
body.page-salon .bottom-nav {
  position: relative;
  z-index: 999;
}