/* ==========================================================================
   VIBETON - Luxury Cinema & Dynamic Reels Platform for Actors & Talents
   Design System: Pure Gold (#D4AF37), Obsidian Black (#08080A), Crisp White (#FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Pure Black & Dark Obsidian Palette */
    --bg-dark: #070709;
    --bg-surface: #111115;
    --bg-surface-elevated: #18181f;
    --bg-card: rgba(18, 18, 24, 0.85);
    
    /* Gold & Metallic Accents */
    --gold-primary: #D4AF37;
    --gold-light: #FFDF73;
    --gold-dark: #996515;
    --gold-glow-color: rgba(212, 175, 55, 0.35);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #D4AF37 0%, #FFDF73 45%, #AA771C 100%);
    --gold-metallic: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --accent-gradient: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 100%);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FFDF73 100%);
    --dark-gradient: linear-gradient(180deg, rgba(7, 7, 9, 0.95) 0%, rgba(17, 17, 21, 0.98) 100%);

    /* Borders & Glows */
    --border-color: rgba(212, 175, 55, 0.22);
    --border-white: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(212, 175, 55, 0.45);
    --card-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.08);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --text-gold: #D4AF37;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.text-gold {
    color: var(--gold-primary) !important;
}

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

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ==========================================================================
   Navigation Bar (Glassmorphism Sticky)
   ========================================================================== */
.vs-navbar {
    background: rgba(7, 7, 9, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.4rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
    margin-bottom: 1.25rem;
}

.vs-navbar-inner {
    width: 100%;
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(10px, 1.2vw, 18px);
    padding-right: clamp(10px, 1.2vw, 18px);
}

.vs-nav-label-short {
    display: none;
}

@media (min-width: 992px) {
    .vs-navbar {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .vs-navbar .navbar-collapse {
        display: flex !important;
        flex-grow: 1;
        min-width: 0;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem;
    }

    .vs-navbar .vs-navbar-links {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        margin-left: 0.15rem !important;
        margin-right: 0.15rem !important;
    }

    .vs-navbar .vs-nav-actions {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

/* Laptops & smaller desktops — stop clipping Login / Post on the right */
@media (min-width: 992px) and (max-width: 1439.98px) {
    .vs-navbar .navbar-brand {
        margin-right: 0.25rem !important;
        flex-shrink: 1;
        min-width: 0;
        max-width: 11.5rem;
    }

    .vs-navbar .navbar-brand .tracking-tight {
        font-size: 1rem !important;
    }

    .vs-navbar .vs-logo-badge {
        display: none;
    }

    .vs-navbar .vs-brand-logo-img {
        height: 30px;
        max-width: 54px;
    }

    .vs-navbar .nav-pill-btn {
        padding: 6px 8px;
        font-size: 0.78rem;
        gap: 0;
    }

    .vs-navbar .nav-pill-btn .vs-nav-label,
    .vs-navbar .nav-pill-btn .vs-nav-label-short,
    .vs-navbar .nav-pill-btn .vs-nav-live-badge {
        display: none !important;
    }

    .vs-navbar .nav-pill-btn > i {
        font-size: 1.08rem;
    }

    .vs-navbar .vs-nav-post-label,
    .vs-navbar .vs-nav-auth-label {
        display: none;
    }

    .vs-navbar .vs-nav-post-btn,
    .vs-navbar .vs-nav-auth-btn {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .vs-navbar .js-mute-toggle {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0;
    }

    .vs-navbar .dropdown .dropdown-toggle img {
        margin-right: 0 !important;
    }
}

@media (min-width: 1440px) and (max-width: 1599.98px) {
    .vs-navbar .vs-logo-badge {
        display: none;
    }

    .vs-navbar .nav-pill-btn {
        padding: 6px 11px;
        font-size: 0.82rem;
    }

    .vs-navbar .vs-nav-label-long {
        display: none;
    }

    .vs-navbar .vs-nav-label-short {
        display: inline;
    }
}

/* Navbar & Global Brand Logo Image */
.vs-brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 85px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.navbar-brand:hover .vs-brand-logo-img {
    transform: scale(1.08) rotate(-1deg);
    filter: drop-shadow(0 0 14px rgba(255, 223, 115, 0.75));
}

.vs-logo-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.55rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.vs-logo-badge {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 2px 7px;
    border-radius: 6px;
    vertical-align: middle;
    font-weight: 800;
}

/* ========================================================
   VIBETON LUXURY PRELOADER
   ======================================================== */
.vs-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: radial-gradient(circle at center, #15151c 0%, #070709 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
    overflow: hidden;
    user-select: none;
}

.vs-preloader.vs-loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.vs-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.vs-preloader-logo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-preloader-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0) 70%);
    animation: vsPulseGlow 2.2s infinite ease-in-out;
    z-index: 1;
}

.vs-preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--gold-primary);
    border-right-color: rgba(255, 223, 115, 0.7);
    animation: vsSpinRing 1.6s linear infinite;
    z-index: 2;
}

