/* ===== COMPLETE OVERRIDE OF OLD SPOTLIGHT STYLES ===== */
/* This section ensures no old styles interfere with new design */

/* Force override old container styles for new carousel */
.spotlight-cards-wrapper .spotlight-cards,
.spotlight-cards-wrapper #spotlightCardsContainer,
.spotlight-section .spotlight-cards,
.spotlight-section #spotlightCardsContainer {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: visible !important;
    padding: var(--space-2) 0 !important;
    scroll-behavior: initial !important;
    scrollbar-width: initial !important;
    -ms-overflow-style: initial !important;
    -webkit-overflow-scrolling: initial !important;
    gap: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

/* SPOTLIGHT PAGE GRID LAYOUT - Override carousel styles for dedicated page */
#spotlight-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
}

/* Override carousel styles for spotlight page class specifically */
.spotlight-page .spotlight-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
    flex-direction: initial !important;
}

/* Most specific override for spotlight page */
.spotlight-page .spotlight-cards#spotlight-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
    flex-direction: initial !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Remove carousel overlays for spotlight page */
#spotlight-grid::before,
#spotlight-grid::after {
    display: none !important;
    content: none !important;
}

/* Ensure spotlight page doesn't inherit carousel container styles */
.spotlight-page #spotlight-grid::before,
.spotlight-page #spotlight-grid::after {
    display: none !important;
    content: none !important;
    background: none !important;
    z-index: auto !important;
}

/* Remove card overlay effects for spotlight page to ensure clear visibility */
#spotlight-grid .spotlight-card::before,
#spotlight-grid .spotlight-card:before {
    display: none !important;
    content: none !important;
    background: none !important;
    mix-blend-mode: normal !important;
    opacity: 0 !important;
}

/* ===== SPOTLIGHT CAROUSEL PEEK EFFECT STYLES ===== */
/* Main carousel container with space for external arrows */
.spotlight-carousel-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    overflow: visible !important; /* Allow arrows to be visible outside */
    margin: 0 auto !important;
    padding: 0 100px !important; /* Increased space for nav buttons */
}

/* Ensure arrows have proper space and positioning */
.spotlight-carousel-container::before,
.spotlight-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 99;
    pointer-events: none;
}

.spotlight-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.spotlight-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

/* Cards track with smooth transitions */
.spotlight-cards-track {
    display: flex !important;
    gap: 2rem !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    align-items: stretch !important;
    overflow: visible !important;
    padding: 0 100px !important; /* Peek padding to show partial cards */
    width: calc(100% + 200px) !important;
    margin-left: -100px !important;
}

/* Individual cards with peek effect transitions */
.spotlight-cards .spotlight-card,
#spotlightCardsContainer .spotlight-card,
.spotlight-cards-wrapper .spotlight-card,
.spotlight-section .spotlight-card,
.spotlight-section .spotlight-cards .spotlight-card,
.spotlight-cards-wrapper .spotlight-cards .spotlight-card {
    /* CARD DIMENSIONS FOR PEEK EFFECT */
    flex: none !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex-basis: 320px !important;
    
    /* PEEK EFFECT STYLING */
    transform: scale(0.85) !important;
    opacity: 0.6 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    
    /* CARD LAYOUT */
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-1) !important;
    
    /* CARD DESIGN */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-2) var(--space-2) var(--space-1) !important;
    margin: 0 !important;
    
    /* SHADOW SYSTEM */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        inset 1px 0 0 rgba(255, 255, 255, 0.3),
        inset -1px 0 0 rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 2px 6px rgba(0, 0, 0, 0.015),
        0 0 0 1px rgba(99, 102, 241, 0.08),
        0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    
    /* FORCE REMOVE OLD BACKDROP EFFECTS */
    backdrop-filter: none !important;
    cursor: default !important;
}

/* ACTIVE CARD EMPHASIS FOR PEEK EFFECT */
.spotlight-cards .spotlight-card.active,
#spotlightCardsContainer .spotlight-card.active,
.spotlight-cards-wrapper .spotlight-card.active,
.spotlight-section .spotlight-card.active,
.spotlight-section .spotlight-cards .spotlight-card.active,
.spotlight-cards-wrapper .spotlight-cards .spotlight-card.active {
    transform: scale(1) !important;
    opacity: 1 !important;
    z-index: 10 !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        inset 1px 0 0 rgba(255, 255, 255, 0.4),
        inset -1px 0 0 rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.3) !important;
}

/* SPOTLIGHT PAGE CARDS - Override carousel styles for normal display */
#spotlight-grid .spotlight-card {
    /* Reset carousel peek effects for spotlight page */
    flex: none !important;
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
    
    /* Remove peek effect styling for spotlight page */
    transform: none !important;
    opacity: 1 !important;
    
    /* Keep good card design */
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-1) !important;
    
    /* CARD DESIGN */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-2) var(--space-2) var(--space-1) !important;
    margin: 0 !important;
    
    /* SHADOW SYSTEM */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        inset 1px 0 0 rgba(255, 255, 255, 0.3),
        inset -1px 0 0 rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 2px 6px rgba(0, 0, 0, 0.015),
        0 0 0 1px rgba(99, 102, 241, 0.08),
        0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    
    /* INTERACTION STATES */
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    
    /* ENSURE VISIBILITY */
    z-index: 100 !important;
}

/* HOVER EFFECT FOR SPOTLIGHT PAGE CARDS */
#spotlight-grid .spotlight-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        inset 1px 0 0 rgba(255, 255, 255, 0.4),
        inset -1px 0 0 rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.3) !important;
}