.vs-preloader-ring::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.35);
    animation: vsSpinRingReverse 4s linear infinite;
}

.vs-preloader-logo {
    width: 105px;
    height: 105px;
    object-fit: contain;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.65));
    animation: vsFloatLogo 2.4s ease-in-out infinite alternate;
}

.vs-preloader-brand {
    text-align: center;
}
.vs-preloader-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    background: linear-gradient(135deg, #FFF7D6 0%, #D4AF37 50%, #996515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}
.vs-preloader-subtitle {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-top: 4px;
}

.vs-preloader-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 22px;
}
.vs-preloader-wave span {
    width: 3.5px;
    height: 100%;
    background: linear-gradient(to top, var(--gold-dark), var(--gold-light));
    border-radius: 4px;
    animation: vsWavePulse 1.2s ease-in-out infinite alternate;
}
.vs-preloader-wave span:nth-child(1) { animation-delay: 0.0s; height: 35%; }
.vs-preloader-wave span:nth-child(2) { animation-delay: 0.15s; height: 70%; }
.vs-preloader-wave span:nth-child(3) { animation-delay: 0.3s; height: 100%; }
.vs-preloader-wave span:nth-child(4) { animation-delay: 0.45s; height: 60%; }
.vs-preloader-wave span:nth-child(5) { animation-delay: 0.6s; height: 30%; }

@keyframes vsPulseGlow {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }
}
@keyframes vsSpinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes vsSpinRingReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes vsFloatLogo {
    0% { transform: translateY(0) scale(0.97); }
    100% { transform: translateY(-5px) scale(1.03); }
}
@keyframes vsWavePulse {
    0% {
        height: 20%;
        opacity: 0.3;
    }
    100% {
        height: 100%;
        opacity: 1;
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
    }
}



.search-input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    transition: all 0.25s ease;
}
.search-input-group:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.08);
}
.search-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
}
.search-input-group input::placeholder {
    color: var(--text-muted);
}

/* Live Instant Search Dropdown */
.vs-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 320px;
    max-width: calc(100vw - 32px);
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 18px rgba(212, 175, 55, 0.25);
    z-index: 1090;
    max-height: 440px;
    overflow-y: auto;
    padding: 8px 0;
}
@media (max-width: 576px) {
    .vs-search-dropdown {
        min-width: 100%;
        left: 0;
        right: 0;
    }
}
.vs-search-section-header {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-primary);
    padding: 6px 16px 4px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vs-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
}
.vs-search-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    transform: translateX(3px);
}
.vs-search-footer {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.2s ease;
}
.vs-search-footer:hover {
    background: var(--primary-gradient);
    color: #070709 !important;
}