/* Override old hover effects with maximum specificity */
.spotlight-cards .spotlight-card:hover,
#spotlightCardsContainer .spotlight-card:hover,
.spotlight-cards-wrapper .spotlight-card:hover,
.spotlight-section .spotlight-card:hover,
.spotlight-section .spotlight-cards .spotlight-card:hover,
.spotlight-cards-wrapper .spotlight-cards .spotlight-card:hover {
    /* PEEK HOVER: Scale up slightly from current state */
    transform: scale(0.9) translateY(-4px) !important;
    opacity: 0.8 !important;
    
    /* ENHANCED HOVER SHADOWS */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        inset 1px 0 0 rgba(255, 255, 255, 0.4),
        inset -1px 0 0 rgba(0, 0, 0, 0.08),
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(99, 102, 241, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

/* ACTIVE CARD HOVER: Enhanced effect for the centered card */
.spotlight-cards .spotlight-card.active:hover,
#spotlightCardsContainer .spotlight-card.active:hover,
.spotlight-cards-wrapper .spotlight-card.active:hover,
.spotlight-section .spotlight-card.active:hover {
    transform: scale(1.02) translateY(-6px) !important;
    opacity: 1 !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        inset 1px 0 0 rgba(255, 255, 255, 0.5),
        inset -1px 0 0 rgba(0, 0, 0, 0.1),
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.4) !important;
}

/* FORCE OVERRIDE old before pseudo-element */
.spotlight-cards .spotlight-card:before,
.spotlight-cards .spotlight-card::before,
#spotlightCardsContainer .spotlight-card:before,
#spotlightCardsContainer .spotlight-card::before,
.spotlight-cards-wrapper .spotlight-card:before,
.spotlight-cards-wrapper .spotlight-card::before,
.spotlight-section .spotlight-card:before,
.spotlight-section .spotlight-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 85% 15%, rgba(99,102,241,.18), transparent 60%) !important;
    opacity: 0.7 !important;
    mix-blend-mode: overlay !important;
    
    /* OVERRIDE OLD GRADIENT BAR COMPLETELY */
    height: auto !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    background-image: radial-gradient(circle at 85% 15%, rgba(99,102,241,.18), transparent 60%) !important;
}

/* Override ALL old avatar styles */
.spotlight-card .spotlight-avatar,
.spotlight-cards .spotlight-card .spotlight-avatar,
#spotlightCardsContainer .spotlight-card .spotlight-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: calc(24px - 2px) !important;
    object-fit: cover !important;
    border: none !important;
    
    /* FORCE NEW IMAGE ENHANCEMENT */
    filter: 
        brightness(1.08)
        contrast(1.12)
        saturate(1.15)
        hue-rotate(2deg)
        blur(0px)
        sepia(0.02) !important;
    
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Override ALL old avatar hover */
.spotlight-card:hover .spotlight-avatar,
.spotlight-cards .spotlight-card:hover .spotlight-avatar,
#spotlightCardsContainer .spotlight-card:hover .spotlight-avatar {
    transform: none !important;
    filter: 
        brightness(1.12)
        contrast(1.15)
        saturate(1.20)
        hue-rotate(3deg)
        blur(0px)
        sepia(0.03) !important;
    
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.18),
        0 6px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* FORCE OVERRIDE ALL old name, description, and other element styles */
.spotlight-card .spotlight-name,
.spotlight-cards .spotlight-card .spotlight-name,
#spotlightCardsContainer .spotlight-card .spotlight-name {
    font-family: 'Dancing Script', cursive !important;
    font-size: calc((var(--font-lg) + 0.15rem) * 1.25) !important;
    font-weight: 700 !important;
    background: linear-gradient(90deg, #009fff, #ec2f4b) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-align: center !important;
    line-height: 1.3 !important;
    letter-spacing: .3px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.spotlight-card .spotlight-description,
.spotlight-cards .spotlight-card .spotlight-description,
#spotlightCardsContainer .spotlight-card .spotlight-description {
    font-size: var(--font-md) !important;
    line-height: 1.55 !important;
    color: #2c3e50 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* FORCE OVERRIDE ALL old social link styles */
.spotlight-card .social-link,
.spotlight-cards .spotlight-card .social-link,
#spotlightCardsContainer .spotlight-card .social-link {
    width: 36px !important;
    height: 36px !important;
    background: rgba(99,102,241,0.08) !important;
    border-radius: 50% !important;
    color: var(--color-text-soft) !important;
    font-size: 0.85rem !important;
}

.spotlight-card .social-link:hover,
.spotlight-cards .spotlight-card .social-link:hover,
#spotlightCardsContainer .spotlight-card .social-link:hover {
    background: var(--color-accent) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: initial !important;
}

/* Override mobile responsive styles */
@media (max-width: 480px) {
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card,
    .spotlight-section .spotlight-card {
        flex: none !important;
        width: auto !important;
        min-width: initial !important;
        padding: var(--space-2) var(--space-2) !important;
    }
    
    .spotlight-card .spotlight-avatar,
    .spotlight-cards .spotlight-card .spotlight-avatar,
    #spotlightCardsContainer .spotlight-card .spotlight-avatar {
        width: 100% !important;
        height: 100% !important;
        border-radius: calc(20px - 2px) !important;
    }
}

/* ===== END OVERRIDE SECTION ===== */

/* ===== SPOTLIGHT CARD DESIGN - From spotlight_card_style.html ===== */

/* CSS Variables - Ensure they're defined globally */
:root {
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --font-xs: 0.65rem;
    --font-sm: 0.75rem;
    --font-md: 0.85rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.35rem;
    --color-bg-app: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
    --color-bg-card: #ffffff;
    --color-bg-card-alt: #ffffff;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e0;
    --color-text: #1a202c;
    --color-text-soft: #4a5568;
    --color-accent: #6366f1;
    --color-accent-soft: #eef2ff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.012);
    --shadow-md: 0 2px 6px -1px rgba(0,0,0,.024);
    --shadow-hover: 0 4px 8px -2px rgba(0,0,0,.036);
}

/* Ensure CSS variables are available even if not defined elsewhere */
html:not([style*="--radius-sm"]) {
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --font-xs: 0.65rem;
    --font-sm: 0.75rem;
    --font-md: 0.85rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.35rem;
    --color-bg-app: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
    --color-bg-card: #ffffff;
    --color-bg-card-alt: #ffffff;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e0;
    --color-text: #1a202c;
    --color-text-soft: #4a5568;
    --color-accent: #6366f1;
    --color-accent-soft: #eef2ff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.012);
    --shadow-md: 0 2px 6px -1px rgba(0,0,0,.024);
    --shadow-hover: 0 4px 8px -2px rgba(0,0,0,.036);
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-card: #1f2733;
        --color-bg-card-alt: #253041;
        --color-border: #2f3b4a;
        --color-border-strong: #3b495b;
        --color-text: #f1f5f9;
        --color-text-soft: #94a3b8;
        --color-accent-soft: #373f61;
        --shadow-sm: 0 1px 2px rgba(0,0,0,.08);
        --shadow-md: 0 2px 6px -1px rgba(0,0,0,.11);
        --shadow-hover: 0 4px 10px -2px rgba(0,0,0,.14);
    }
}

/* Spotlight Cards Container - High specificity to override old styles */
.spotlight-cards,
#spotlightCardsContainer {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--space-6) !important;
    padding: var(--space-2) 0 !important;
    
    /* Override old flexbox styles */
    flex-direction: initial !important;
    overflow-x: initial !important;
    -webkit-overflow-scrolling: initial !important;
    -ms-overflow-style: initial !important;
}

/* Ensure scrollbar styles don't interfere */
.spotlight-cards::-webkit-scrollbar,
#spotlightCardsContainer::-webkit-scrollbar {
    display: initial !important;
}

#spotlightCardsContainer .spotlight-card,
.spotlight-cards .spotlight-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-1) !important;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%) !important;
    /* Premium 3D Border Effect with Gradient and Embossed Look */
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-2) var(--space-2) var(--space-1) !important;
    
    /* Layered shadows for premium 3D effect */
    box-shadow: 
        /* Inner embossed shadows */
        inset 0 1px 0 rgba(255, 255, 255, 0.6),      /* Top inner highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),          /* Bottom inner shadow */
        inset 1px 0 0 rgba(255, 255, 255, 0.3),      /* Left inner highlight */
        inset -1px 0 0 rgba(0, 0, 0, 0.05),          /* Right inner shadow */
        
        /* Very subtle external shadows */
        0 1px 3px rgba(0, 0, 0, 0.02),               /* Minimal contact shadow */
        0 2px 6px rgba(0, 0, 0, 0.015),              /* Barely visible mid-range shadow */
        
        /* Subtle gradient border effect */
        0 0 0 1px rgba(99, 102, 241, 0.08),          /* Accent border glow */
        0 0 0 2px rgba(255, 255, 255, 0.1) !important;          /* Outer edge definition */
    
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease !important;
    overflow: hidden !important;
    
    /* Override any flex properties from old styles */
    flex: none !important;
    width: auto !important;
    min-width: 300px !important;
}

#spotlightCardsContainer .spotlight-card:before,
.spotlight-cards .spotlight-card:before {
    content:"" !important;
    position:absolute !important; 
    inset:0 !important; 
    pointer-events:none !important;
    background: radial-gradient(circle at 85% 15%, rgba(99,102,241,.18), transparent 60%) !important;
    opacity:.7 !important; 
    mix-blend-mode: overlay !important;
    /* Override old gradient line */
    height: auto !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
}

#spotlightCardsContainer .spotlight-card:hover,
.spotlight-cards .spotlight-card:hover { 
    transform: translateY(-4px) !important;
    box-shadow: 
        /* Enhanced inner embossed shadows */
        inset 0 1px 0 rgba(255, 255, 255, 0.8),      /* Brighter top highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),          /* Deeper bottom shadow */
        inset 1px 0 0 rgba(255, 255, 255, 0.4),      /* Enhanced left highlight */
        inset -1px 0 0 rgba(0, 0, 0, 0.08),          /* Enhanced right shadow */
        
        /* Still subtle external shadows on hover */
        0 2px 8px rgba(0, 0, 0, 0.04),               /* Slightly more visible contact shadow */
        0 4px 12px rgba(0, 0, 0, 0.03),              /* Gentle mid-range shadow */
        
        /* Enhanced gradient border effect */
        0 0 0 1px rgba(99, 102, 241, 0.15),          /* Brighter accent glow */
        0 0 0 2px rgba(255, 255, 255, 0.2),          /* Enhanced edge definition */
        0 0 20px rgba(99, 102, 241, 0.02) !important;           /* Very subtle outer glow */
}

.spotlight-card:focus-within { 
    outline:2px solid var(--color-accent); 
    outline-offset:2px; 
}