.nav-pill-btn {
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-pill-btn:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
}
.nav-pill-btn.active {
    background: var(--primary-gradient);
    color: #070709 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   MOBILE NAVIGATION — Premium Boxed Drawer
   ========================================================================== */
@media (max-width: 991.98px) {

    /* Boost parent navbar z-index so fixed child drawer isn't trapped.
       Remove backdrop-filter — it creates a containing block that traps
       position:fixed children inside the navbar instead of the viewport. */
    .vs-navbar {
        z-index: 99999 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #070709 !important;
    }

    /* Full-screen overlay drawer */
    .vs-navbar .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw;
        background: #070709;
        z-index: 9999;
        padding: 80px 0 32px 0;
        flex-direction: column;
        justify-content: flex-start;
        overflow-x: hidden !important;
        overflow-y: auto;
        margin: 0 !important;
    }

    /* Close button inside drawer */
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        color: var(--gold-primary);
        font-size: 1.1rem;
        padding: 0;
        z-index: 10;
        transition: all 0.25s ease;
    }
    .mobile-nav-close:hover,
    .mobile-nav-close:focus {
        background: var(--gold-primary);
        color: #070709;
        box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
        transform: rotate(90deg);
    }

    /* Hidden state — let Bootstrap handle display:none */
    .vs-navbar .navbar-collapse:not(.show):not(.collapsing) {
        display: none !important;
    }

    /* Visible state */
    .vs-navbar .navbar-collapse.show {
        display: flex !important;
    }
    .vs-navbar .navbar-collapse.collapsing {
        display: flex !important;
        height: 100% !important;
    }

    /* Gold shimmer divider at top */
    .vs-navbar .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 20%, var(--gold-light) 50%, var(--gold-primary) 80%, transparent 100%);
        opacity: 0.45;
        animation: mobileNavShimmer 3s ease-in-out infinite;
    }

    @keyframes mobileNavShimmer {
        0%, 100% { opacity: 0.25; }
        50% { opacity: 0.6; }
    }

    /* Hamburger toggle z-index & close morph */
    .vs-navbar .navbar-toggler {
        position: relative;
        z-index: 1200;
        transition: transform 0.3s ease;
    }
    .vs-navbar .navbar-toggler[aria-expanded="true"] {
        transform: rotate(90deg);
    }
    .vs-navbar .navbar-toggler[aria-expanded="true"] i::before {
        content: "\F62A";
    }

    /* Nav list — vertical stack */
    .vs-navbar .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
        width: 100%;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 0;
        overflow: visible;
    }

    /* Staggered slide-in per item */
    .vs-navbar .nav-item {
        opacity: 0;
        transform: translateY(12px);
        animation: mobileNavSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .vs-navbar .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.05s; }
    .vs-navbar .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.10s; }
    .vs-navbar .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.15s; }
    .vs-navbar .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.20s; }
    .vs-navbar .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.25s; }

    @keyframes mobileNavSlideIn {
        to { opacity: 1; transform: translateY(0); }
    }

    /* Divider between items (not on last) */
    .vs-navbar .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    }

    /* === HIDE ICONS on mobile === */
    .vs-navbar .nav-pill-btn > i {
        display: none !important;
    }

    /* Boxed nav link — text only */
    .vs-navbar .nav-pill-btn {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px !important;
        border-radius: 0 !important;
        font-size: 1rem !important;
        font-weight: 600;
        letter-spacing: 0.01em;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.02);
        border: none;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
        gap: 8px;
    }

    /* Subtle sweep on hover */
    .vs-navbar .nav-pill-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.06), transparent);
        transition: left 0.5s ease;
        pointer-events: none;
    }
    .vs-navbar .nav-pill-btn:hover::after {
        left: 100%;
    }

    /* Hover state */
    .vs-navbar .nav-pill-btn:hover {
        background: rgba(212, 175, 55, 0.08) !important;
        border-left-color: var(--gold-primary) !important;
        color: #fff !important;
        padding-left: 24px !important;
    }

    /* Press feedback */
    .vs-navbar .nav-pill-btn:active {
        background: rgba(212, 175, 55, 0.12) !important;
        transform: scale(0.99);
    }

    /* Active page state */
    .vs-navbar .nav-pill-btn.active {
        background: rgba(212, 175, 55, 0.1) !important;
        border-left-color: var(--gold-primary) !important;
        color: #fff !important;
        font-weight: 700;
        padding-left: 24px !important;
        box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.05);
    }



    /* LIVE badge pulse */
    .vs-navbar .nav-pill-btn .badge {
        animation: mobileLivePulse 2s infinite;
        position: relative;
        z-index: 1;
    }
    @keyframes mobileLivePulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
        50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
    }

    /* Bottom action controls */
    .vs-navbar .navbar-collapse > .d-flex {
        margin-top: auto;
        padding: 20px 16px 0 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px !important;
        opacity: 0;
        animation: mobileNavFadeUp 0.5s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

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

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .vs-navbar .vs-logo-gradient {
        font-size: 1.2rem;
        gap: 5px;
    }
}

@media (min-width: 1600px) {
    .vs-navbar .nav-pill-btn {
        padding: 7px 14px;
        font-size: 0.88rem;
    }

    .vs-navbar .vs-nav-post-btn {
        padding: 0.5rem 0.85rem !important;
    }
}

/* Category Filter Bar (Single-Row Horizontal Slidable Strip) */
.category-scroll-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth;
    gap: 8px !important;
    padding: 6px 2px 10px 2px !important;
    align-items: center !important;
    white-space: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}
.category-scroll-bar > *,
.category-scroll-bar .category-chip {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.category-scroll-bar::-webkit-scrollbar {
    height: 4px;
}
.category-scroll-bar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 9999px;
}
.category-scroll-bar::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 9999px;
}
.category-scroll-bar::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}
.category-chip {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap !important;
}
.category-chip:hover {
    color: #fff;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}
.category-chip.active {
    background: linear-gradient(135deg, #D4AF37 0%, #FFDF73 50%, #AA7C11 100%);
    color: #070709 !important;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   REELS FEED VIEWPORT (TikTok / Instagram Vertical Snap Scroll)
   ========================================================================== */
.reels-feed-container {
    height: calc(100vh - 68px);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
    padding-bottom: 20px;
}

.reel-card-wrapper {
    height: calc(100vh - 78px);
    min-height: 580px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

/* ==========================================================================
   HOME FEED — layout (sidebars desktop-only; mobile uses tabs + bottom nav)
   ========================================================================== */
.page-home-feed .home-feed-sidebar {
    display: none;
}

.page-home-feed .home-feed-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .page-home-feed .home-feed-layout {
        background:
            linear-gradient(90deg, #050508 0%, rgba(17, 17, 21, 0.35) 18%, rgba(17, 17, 21, 0.35) 82%, #050508 100%);
        padding: 8px 0 32px;
    }

    .page-home-feed .home-feed-grid {
        width: min(680px, calc(100% - 32px));
        max-width: 680px;
    }

    .page-home-feed .home-feed-shell {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .page-home-feed .home-feed-sticky {
        position: sticky;
        top: 72px;
        z-index: 40;
        border-radius: var(--radius-lg);
        background: rgba(14, 15, 22, 0.92) !important;
        backdrop-filter: blur(18px);
        margin-bottom: 16px;
        padding: 12px 14px 10px;
        border: 1px solid var(--border-color);
    }

    .page-home-feed .home-feed-search {
        margin-bottom: 10px;
    }

    .page-home-feed .home-feed-tabs {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin: 0 -4px 10px;
        padding: 0 4px;
    }

    .page-home-feed .home-feed-tab {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 10px 6px 12px;
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-secondary);
        border-bottom: 3px solid transparent;
        border-radius: 8px 8px 0 0;
        transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        text-align: center;
        min-width: 0;
    }

    .page-home-feed .home-feed-tab i {
        font-size: 1.15rem;
    }

    .page-home-feed .home-feed-tab:hover {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.03);
    }

    .page-home-feed .home-feed-tab.active {
        color: var(--gold-primary);
        border-bottom-color: var(--gold-primary);
    }

    .page-home-feed .home-feed-categories-wrap {
        min-width: 0;
        overflow: hidden;
    }

    .page-home-feed .home-feed-categories {
        padding-bottom: 4px !important;
    }

    .page-home-feed .reels-feed-container,
    .page-home-feed .home-feed-stream {
        display: block;
        overflow: visible;
        height: auto;
        max-height: none;
        scroll-snap-type: none;
        padding: 0 0 48px;
    }

    .page-home-feed .reel-card-wrapper {
        width: 100%;
        height: auto;
        min-height: 0;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        padding: 0 0 20px;
        margin-bottom: 4px;
    }

    .page-home-feed .reel-card-wrapper .reel-card--video {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: min(78vh, 760px);
        margin: 0 auto;
    }

    .page-home-feed .reel-card-wrapper .reel-card--photo {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: min(70vh, 600px);
        margin: 0 auto;
    }

    .page-home-feed .sponsored-feed-card .reel-card {
        height: auto;
        min-height: 420px;
    }
}

/* 3-column Facebook layout — sidebars fill empty space on wide screens */
@media (min-width: 1200px) {
    .page-home-feed .home-feed-layout {
        background: var(--bg-dark);
        padding: 12px 16px 40px;
    }

    .page-home-feed .home-feed-grid {
        display: grid;
        grid-template-columns: 272px minmax(0, 560px) 300px;
        gap: 20px;
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
        align-items: start;
    }

    .page-home-feed .home-feed-sidebar {
        display: block;
        position: sticky;
        top: 78px;
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 12px;
        scrollbar-width: thin;
        min-width: 0;
    }

    .page-home-feed .home-sidebar-user {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        border: 1px solid var(--border-color);
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .page-home-feed .home-sidebar-user:hover {
        border-color: var(--border-glow);
        background: rgba(212, 175, 55, 0.06);
    }

    .page-home-feed .home-sidebar-user-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--gold-primary);
        flex-shrink: 0;
    }

    .page-home-feed .home-sidebar-nav,
    .page-home-feed .home-sidebar-panel {
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        padding: 6px;
        margin-bottom: 12px;
        background: rgba(14, 15, 22, 0.88);
    }

    .page-home-feed .home-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .page-home-feed .home-sidebar-panel-title {
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-secondary);
        padding: 6px 8px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        margin-bottom: 6px;
    }

    .page-home-feed .home-sidebar-link {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-width: 0;
        padding: 10px 12px;
        border-radius: var(--radius-sm);
        color: var(--text-primary);
        font-size: 0.88rem;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.15s ease, color 0.15s ease;
        box-sizing: border-box;
    }

    .page-home-feed .home-sidebar-link span {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-home-feed .home-sidebar-link i {
        font-size: 1.15rem;
        width: 26px;
        flex-shrink: 0;
        text-align: center;
        color: var(--gold-primary);
    }

    .page-home-feed .home-sidebar-link .badge {
        flex-shrink: 0;
        margin-left: auto;
    }

    .page-home-feed .home-sidebar-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--gold-light);
    }

    .page-home-feed .home-sidebar-link.active {
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-light);
    }

    .page-home-feed .home-sidebar-link-cta {
        margin-top: 4px;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
        border: 1px solid rgba(212, 175, 55, 0.35);
        color: var(--gold-light) !important;
        font-weight: 700;
    }

    .page-home-feed .home-sidebar-link-cta:hover {
        background: rgba(212, 175, 55, 0.2);
        color: #fff !important;
    }

    .page-home-feed .home-sidebar-category-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        max-height: 280px;
        overflow-y: auto;
        padding-right: 2px;
    }

    .page-home-feed .home-sidebar-cat {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-width: 0;
        padding: 8px 10px;
        border-radius: var(--radius-sm);
        font-size: 0.82rem;
        color: var(--text-secondary);
        text-decoration: none;
        box-sizing: border-box;
    }

    .page-home-feed .home-sidebar-cat span.text-truncate {
        flex: 1 1 auto;
        min-width: 0;
    }

    .page-home-feed .home-sidebar-cat:hover,
    .page-home-feed .home-sidebar-cat.active {
        background: rgba(212, 175, 55, 0.1);
        color: var(--text-primary);
    }

    .page-home-feed .home-sidebar-cat-count {
        margin-left: auto;
        font-size: 0.7rem;
        color: var(--text-muted);
        background: rgba(0, 0, 0, 0.35);
        padding: 2px 8px;
        border-radius: 999px;
    }

    .page-home-feed .home-sidebar-ad-img {
        width: 100%;
        max-height: 140px;
        object-fit: cover;
        border: 1px solid var(--border-color);
    }

    .page-home-feed .home-sidebar-suggest-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 6px;
        border-radius: var(--radius-sm);
        transition: background 0.15s ease;
    }

    .page-home-feed .home-sidebar-suggest-item:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    .page-home-feed .home-sidebar-suggest-item img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    .page-home-feed .home-sidebar-trend-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 0.72rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--text-secondary);
    }

    .page-home-feed .home-sidebar-trend-chip:hover {
        border-color: var(--border-glow);
        color: var(--gold-light);
    }

    .page-home-feed .home-sidebar-mini-link {
        font-size: 0.84rem;
        color: var(--text-secondary);
        padding: 6px 8px;
        border-radius: var(--radius-sm);
    }

    .page-home-feed .home-sidebar-mini-link:hover {
        color: var(--gold-primary);
        background: rgba(255, 255, 255, 0.03);
    }

    .page-home-feed .home-sidebar-footer {
        line-height: 1.4;
        padding-top: 4px;
    }
}