/* Dark Mode Support for Premium 3D Border Effect */
@media (prefers-color-scheme: dark) {
    .spotlight-card {
        /* Dark mode gradient background */
        background: linear-gradient(145deg, 
            rgba(31, 39, 51, 0.98) 0%, 
            rgba(37, 48, 65, 0.95) 100%);
        
        /* Adjusted shadows for dark background */
        box-shadow: 
            /* Inner embossed shadows for dark mode */
            inset 0 1px 0 rgba(255, 255, 255, 0.15),     /* Subtle top highlight */
            inset 0 -1px 0 rgba(0, 0, 0, 0.3),           /* Stronger bottom shadow */
            inset 1px 0 0 rgba(255, 255, 255, 0.08),     /* Gentle left highlight */
            inset -1px 0 0 rgba(0, 0, 0, 0.2),           /* Right shadow */
            
            /* Very subtle external shadows for dark mode */
            0 1px 4px rgba(0, 0, 0, 0.1),                /* Minimal contact shadow */
            0 2px 8px rgba(0, 0, 0, 0.06),               /* Barely visible mid-range shadow */
            
            /* Dark mode gradient border effect */
            0 0 0 1px rgba(99, 102, 241, 0.2),           /* Accent border glow */
            0 0 0 2px rgba(255, 255, 255, 0.05);         /* Outer edge definition */
    }
    
    .spotlight-card:hover {
        box-shadow: 
            /* Enhanced inner embossed shadows for dark mode */
            inset 0 1px 0 rgba(255, 255, 255, 0.25),     /* Brighter top highlight */
            inset 0 -1px 0 rgba(0, 0, 0, 0.4),           /* Deeper bottom shadow */
            inset 1px 0 0 rgba(255, 255, 255, 0.12),     /* Enhanced left highlight */
            inset -1px 0 0 rgba(0, 0, 0, 0.25),          /* Enhanced right shadow */
            
            /* Still subtle external shadows for dark mode hover */
            0 2px 8px rgba(0, 0, 0, 0.15),               /* Slightly more visible contact shadow */
            0 4px 16px rgba(0, 0, 0, 0.1),               /* Gentle mid-range shadow */
            
            /* Enhanced gradient border effect for dark mode */
            0 0 0 1px rgba(99, 102, 241, 0.3),           /* Brighter accent glow */
            0 0 0 2px rgba(255, 255, 255, 0.1),          /* Enhanced edge definition */
            0 0 20px rgba(99, 102, 241, 0.05);           /* Very subtle outer glow */
    }
}

/* Name section at the top */
.spotlight-name-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: var(--space-1);
    padding: var(--space-1) 0 var(--space-1);
    border-bottom: 1px solid var(--color-border);
    opacity: 1;
    visibility: visible;
    position: relative;
}

.spotlight-name-section::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #009fff, #ec2f4b, transparent);
}

/* Header layout */
.spotlight-header { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 0;
    padding-bottom: 0;
}

.spotlight-avatar-container { 
    width: 100%; 
    max-width: 260px;
    height: 173px; /* maintaining 3:2 ratio */
    border-radius: 24px; 
    position: relative; 
    background: transparent; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    margin: 0 auto 0;
    padding-bottom: 0;
    /* Soft, Natural 3D Uplift Shadow with Layered Semi-Transparency */
    box-shadow: 
        /* Subtle inner highlights for dimension */
        inset 0 1px 0 rgba(255, 255, 255, 0.4),   /* Soft top highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),       /* Very subtle bottom shadow */
        inset 1px 0 0 rgba(255, 255, 255, 0.2),   /* Gentle left highlight */
        inset -1px 0 0 rgba(0, 0, 0, 0.03),       /* Minimal right shadow */
        
        /* Layered uplift shadows for natural depth */
        0 1px 3px rgba(0, 0, 0, 0.08),            /* Close contact shadow */
        0 4px 12px rgba(0, 0, 0, 0.06),           /* Mid-range soft shadow */
        0 8px 24px rgba(0, 0, 0, 0.04),           /* Distant ambient shadow */
        0 16px 40px rgba(0, 0, 0, 0.02),          /* Far atmospheric shadow */
        
        /* Subtle edge definition and glow */
        0 0 0 0.5px rgba(255, 255, 255, 0.1),     /* Crisp edge definition */
        0 0 20px rgba(99, 102, 241, 0.03);        /* Minimal gradient glow */
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.03));
    /* 3D Flip Perspective */
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spotlight-avatar-container:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 
        /* Enhanced but still soft inner highlights */
        inset 0 1px 0 rgba(255, 255, 255, 0.6),   /* Brighter top highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),       /* Slightly deeper bottom shadow */
        inset 1px 0 0 rgba(255, 255, 255, 0.3),   /* Enhanced left highlight */
        inset -1px 0 0 rgba(0, 0, 0, 0.05),       /* Subtle right shadow */
        
        /* Enhanced layered uplift shadows */
        0 2px 6px rgba(0, 0, 0, 0.12),            /* Enhanced contact shadow */
        0 8px 20px rgba(0, 0, 0, 0.10),           /* Enhanced mid-range shadow */
        0 16px 36px rgba(0, 0, 0, 0.08),          /* Enhanced distant shadow */
        0 24px 60px rgba(0, 0, 0, 0.04),          /* Enhanced atmospheric shadow */
        
        /* Enhanced edge and glow on hover */
        0 0 0 0.5px rgba(255, 255, 255, 0.15),    /* Brighter edge definition */
        0 0 30px rgba(99, 102, 241, 0.08);        /* Enhanced but subtle glow */
}