@media (min-width: 1400px) {
    .page-home-feed .home-feed-grid {
        grid-template-columns: 300px minmax(0, 620px) 320px;
        max-width: 1440px;
        gap: 24px;
    }
}

.reel-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.18);
    border: 1px solid var(--border-color);
}

/* Video element */
.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    cursor: pointer;
}

/* Facebook & YouTube Social Embed Players */
.reel-embed-stage {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reel-embed-stage iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Photo Reel Styling with Subtle Ambient Ken Burns Zoom */
.reel-photo-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reel-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    animation: vsKenBurns 18s ease-in-out infinite alternate;
    transform-origin: center center;
    -webkit-user-drag: none;
    user-select: none;
}

@media (max-width: 768px), (hover: none) {
    .reel-photo {
        animation: none;
        transform: none;
    }
}

@keyframes vsKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

/* Unified feed media frame (Facebook-style: same box for every upload) */
.page-home-feed .home-feed-layout,
.page-home-feed .home-feed-shell,
.page-home-feed .home-feed-stream,
.page-home-feed .reel-card-wrapper {
    max-width: 100%;
    min-width: 0;
}

.page-home-feed .reels-feed-container {
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
}

.page-home-feed .reel-card-wrapper .reel-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-home-feed .reel-card--photo {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 620px);
}

.page-home-feed .reel-card--video {
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: min(82vh, 720px);
}

.page-home-feed .reel-media-stage,
.page-home-feed .reel-photo-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    contain: strict;
}

.page-home-feed .reel-card--video .reel-video,
.page-home-feed .reel-card--photo .reel-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ambient glow backdrop for desktop */
.reel-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: var(--primary-gradient);
    filter: blur(45px);
    opacity: 0.14;
    z-index: -1;
}

/* Overlay gradient for readability */
.reel-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
    padding: 15px;
}
.reel-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    padding: 22px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 75%, transparent 100%);
    z-index: 5;
    pointer-events: auto;
}

/* Actions Sidebar */
.reel-actions-sidebar {
    position: absolute;
    right: 12px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 12;
    pointer-events: auto;
}

.reel-action-btn {
    background: rgba(18, 18, 24, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reel-action-btn:hover {
    transform: scale(1.12);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}
.reel-action-btn.liked {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.reel-action-count {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    text-align: center;
}

/* Rotating vinyl sound record */
.spinning-disc {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #1a1a22;
    background: conic-gradient(#111 0deg, #D4AF37 90deg, #111 180deg, #D4AF37 270deg, #111 360deg);
    animation: spin 3.5s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}
.spinning-disc img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sound-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Creator Profile Tag on Reel */
.reel-creator-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.reel-creator-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}
.reel-creator-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.verified-badge {
    color: var(--gold-primary);
    font-size: 0.95rem;
}
.reel-actor-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
}

.follow-btn {
    background: var(--primary-gradient);
    color: #070709;
    border: none;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}
.follow-btn:hover {
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    color: #000;
}
.follow-btn.following {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Double click Heart Pop Animation (Gold Heart) */
.heart-pop-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 5rem;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.heart-pop-animation.animate {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.95;
    animation: heartFade 0.7s forwards;
}
@keyframes heartFade {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Play/Pause indicator overlay */
.play-pause-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 15;
}
.play-pause-icon.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Navigation indicators next/prev buttons on side */
.reels-nav-controls {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}
.reels-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.reels-nav-btn:hover {
    background: var(--primary-gradient);
    color: #070709;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   CARDS, EXPLORE GRID & PROFILES (Gold, Black, White)
   ========================================================================== */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    box-shadow: var(--card-glow);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.explore-reel-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    isolation: isolate;
}
.explore-reel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
}
.explore-reel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}
.explore-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
}