/* 3D Flip Container */
.avatar-flip-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.avatar-flip-container.flipped {
    transform: rotateY(180deg);
}

/* Front and Back Faces */
.avatar-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: calc(24px - 2px);
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-front {
    /* Back side (initially visible) */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.avatar-back {
    /* Front side (profile image) */
    transform: rotateY(180deg);
}

.spotlight-avatar { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: calc(24px - 2px);
    /* Enhanced 3D depth for the image */
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    /* Premium Image Enhancement Filters */
    filter: 
        brightness(1.08)        /* Slight brightness boost for vibrancy */
        contrast(1.12)          /* Enhanced contrast for definition */
        saturate(1.15)          /* Gentle saturation increase */
        hue-rotate(2deg)        /* Subtle warmth adjustment */
        blur(0px)               /* Ensure sharpness baseline */
        sepia(0.02);            /* Minimal warm tone enhancement */
    transition: all 0.3s ease;
}

/* Enhanced image quality on hover */
.spotlight-avatar-container:hover .spotlight-avatar {
    filter: 
        brightness(1.12)
        contrast(1.15)
        saturate(1.20)
        hue-rotate(3deg)
        blur(0px)
        sepia(0.03);
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.18),
        0 6px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Reveal Overlay */
.reveal-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-accent);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: var(--font-sm);
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.reveal-overlay .reveal-icon {
    display: block;
    font-size: var(--font-lg);
    margin-bottom: 4px;
    opacity: 0.8;
}

.spotlight-header-info { 
    display: flex; 
    flex-direction: column; 
    gap: var(--space-1); 
    min-width: 0;
    width: 100%;
    align-items: center;
}