/* Actor Profile Header */
.actor-cover-banner {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #18181f 0%, #070709 100%);
    border: 1px solid var(--border-color);
}
.profile-header-cover {
    position: relative;
    z-index: 0;
}

.profile-header-body {
    position: relative;
    z-index: 1;
    margin-top: -65px;
}

.profile-header-actions {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .profile-header-actions .btn,
    .profile-header-actions form .btn {
        flex: 1 1 auto;
        min-width: min(100%, 10rem);
    }
}

.actor-avatar-lg {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Modals & Offcanvas Drawers */
.vs-modal-content, .vs-offcanvas {
    background: var(--bg-surface-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.15) !important;
}

.comment-input-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 9px 18px;
    color: #fff;
    width: 100%;
    outline: none;
}
.comment-input-box:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* Admin Dashboard Elements */
.admin-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}
.admin-stat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.admin-stat-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2.2rem;
    opacity: 0.28;
    color: var(--gold-primary);
}

/* Form inputs */
.vs-form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all 0.2s ease;
}
.vs-form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* Actor Card Compact Buttons */
.glass-panel .btn-outline-glow,
.glass-panel .btn-primary-gradient,
.glass-panel .btn-outline-secondary {
    padding: 5px 12px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}

/* Luxury Gold & White Buttons */
.btn-primary-gradient {
    background: var(--primary-gradient);
    color: #070709 !important;
    border: none;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.btn-primary-gradient:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.55);
    color: #000 !important;
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--gold-light);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}
.btn-outline-glow:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Toast styling */
.vs-toast {
    background: rgba(24, 24, 31, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-primary);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Offcanvas Comments Drawer & Modals */
.vs-offcanvas {
    background: rgba(14, 14, 18, 0.97) !important;
    backdrop-filter: blur(25px) saturate(180%);
    border-top: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
}

.comments-offcanvas {
    z-index: 1065 !important;
    max-width: 100vw;
    max-height: min(92dvh, 100vh);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}

.comments-offcanvas-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-height: calc(min(92dvh, 100vh) - 64px);
    overflow: hidden;
}

.comments-offcanvas-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 14px;
    -webkit-overflow-scrolling: touch;
}

.comments-offcanvas-composer {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 12, 16, 0.98);
    box-sizing: border-box;
}

.comments-offcanvas-form {
    width: 100%;
    min-width: 0;
}

.comments-offcanvas-form .comment-input-box {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.comments-send-btn {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .comments-offcanvas-composer {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 768px) {
    .vs-offcanvas.offcanvas-md-end.comments-offcanvas {
        width: min(440px, calc(100vw - 24px)) !important;
        border-left: 1px solid rgba(212, 175, 55, 0.35) !important;
        border-top: none !important;
        border-top-left-radius: 20px !important;
        border-bottom-left-radius: 20px !important;
        max-height: 100dvh !important;
        height: 100dvh;
    }

    .comments-offcanvas-body {
        max-height: calc(100dvh - 64px);
    }

    .comments-offcanvas-composer {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}
.comment-input-box {
    width: 100%;
    background: rgba(26, 26, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.25s ease;
}
.comment-input-box:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: rgba(32, 32, 44, 0.95);
}
.comment-input-box::placeholder {
    color: #8E8E93;
}
.comment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: all 0.2s ease;
}
.comment-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.25);
}
.comment-delete-btn {
    opacity: 0.4;
    background: transparent;
    border: none;
    color: #ff5252;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.comment-card:hover .comment-delete-btn {
    opacity: 0.9;
}
.comment-delete-btn:hover {
    opacity: 1 !important;
    background: rgba(255, 82, 82, 0.18);
    transform: scale(1.12);
}
#commentsContainerList::-webkit-scrollbar {
    width: 5px;
}
#commentsContainerList::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
#commentsContainerList::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}
#commentsContainerList::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION & RESPONSIVE PERFECTION
   ========================================================================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 11, 16, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding: 0 4px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.7);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    font-size: 0.68rem;
    font-weight: 600;
    gap: 3px;
    flex: 1;
    height: 100%;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--gold-primary) !important;
}