.spotlight-name { 
    margin: 0; 
    line-height: 1.3; 
    text-align: center;
    opacity: 1;
    visibility: visible;
    background: linear-gradient(90deg, #009fff, #ec2f4b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Dancing Script', cursive;
    font-size: calc((var(--font-lg) + 0.15rem) * 1.25);
    font-weight: 700;
    letter-spacing: .3px;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.spotlight-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin: 10px auto 0;
}

.spotlight-branch-badge,
.spotlight-location-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px var(--space-4);
    border-radius: 12px;
    max-width: fit-content;
    font-size: var(--font-xs);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.spotlight-branch-badge {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spotlight-location-badge {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.branch-icon,
.location-icon {
    margin-right: var(--space-1);
    font-size: 0.8em;
}

.branch-icon {
    color: var(--color-accent);
}

.location-icon {
    color: var(--color-accent);
}

.branch-text,
.location-text {
    font-weight: 500;
}

/* Description */
.spotlight-info { 
    margin-top: var(--space-1);
    margin-bottom: var(--space-1);
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.spotlight-description { 
    margin: 0; 
    font-size: var(--font-md); 
    line-height: 1.55; 
    color: #2c3e50;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    /* Force no line clamping for read more functionality */
    display: block !important;
    -webkit-line-clamp: none !important;
    line-clamp: none !important;
    -webkit-box-orient: initial !important;
    overflow: visible !important;
}

.spotlight-description.max-2-lines { 
    /* Disabled line-clamp to allow JavaScript read more functionality */
    display: block !important;
    -webkit-line-clamp: none !important; 
    line-clamp: none !important; 
    -webkit-box-orient: initial !important; 
    overflow: visible !important; 
}

/* Footer / actions */
.spotlight-social { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: var(--space-1);
    padding-left: 15%;
    padding-right: 15%;
}

.social-link, .spotlight-like-btn, .view-count-display { 
    display:inline-flex; 
    align-items:center; 
    justify-content:center; 
    border:none; 
    background: rgba(99,102,241,0.08); 
    color: var(--color-text-soft); 
    width:36px; 
    height:36px; 
    border-radius: 50%; 
    cursor:pointer; 
    transition: background .25s ease, transform .25s ease, color .25s ease; 
    text-decoration:none; 
    font-size: .85rem; 
}

.social-link:hover { 
    background: var(--color-accent); 
    color:#fff; 
    transform: translateY(-2px); 
}

.spotlight-like-btn { 
    gap:4px; 
    width:auto; 
    padding: 0 var(--space-3); 
    border-radius: 999px; 
    font-size: var(--font-sm); 
    font-weight:500; 
}

.spotlight-like-btn:hover { 
    background:#fee2e2; 
    color:#dc2626; 
    transform: translateY(-2px); 
}

.spotlight-like-btn i { 
    font-size: .85rem; 
}

.spotlight-like-btn:focus-visible, .social-link:focus-visible { 
    outline:2px solid var(--color-accent); 
    outline-offset:3px; 
}

.spotlight-like-btn .like-count { 
    font-variant-numeric: tabular-nums;
    color: inherit !important; /* Inherit color from parent button */
}

.spotlight-like-btn.liked { 
    background:#fee2e2; 
    color:#dc2626; 
}

.spotlight-like-btn.liked:hover { 
    background:#dc2626; 
    color:#fff; 
}

.spotlight-like-btn.liked .like-count {
    color: inherit !important; /* Ensure like count inherits the red color when liked */
}

/* View Count Styling */
.view-count-display {
    gap: 4px;
    width: auto;
    padding: 0 var(--space-3);
    border-radius: 999px;
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: default;
    background: rgba(99, 102, 241, 0.06);
    color: var(--color-text-soft);
}

.view-count-display:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-text);
    transform: translateY(-1px);
}

.view-count-display i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.view-count-display .view-count {
    font-variant-numeric: tabular-nums;
    font-size: var(--font-xs);
}

/* Responsive fine tuning */
@media (max-width: 480px) {
    .spotlight-card { 
        padding: var(--space-2) var(--space-2); 
    }
    
    .spotlight-avatar-container { 
        max-width: 220px;
        height: 147px; /* maintaining 3:2 ratio */
        border-radius: 20px;
        /* Enhanced Mobile 3D Border Effect */
        box-shadow: 
            inset 0 1.5px 0 rgba(255, 255, 255, 0.65),  /* Enhanced top highlight */
            inset 0 -1.5px 0 rgba(0, 0, 0, 0.12),       /* Deeper bottom shadow */
            inset 1.5px 0 0 rgba(255, 255, 255, 0.35),  /* Enhanced left highlight */
            inset -1.5px 0 0 rgba(0, 0, 0, 0.06),       /* Enhanced right shadow */
            0 2px 12px rgba(0, 0, 0, 0.12),             /* Deeper external shadow */
            0 4px 24px rgba(0, 0, 0, 0.06),             /* Additional depth layer */
            0 0 0 1px rgba(255, 255, 255, 0.08),        /* Crisp edge definition */
            0 0 15px rgba(99, 102, 241, 0.08);          /* Mobile gradient glow */
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.025));
        transition: all 0.3s ease;
    }
    
    .spotlight-avatar-container:hover {
        transform: scale(1.015) translateY(-1px);
        box-shadow: 
            inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
            inset 0 -1.5px 0 rgba(0, 0, 0, 0.15),
            inset 1.5px 0 0 rgba(255, 255, 255, 0.4),
            inset -1.5px 0 0 rgba(0, 0, 0, 0.08),
            0 3px 18px rgba(0, 0, 0, 0.15),
            0 6px 36px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(255, 255, 255, 0.15),
            0 0 20px rgba(99, 102, 241, 0.15);
    }
    
    .avatar-face {
        border-radius: calc(20px - 2px);
    }
    
    .spotlight-avatar { 
        border-radius: calc(20px - 2px); /* Adjusted for mobile border radius */
        /* Enhanced Mobile 3D and Image Enhancement */
        box-shadow: 
            0 1.5px 6px rgba(0, 0, 0, 0.12),
            0 3px 12px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        /* Mobile-optimized Image Enhancement Filters */
        filter: 
            brightness(1.06)
            contrast(1.10)
            saturate(1.12)
            hue-rotate(1.5deg)
            blur(0px)
            sepia(0.015);
        transition: all 0.3s ease;
    }
    
    /* Enhanced mobile image quality on hover */
    .spotlight-avatar-container:hover .spotlight-avatar {
        filter: 
            brightness(1.09)
            contrast(1.13)
            saturate(1.16)
            hue-rotate(2.5deg)
            blur(0px)
            sepia(0.025);
        box-shadow: 
            0 2px 9px rgba(0, 0, 0, 0.15),
            0 4px 18px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    .reveal-overlay {
        padding: 8px 16px;
        font-size: calc(var(--font-xs) + 1px);
        border-radius: 10px;
    }
    
    .reveal-overlay .reveal-icon {
        font-size: var(--font-md);
        margin-bottom: 2px;
    }
    
    .spotlight-header-info { 
        width: 100%; 
    }
    
    .spotlight-name-section { 
        margin-bottom: var(--space-1); 
        padding-bottom: 4px; 
        padding-top: var(--space-1); 
    }
    
    .spotlight-name {
        font-size: calc((var(--font-base) + 0.1rem) * 1.25);
        font-weight: 700;
        background: linear-gradient(90deg, #009fff, #ec2f4b);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        letter-spacing: .3px;
        line-height: 1.3;
        text-align: center;
        margin: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .spotlight-branch-badge,
    .spotlight-location-badge { 
        font-size: calc(var(--font-xs) - 1px); 
        padding: 4px var(--space-3);
        border-radius: 10px;
        font-weight: 600;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    }
    
    .spotlight-badges {
        gap: var(--space-1);
        margin-top: 8px;
    }
    
    .spotlight-description { 
        font-size: var(--font-xs);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-weight: 500;
        letter-spacing: 0.01em;
        /* Force no line clamping for read more functionality */
        display: block !important;
        -webkit-line-clamp: none !important;
        line-clamp: none !important;
        -webkit-box-orient: initial !important;
        overflow: visible !important;
        color: #2c3e50;
    }
    
    /* Mobile view count styling */
    .view-count-display {
        padding: 0 var(--space-2);
        font-size: calc(var(--font-xs) + 1px);
    }
    
    .view-count-display .view-count {
        font-size: calc(var(--font-xs));
    }
}

/* ===== SPOTLIGHT EMPTY STATE STYLING ===== */

/* Override carousel styles when showing empty state */
.spotlight-cards-track.showing-empty-state {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 400px !important;
    gap: 0 !important;
}

/* No Spotlight Container - Main wrapper */
.no-spotlight-container {
    /* Center everything vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Container styling */
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    
    /* Subtle box-shadow for depth */
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    
    /* Spacing and dimensions */
    max-width: 500px;
    margin: 40px auto;
    min-height: 280px;
    
    /* Fade-in animation for the whole block */
    opacity: 0;
    animation: fadeInContainer 1s ease-out 0.2s forwards;
}

/* Fade-in animation keyframes for container */
@keyframes fadeInContainer {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Empty State Icon */
.no-spotlight-container .empty-state-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInIcon 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInIcon {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Title styling - "No Spotlights Yet!" */
.no-spotlight-container .empty-state-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    
    /* Fade-in animation */
    opacity: 0;
    animation: fadeInTitle 0.8s ease-out 0.7s forwards;
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Paragraph styling */
.no-spotlight-container .empty-state-message {
    font-size: 1rem; /* 16px */
    color: #555;
    line-height: 1.5;
    margin: 8px 0;
    padding: 0 1rem;
    
    /* Fade-in animation */
    opacity: 0;
    animation: fadeInMessage 0.8s ease-out 0.9s forwards;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    /* Override carousel styles for mobile when showing empty state */
    .spotlight-cards-track.showing-empty-state {
        padding: 20px 10px !important;
        min-height: 300px !important;
    }
    
    .no-spotlight-container {
        padding: 16px;
        margin: 20px auto;
        min-height: 250px;
        max-width: 90%;
    }
    
    .no-spotlight-container .empty-state-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .no-spotlight-container .empty-state-title {
        font-size: 1.1rem; /* 17.6px on mobile */
    }
    
    .no-spotlight-container .empty-state-message {
        font-size: 0.9rem; /* 14.4px on mobile */
        padding: 0 0.5rem;
        margin: 6px 0;
    }
}

/* Tablet responsiveness */
@media (min-width: 481px) and (max-width: 768px) {
    /* Override carousel styles for tablet when showing empty state */
    .spotlight-cards-track.showing-empty-state {
        padding: 30px 15px !important;
        min-height: 350px !important;
    }
    
    .no-spotlight-container {
        padding: 18px;
        margin: 30px auto;
        min-height: 265px;
        max-width: 85%;
    }
    
    .no-spotlight-container .empty-state-title {
        font-size: 1.15rem; /* 18.4px on tablet */
    }
    
    .no-spotlight-container .empty-state-message {
        font-size: 0.95rem; /* 15.2px on tablet */
        padding: 0 0.75rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .no-spotlight-container {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .no-spotlight-container .empty-state-title {
        color: #f7fafc;
    }
    
    .no-spotlight-container .empty-state-message {
        color: #a0aec0;
    }
    
    .no-spotlight-container .empty-state-icon {
        color: #4299e1;
    }
}

/* ===== LIKE FUNCTIONALITY STYLES ===== */
.spotlight-item .like-btn,
.liked-spotlight-item .like-btn,
.spotlight-card .like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    margin-right: 10px;
}

.spotlight-card .like-btn i {
    color: #ccc;
    transition: all 0.2s;
}

.spotlight-card .like-btn.liked i {
    color: #ff6b6b;
}

.spotlight-card .like-btn:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.spotlight-card .like-btn:hover i {
    transform: scale(1.1);
    color: #ff6b6b;
}

.spotlight-card .like-count {
    font-size: 0.9rem;
    color: inherit !important; /* Inherit from parent button for proper contrast */
}

.spotlight-card .liked .like-count {
    color: inherit !important; /* Inherit from parent button (red when liked) */
}

/* Animation for the like action */
@keyframes like-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.spotlight-card .like-btn.liked i {
    animation: like-animation 0.3s ease-in-out;
}

/* Like button mobile responsiveness */
@media (max-width: 768px) {
    .spotlight-card .like-btn {
        padding: 6px;
    }
    
    .spotlight-card .like-count {
        font-size: 0.8rem;
        color: inherit !important; /* Ensure mobile also inherits proper color */
    }
}

/* Carousel responsive card sizing */
@media (max-width: 1024px) {
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card,
    .spotlight-section .spotlight-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    /* Watch All card specific sizing */
    .spotlight-cards .watch-all-card,
    #spotlightCardsContainer .watch-all-card,
    .spotlight-cards-wrapper .watch-all-card,
    .spotlight-section .watch-all-card {
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        min-height: 340px !important;
    }
}

@media (max-width: 768px) {
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card,
    .spotlight-section .spotlight-card {
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
    }
    
    /* Watch All card specific sizing */
    .spotlight-cards .watch-all-card,
    #spotlightCardsContainer .watch-all-card,
    .spotlight-cards-wrapper .watch-all-card,
    .spotlight-section .watch-all-card {
        flex: 0 0 240px !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        min-height: 320px !important;
    }
}

@media (max-width: 480px) {
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card,
    .spotlight-section .spotlight-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    /* Watch All card specific sizing */
    .spotlight-cards .watch-all-card,
    #spotlightCardsContainer .watch-all-card,
    .spotlight-cards-wrapper .watch-all-card,
    .spotlight-section .watch-all-card {
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        min-height: 340px !important;
    }
    
    /* Ensure container allows for peek effect on mobile */
    .spotlight-cards-wrapper #spotlightCardsContainer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ===== WATCH ALL CARD SPECIAL STYLING ===== */
/* Override with maximum specificity for Watch All card */
.spotlight-cards .watch-all-card,
#spotlightCardsContainer .watch-all-card,
.spotlight-cards-wrapper .watch-all-card,
.spotlight-section .watch-all-card,
.spotlight-section .spotlight-cards .watch-all-card,
.spotlight-cards-wrapper .spotlight-cards .watch-all-card {
    /* FORCE SPECIAL STYLING FOR WATCH ALL CARD */
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 50%, #e17055 100%) !important;
    color: #2d3436 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    flex: 0 0 280px !important;
    min-height: 360px !important;
    position: relative !important;
    padding: 2rem 1.5rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 2rem !important;
}

.spotlight-cards .watch-all-card::before,
#spotlightCardsContainer .watch-all-card::before,
.spotlight-cards-wrapper .watch-all-card::before,
.spotlight-section .watch-all-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

.spotlight-cards .watch-all-card:hover,
#spotlightCardsContainer .watch-all-card:hover,
.spotlight-cards-wrapper .watch-all-card:hover,
.spotlight-section .watch-all-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4) !important;
}

.spotlight-cards .watch-all-card .watch-all-icon,
#spotlightCardsContainer .watch-all-card .watch-all-icon,
.spotlight-cards-wrapper .watch-all-card .watch-all-icon,
.spotlight-section .watch-all-card .watch-all-icon {
    width: 80px !important;
    height: 80px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.spotlight-cards .watch-all-card .watch-all-icon i,
#spotlightCardsContainer .watch-all-card .watch-all-icon i,
.spotlight-cards-wrapper .watch-all-card .watch-all-icon i,
.spotlight-section .watch-all-card .watch-all-icon i {
    font-size: 2rem !important;
    color: white !important;
}

.spotlight-cards .watch-all-card h3,
#spotlightCardsContainer .watch-all-card h3,
.spotlight-cards-wrapper .watch-all-card h3,
.spotlight-section .watch-all-card h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.2 !important;
    color: white !important;
}

.spotlight-cards .watch-all-card p,
#spotlightCardsContainer .watch-all-card p,
.spotlight-cards-wrapper .watch-all-card p,
.spotlight-section .watch-all-card p {
    font-size: 0.95rem !important;
    opacity: 0.9 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.4 !important;
    max-width: 220px !important;
    color: white !important;
}

.spotlight-cards .watch-all-card .watch-all-arrow,
#spotlightCardsContainer .watch-all-card .watch-all-arrow,
.spotlight-cards-wrapper .watch-all-card .watch-all-arrow,
.spotlight-section .watch-all-card .watch-all-arrow {
    margin-top: auto !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.spotlight-cards .watch-all-card:hover .watch-all-arrow,
#spotlightCardsContainer .watch-all-card:hover .watch-all-arrow,
.spotlight-cards-wrapper .watch-all-card:hover .watch-all-arrow,
.spotlight-section .watch-all-card:hover .watch-all-arrow {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateX(5px) !important;
}

.spotlight-cards .watch-all-card .watch-all-arrow i,
#spotlightCardsContainer .watch-all-card .watch-all-arrow i,
.spotlight-cards-wrapper .watch-all-card .watch-all-arrow i,
.spotlight-section .watch-all-card .watch-all-arrow i {
    font-size: 1.2rem !important;
    color: white !important;
}

/* ===== RESPONSIVE PEEK EFFECT MEDIA QUERIES ===== */
/* Tablet landscape and smaller desktops */
@media (max-width: 1024px) {
    .spotlight-carousel-container {
        padding: 0 80px !important; /* Maintain space for arrows */
    }
    
    .spotlight-cards-track {
        padding: 0 80px !important;
        margin-left: -80px !important;
        width: calc(100% + 160px) !important;
    }
    
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        flex-basis: 280px !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .spotlight-carousel-container {
        padding: 0 70px !important; /* Ensure arrows have space */
    }
    
    .spotlight-cards-track {
        padding: 0 60px !important;
        margin-left: -60px !important;
        width: calc(100% + 120px) !important;
        gap: 1.5rem !important;
    }
    
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        flex-basis: 260px !important;
        transform: scale(0.9) !important;
    }
    
    .spotlight-cards .spotlight-card.active {
        transform: scale(0.98) !important;
    }
}

/* Mobile landscape */
@media (max-width: 640px) {
    .spotlight-carousel-container {
        padding: 0 40px !important;
    }
    
    .spotlight-cards-track {
        padding: 0 40px !important;
        margin-left: -40px !important;
        width: calc(100% + 80px) !important;
        gap: 1rem !important;
    }
    
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        flex-basis: 240px !important;
        transform: scale(0.92) !important;
    }
    
    .spotlight-cards .spotlight-card.active {
        transform: scale(1) !important;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .spotlight-carousel-container {
        padding: 0 20px !important;
    }
    
    .spotlight-cards-track {
        padding: 0 20px !important;
        margin-left: -20px !important;
        width: calc(100% + 40px) !important;
        gap: 0.8rem !important;
    }
    
    .spotlight-cards .spotlight-card,
    #spotlightCardsContainer .spotlight-card,
    .spotlight-cards-wrapper .spotlight-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        flex-basis: 280px !important;
        transform: scale(0.95) !important;
        opacity: 0.7 !important;
    }
    
    .spotlight-cards .spotlight-card.active {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
    
    /* Reduce peek effect on mobile for better single card focus */
    .spotlight-cards .spotlight-card:hover {
        transform: scale(0.96) translateY(-2px) !important;
    }
    
    .spotlight-cards .spotlight-card.active:hover {
        transform: scale(1.01) translateY(-3px) !important;
    }
}

/* Very small screens - arrows hidden, full swipe focus */
@media (max-width: 480px) {
    .spotlight-carousel-container {
        padding: 0 20px !important; /* Reduce padding when arrows are hidden */
        overflow: hidden !important; /* Prevent horizontal scroll bars */
    }
    
    .spotlight-cards-track {
        padding: 0 30px !important;
        margin-left: -30px !important;
        width: calc(100% + 60px) !important;
    }
}