.mobile-nav-item.active i {
    transform: scale(1.15);
}

.mobile-nav-create-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
    transform: translateY(-8px);
    border: 2px solid #000;
}

.mobile-nav-create-btn i {
    font-size: 1.4rem !important;
    font-weight: 800;
}

/* Comprehensive Responsive Rules */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .page-home-feed .home-feed-layout {
        padding: 8px 10px 0;
    }

    .page-home-feed .home-feed-sticky {
        border-radius: var(--radius-md);
        padding: 12px 12px 10px;
        margin-bottom: 12px;
        background: rgba(14, 15, 22, 0.95);
        border: 1px solid var(--border-color);
        overflow: hidden;
        max-width: 100%;
    }

    .page-home-feed .home-feed-categories-wrap {
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .page-home-feed .home-feed-categories-wrap::before {
        content: 'Categories';
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-secondary);
        margin-bottom: 8px;
        padding-left: 2px;
    }

    .page-home-feed .home-feed-categories.category-scroll-bar {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 2px 2px 6px;
        margin: 0;
    }

    .page-home-feed .home-feed-categories .category-chip {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        font-size: 0.78rem;
        font-weight: 600;
        border-radius: 999px;
        white-space: nowrap;
        max-width: min(220px, 72vw);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-home-feed .home-feed-categories .category-chip i,
    .page-home-feed .home-feed-categories .category-chip img {
        flex-shrink: 0;
    }

    .page-home-feed .home-feed-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        scrollbar-width: none;
    }

    .page-home-feed .home-feed-tabs::-webkit-scrollbar {
        display: none;
    }

    .page-home-feed .home-feed-tab {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .page-home-feed .home-feed-tab.active {
        color: #0a0a0c;
        background: var(--primary-gradient);
        border-color: transparent;
    }

    .page-home-feed .home-feed-search {
        margin-bottom: 10px;
    }

    /* Home feed: vertical Facebook-style scroll (no full-screen snap) */
    .page-home-feed .reels-feed-container {
        height: auto !important;
        max-height: none !important;
        scroll-snap-type: none !important;
        padding-bottom: 48px;
    }

    .page-home-feed .reel-card-wrapper {
        padding: 0 0 14px;
        height: auto !important;
        min-height: 0 !important;
        scroll-snap-stop: normal !important;
        display: block;
    }

    .page-home-feed .reel-card {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
    }

    .reels-feed-container:not(.home-feed-stream) {
        height: calc(100dvh - 134px);
        scroll-snap-type: y mandatory;
        padding-bottom: 0;
    }

    .reels-feed-container:not(.home-feed-stream) .reel-card-wrapper {
        padding: 4px;
        height: calc(100dvh - 134px);
        min-height: 0 !important;
        scroll-snap-stop: always;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .reels-feed-container:not(.home-feed-stream) .reel-card {
        max-width: 100%;
        height: 100%;
    }

    .reels-nav-controls {
        display: none !important;
    }

    .category-scroll-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 4px 2px 8px 2px !important;
        scrollbar-width: none;
    }

    .category-scroll-bar::-webkit-scrollbar {
        display: none !important;
    }

    .explore-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .explore-reel-overlay {
        padding: 8px !important;
    }

    .actor-cover-banner {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .profile-header-body {
        margin-top: -50px;
    }

    .actor-avatar-lg {
        width: 100px !important;
        height: 100px !important;
    }

    .glass-panel {
        padding: 1.15rem !important;
    }

    .container, .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .vs-navbar {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .vs-brand-logo-img {
        height: 28px !important;
    }

    .vs-logo-badge {
        display: none !important;
    }
}

/* Admin — Contest events list (desktop table + mobile cards) */
.admin-contests-list-panel {
    overflow: visible;
}

.admin-contests-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-contests-table {
    min-width: 860px;
}

.admin-contest-desc {
    max-width: 280px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-contests-actions-col {
    min-width: 300px;
}

.admin-contest-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0.4rem;
}

.admin-contest-action-form {
    display: flex;
    margin: 0;
}

.admin-contest-action-btn {
    white-space: nowrap;
}

.admin-contests-cards {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-contest-card {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.admin-contest-card .admin-contest-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.admin-contest-card .admin-contest-action-btn {
    width: 100%;
    justify-content: center;
}

.admin-contest-card .admin-contest-action-form {
    min-width: 0;
}

.admin-contest-card .admin-contest-action-form .admin-contest-action-btn {
    flex: 1;
    width: 100%;
}

@media (max-width: 991.98px) {
    .admin-contests-actions-col {
        min-width: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .admin-contest-actions {
        max-width: 320px;
        margin-left: auto;
    }
}

@media (max-width: 575.98px) {
    .admin-contest-card .admin-contest-actions {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   Multi-Photo Feed Carousel & Facebook-Style Lightbox
   ======================================================== */

.reel-photo-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.25s ease-in-out;
}

.carousel-slide img.reel-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 12;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    opacity: 0.85;
}

.carousel-arrow:hover {
    background: rgba(212, 175, 55, 0.95);
    color: #000;
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

.carousel-arrow-prev {
    left: 12px;
}

.carousel-arrow-next {
    right: 12px;
}

/* Photo Counter Pill */
.carousel-counter-pill {
    position: absolute;
    top: 52px;
    right: 14px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 12;
    backdrop-filter: blur(8px);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Fullscreen / Expand button */
.carousel-expand-btn {
    position: absolute;
    bottom: 95px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 12;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.carousel-expand-btn:hover {
    background: #ffc107;
    color: #000;
    transform: scale(1.1);
}

/* Dots Indicator */
.carousel-dots-wrap {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 12;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    max-width: 85%;
    overflow-x: auto;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: #d4af37;
    width: 14px;
    border-radius: 4px;
}

/* Lightbox Modal */
.photo-lightbox-modal .modal-content {
    background: rgba(8, 10, 14, 0.97) !important;
    backdrop-filter: blur(16px);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 20;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-arrow:hover {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow-prev { left: 24px; }
.lightbox-arrow-next { right: 24px; }

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    .lightbox-arrow-prev { left: 8px; }
    .lightbox-arrow-next { right: 8px; }
}

.lightbox-thumb-item {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lightbox-thumb-item:hover,
.lightbox-thumb-item.active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.08);
}

.lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================
   Official Casting ID Pass & Digital Membership Card
   ======================================================== */
.casting-id-card {
    background: linear-gradient(145deg, #0d0d12 0%, #171720 100%);
    border: 2px solid #D4AF37;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
}
.casting-id-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* ========================================================
   Official Creator Digital Visiting Card (ඩිජිටල් විසිටින් කාඩ්පත)
   ======================================================== */
.digital-visiting-card {
    background: linear-gradient(135deg, #0c0d13 0%, #171822 50%, #0c0d13 100%);
    border: 2px solid #D4AF37;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.22);
}
.digital-visiting-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.visiting-card-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}
.visiting-card-field:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.45);
}

/* ========================================================
   UNIVERSAL FACEBOOK/INSTAGRAM POST SPOTLIGHT MODAL
   ======================================================== */
.post-spotlight-modal .modal-content {
    background: #0a0c13 !important;
    border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.98), 0 0 50px rgba(212, 175, 55, 0.25);
}

.post-spotlight-dialog {
    max-width: 1020px;
    margin: 1.75rem auto;
}

@media (max-width: 991px) {
    .post-spotlight-dialog {
        max-width: 96vw;
        margin: 0.5rem auto;
    }
}

.spotlight-media-stage {
    background: #000;
    min-height: 460px;
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.spotlight-media-stage video {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: #000;
}

.spotlight-media-stage img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.spotlight-media-stage iframe {
    width: 100%;
    height: 480px;
    border: none;
}

.spotlight-sidebar {
    background: #0e1018;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spotlight-comments-scroll {
    overflow-y: auto;
    max-height: 280px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,175,55,0.4) transparent;
}

.spotlight-comments-scroll::-webkit-scrollbar {
    width: 5px;
}
.spotlight-comments-scroll::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.4);
    border-radius: 10px;
}

.spotlight-action-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.spotlight-action-pill:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    color: #D4AF37;
}
.spotlight-action-pill.liked {
    background: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
    color: #ff4757;
}

/* Tap for Full Pop-up View Hint Pill on Reel Media */
.reel-tap-hint {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 12;
    background: rgba(10, 12, 19, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: auto;
}
.reel-tap-hint:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #D4AF37;
    color: #D4AF37;
    transform: scale(1.05);
}

/* Global Floating Spotlight Close Button */
.spotlight-floating-close-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}
.spotlight-floating-close-btn:hover {
    background: rgba(220, 53, 69, 0.88) !important;
    border-color: #dc3545 !important;
    transform: scale(1.08);
}

/* Post Spotlight Entrance Pop Animation */
.post-spotlight-modal.show .modal-dialog {
    animation: spotlightPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes spotlightPopIn {
    0% {
        opacity: 0;
        transform: scale(0.93) translateY(18px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile & Tablet Optimizations for Spotlight Modal */
@media (max-width: 767.98px) {
    .post-spotlight-dialog {
        max-width: 98vw;
        margin: 0.35rem auto;
    }
    .post-spotlight-modal .modal-content {
        border-radius: 18px !important;
        max-height: 94vh;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .spotlight-media-stage {
        min-height: 220px;
        max-height: 44vh;
    }
    .spotlight-media-stage video,
    .spotlight-media-stage img {
        max-height: 44vh;
    }
    .spotlight-media-stage iframe {
        height: 260px;
    }
    .spotlight-sidebar {
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.25);
        height: auto;
    }
    .spotlight-comments-scroll {
        max-height: 220px;
    }
}


