/* Content Card Styles */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 0;
    transform: translateY(calc(1.25rem * var(--ui-scale)));
}

.content-card:hover {
    transform: translateY(calc(-0.5rem * var(--ui-scale)));
    box-shadow: 0 calc(1.25rem * var(--ui-scale)) calc(2.5rem * var(--ui-scale)) rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-thumbnail {
    position: relative;
    height: var(--card-thumbnail-height);
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.content-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: calc(3.125rem * var(--ui-scale));
    height: calc(3.125rem * var(--ui-scale));
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-black);
    font-size: var(--font-xl);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.content-card:hover .play-icon {
    transform: scale(1);
}

.card-badges {
    position: absolute;
    top: var(--spacing-xs);
    left: var(--spacing-xs);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 4;
    flex-wrap: wrap;
}

.card-badge {
    padding: calc(0.25rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    background: rgba(0, 0, 0, 0.7);
    border-radius: calc(0.75rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.badge-new { background: rgba(29, 78, 216, 0.9); }
.badge-live { background: rgba(239, 68, 68, 0.9); animation: pulse 1.5s infinite; }
.continue-badge { background: rgba(245, 158, 11, 0.9); }

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

.connector-badge {
    padding: calc(0.25rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    background: linear-gradient(135deg, #1D4ED8, #F59E0B);
    border-radius: calc(0.75rem * var(--ui-scale));
    color: white;
    font-size: var(--font-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.card-content {
    padding: var(--spacing-sm);
}

.card-title {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--soft-white);
}

.creator-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.creator-avatar-small {
    width: calc(1.875rem * var(--ui-scale));
    height: calc(1.875rem * var(--ui-scale));
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
    font-weight: bold;
    font-size: var(--font-xs);
    flex-shrink: 0;
}

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

.creator-name-small {
    font-size: var(--font-sm);
    color: var(--slate-grey);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

/* ✅ CONTINUE WATCHING - Progress Bar Styles */
.watch-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.watch-progress-bar {
    height: 100%;
    background: var(--warm-gold);
    border-radius: 0 2px 2px 0;
    transition: width 0.3s ease;
}

/* ✅ RESUME TIME DISPLAY */
.resume-time {
    color: var(--warm-gold);
    font-weight: 600;
    font-size: var(--font-xs);
    display: flex;
    align-items: center;
    gap: 4px;
}

.resume-time i {
    font-size: 10px;
}

.progress-percent {
    color: var(--slate-grey);
    font-size: var(--font-xs);
}

/* Continue Badge */
.continue-badge {
    background: rgba(245, 158, 11, 0.9);
    color: var(--deep-black);
    font-weight: 600;
}

/* ============================================
   PROFILE PICTURE - MOBILE FIXES
   ============================================ */

/* Ensure profile images render on all viewports */
.profile-placeholder img,
.sidebar-profile-avatar img,
#userProfilePlaceholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Force hardware acceleration for smooth rendering on mobile */
.profile-placeholder,
.sidebar-profile-avatar,
#userProfilePlaceholder {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile-specific profile sizing */
@media (max-width: 768px) {
    .profile-placeholder,
    .sidebar-profile-avatar {
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    #userProfilePlaceholder {
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    .profile-placeholder img,
    .sidebar-profile-avatar img {
        min-width: 36px !important;
        min-height: 36px !important;
    }
}

@media (max-width: 480px) {
    .profile-placeholder,
    .sidebar-profile-avatar {
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    #userProfilePlaceholder {
        min-width: 28px !important;
        min-height: 28px !important;
    }
}

/* Ensure profile section is clickable on mobile */
.sidebar-profile,
.profile-switcher {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ============================================
   CINEMATIC CREATOR SPOTLIGHT (HERO SECTION)
   ============================================ */
.cinematic-hero {
    position: relative;
    height: calc(31.25rem * var(--ui-scale));
    border-radius: calc(1.875rem * var(--ui-scale));
    overflow: hidden;
    margin-bottom: calc(3.125rem * var(--ui-scale));
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content-container {
    position: absolute;
    bottom: calc(3.125rem * var(--ui-scale));
    left: calc(3.125rem * var(--ui-scale));
    z-index: 3;
    max-width: calc(43.75rem * var(--ui-scale));
}

.hero-creator-badge {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--ui-scale));
    margin-bottom: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: calc(0.5rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
    border-radius: calc(2.5rem * var(--ui-scale));
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.hero-creator-avatar {
    width: calc(2.5rem * var(--ui-scale));
    height: calc(2.5rem * var(--ui-scale));
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-creator-initials {
    color: white;
    font-weight: bold;
    font-size: var(--font-base);
}

.hero-creator-info {
    display: flex;
    flex-direction: column;
}

.hero-creator-name {
    font-weight: 600;
    color: var(--soft-white);
    font-size: var(--font-base);
}

.hero-creator-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-xs);
}

.hero-trending-badge {
    color: var(--warm-gold);
    display: flex;
    align-items: center;
    gap: calc(0.25rem * var(--ui-scale));
}

.hero-verified-badge {
    color: var(--bantu-blue);
    display: flex;
    align-items: center;
    gap: calc(0.25rem * var(--ui-scale));
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--soft-white), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 0 calc(1.25rem * var(--ui-scale)) rgba(245, 158, 11, 0.3);
}

.hero-subtitle {
    font-size: var(--font-lg);
    color: var(--slate-grey);
    margin-bottom: calc(1.875rem * var(--ui-scale));
    line-height: 1.5;
    max-width: calc(31.25rem * var(--ui-scale));
}

.hero-metrics {
    display: flex;
    gap: calc(1.25rem * var(--ui-scale));
    margin-bottom: calc(1.875rem * var(--ui-scale));
}

.hero-metric {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: calc(0.625rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
    border-radius: calc(1rem * var(--ui-scale));
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: calc(5rem * var(--ui-scale));
}

.hero-metric i {
    color: var(--warm-gold);
    font-size: var(--icon-md);
    margin-bottom: calc(0.25rem * var(--ui-scale));
}

.hero-metric-value {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--soft-white);
}

.hero-metric-label {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
}

.hero-primary-btn {
    background: linear-gradient(135deg, var(--warm-gold), #f97316);
    border: none;
    border-radius: calc(0.75rem * var(--ui-scale));
    padding: calc(0.875rem * var(--ui-scale)) calc(1.875rem * var(--ui-scale));
    color: var(--deep-black);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: var(--font-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-primary-btn:hover {
    transform: translateY(calc(-0.1875rem * var(--ui-scale)));
    box-shadow: 0 calc(0.625rem * var(--ui-scale)) calc(1.875rem * var(--ui-scale)) rgba(245, 158, 11, 0.4);
}

.hero-secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: calc(0.75rem * var(--ui-scale));
    padding: calc(0.875rem * var(--ui-scale)) calc(1.875rem * var(--ui-scale));
    color: var(--soft-white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: var(--font-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(calc(-0.1875rem * var(--ui-scale)));
}

.hero-audio-control {
    position: absolute;
    bottom: calc(3.125rem * var(--ui-scale));
    right: calc(3.125rem * var(--ui-scale));
    width: calc(3.125rem * var(--ui-scale));
    height: calc(3.125rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    font-size: var(--icon-md);
}

.hero-audio-control:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    transform: scale(1.1);
}

.hero-featured-badge {
    position: absolute;
    top: calc(1.875rem * var(--ui-scale));
    right: calc(1.875rem * var(--ui-scale));
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
    padding: calc(0.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));
    border-radius: calc(2.5rem * var(--ui-scale));
    font-size: var(--font-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: 4;
    box-shadow: 0 calc(0.25rem * var(--ui-scale)) calc(1rem * var(--ui-scale)) rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-featured-badge i {
    font-size: var(--icon-sm);
}

/* Featured Creators */
.featured-creators {
    padding: calc(1.25rem * var(--ui-scale)) calc(0.625rem * var(--ui-scale));
    margin-bottom: calc(2.5rem * var(--ui-scale));
}

.creator-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    padding: calc(1.5625rem * var(--ui-scale));
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    height: auto;
    min-height: calc(25rem * var(--ui-scale));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    position: relative;
}

.creator-card:hover {
    transform: translateY(calc(-0.5rem * var(--ui-scale)));
    border-color: rgba(245, 158, 11, 0.3);
}

.creator-avatar {
    width: calc(8.125rem * var(--ui-scale));
    height: calc(8.125rem * var(--ui-scale));
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: calc(0.25rem * var(--ui-scale)) solid var(--warm-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
}

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

.creator-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: calc(3rem * var(--ui-scale));
    font-weight: bold;
}

.founder-badge {
    background: linear-gradient(135deg, var(--warm-gold), #f97316);
    color: var(--deep-black);
    padding: calc(0.25rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    border-radius: calc(0.75rem * var(--ui-scale));
    font-size: var(--font-xs);
    font-weight: bold;
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
}

.creator-name {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-white);
}

.creator-username {
    color: var(--warm-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.creator-bio {
    color: var(--slate-grey);
    font-size: var(--font-sm);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creator-stats {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--warm-gold);
}

.stat-label {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

.creator-actions {
    display: flex;
    gap: var(--spacing-xs);
    width: 100%;
}

.view-channel-btn {
    background: linear-gradient(135deg, var(--warm-gold), #f97316);
    color: var(--deep-black);
    border: none;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: calc(0.625rem * var(--ui-scale));
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
    font-size: var(--font-sm);
}

.view-channel-btn:hover {
    transform: translateY(calc(-0.125rem * var(--ui-scale)));
    box-shadow: 0 calc(0.25rem * var(--ui-scale)) var(--spacing-sm) rgba(245, 158, 11, 0.4);
}

.tip-creator-btn {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--warm-gold);
    color: var(--warm-gold);
    width: calc(2.5rem * var(--ui-scale));
    height: calc(2.5rem * var(--ui-scale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--icon-sm);
    border: none;
}

.tip-creator-btn:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    transform: scale(1.1);
}

/* Language Filter Bar */
.language-filter-bar {
    background: rgba(10, 14, 18, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: calc(2.5rem * var(--ui-scale));
    margin: calc(1.25rem * var(--ui-scale)) calc(2.5rem * var(--ui-scale)) calc(0.625rem * var(--ui-scale));
    padding: calc(0.625rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));
}

.language-filter-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    overflow-x: auto;
    white-space: nowrap;
}

.language-filter-container::-webkit-scrollbar {
    height: 4px;
}

.language-filter-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.language-filter-container::-webkit-scrollbar-thumb {
    background: var(--warm-gold);
    border-radius: 10px;
}

.language-filter-container i {
    color: var(--warm-gold);
    font-size: var(--icon-md);
}

.language-filter-label {
    color: var(--soft-white);
    font-size: var(--font-sm);
    font-weight: 500;
}

.language-chips {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: nowrap;
}

.language-chip {
    padding: calc(0.375rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(1.875rem * var(--ui-scale));
    color: var(--slate-grey);
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.language-chip:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--warm-gold);
    color: var(--soft-white);
}

.language-chip.active {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
    border-color: transparent;
}

.language-chip-more {
    padding: calc(0.375rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--card-border);
    border-radius: calc(1.875rem * var(--ui-scale));
    color: var(--slate-grey);
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-chip-more:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--soft-white);
}

/* Community Stats Bar */
.community-stats-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(10, 14, 18, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: calc(3.75rem * var(--ui-scale));
    margin: calc(1.25rem * var(--ui-scale)) calc(2.5rem * var(--ui-scale)) calc(1.875rem * var(--ui-scale));
    padding: calc(0.9375rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));
}

.community-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.community-stat i {
    color: var(--warm-gold);
    font-size: var(--icon-lg);
}

.community-stat-value {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--soft-white);
}

.community-stat-label {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

/* RSA Badge */
.rsa-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, #007A4D, #FFB81C, #E03C31);
    padding: calc(0.375rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    border-radius: calc(1.875rem * var(--ui-scale));
    color: white;
    font-size: var(--font-xs);
    font-weight: 600;
    margin-left: var(--spacing-xs);
}

/* Events Section */
.events-section {
    margin-bottom: calc(2.5rem * var(--ui-scale));
}

.event-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.25rem * var(--ui-scale));
    padding: calc(1.25rem * var(--ui-scale));
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(calc(-0.3125rem * var(--ui-scale)));
    border-color: rgba(245, 158, 11, 0.3);
}

.event-header {
    margin-bottom: var(--spacing-sm);
}

.event-title {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-white);
}

.event-time {
    color: var(--warm-gold);
    font-size: var(--font-sm);
    font-weight: 600;
}

.event-description {
    color: var(--slate-grey);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.event-actions {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.reminder-btn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warm-gold);
    color: var(--warm-gold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: calc(0.5rem * var(--ui-scale));
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    border: none;
}

.reminder-btn:hover {
    background: rgba(245, 158, 11, 0.2);
}

.event-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.event-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: calc(0.25rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    border-radius: calc(0.75rem * var(--ui-scale));
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

/* Shorts Section */
.shorts-container {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding: calc(1.25rem * var(--ui-scale)) calc(0.625rem * var(--ui-scale));
}

.shorts-container::-webkit-scrollbar {
    height: 6px;
}

.shorts-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.shorts-container::-webkit-scrollbar-thumb {
    background: var(--warm-gold);
    border-radius: 10px;
}

.short-card {
    flex: 0 0 auto;
    width: calc(11.25rem * var(--ui-scale));
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.25rem * var(--ui-scale));
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.short-card:hover {
    transform: translateY(calc(-0.5rem * var(--ui-scale)));
    border-color: var(--warm-gold);
}

.short-thumbnail {
    position: relative;
    height: calc(18.75rem * var(--ui-scale));
    overflow: hidden;
}

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

.short-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.short-card:hover .short-overlay {
    opacity: 1;
}

.short-overlay i {
    color: white;
    font-size: calc(2.5rem * var(--ui-scale));
}

.short-info {
    padding: var(--spacing-sm);
}

.short-info h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.short-info p {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

/* Navigation Button */
.navigation-button-container {
    position: fixed;
    bottom: calc(1.875rem * var(--ui-scale));
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 98;
    pointer-events: none;
}

.navigation-button {
    background: rgba(10, 14, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: calc(3.75rem * var(--ui-scale));
    padding: calc(0.625rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));
    display: inline-flex;
    gap: var(--spacing-xs);
    box-shadow: 0 calc(0.625rem * var(--ui-scale)) calc(1.875rem * var(--ui-scale)) rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.nav-icon {
    width: calc(2.75rem * var(--ui-scale));
    height: calc(2.75rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--icon-lg);
    position: relative;
}

.nav-icon:hover {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    transform: translateY(calc(-0.3125rem * var(--ui-scale)));
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: calc(7.5rem * var(--ui-scale));
    right: calc(1.875rem * var(--ui-scale));
    width: calc(3.125rem * var(--ui-scale));
    height: calc(3.125rem * var(--ui-scale));
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 97;
    font-size: var(--icon-md);
}

.back-to-top:hover {
    transform: translateY(calc(-0.3125rem * var(--ui-scale)));
}

/* Analytics Modal */
.analytics-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.analytics-modal.active {
    opacity: 1;
    visibility: visible;
}

.analytics-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.5rem * var(--ui-scale));
    max-width: calc(37.5rem * var(--ui-scale));
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.analytics-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.analytics-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-xl);
    background: linear-gradient(135deg, var(--soft-white), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-search-btn {
    width: calc(2.5rem * var(--ui-scale));
    height: calc(2.5rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    color: var(--soft-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--icon-md);
}

.close-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--warm-gold);
}

.analytics-body {
    padding: var(--spacing-lg);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.analytics-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: calc(1rem * var(--ui-scale));
    padding: var(--spacing-sm);
    text-align: center;
}

.analytics-card h3 {
    font-size: var(--font-sm);
    color: var(--slate-grey);
    margin-bottom: var(--spacing-xs);
}

.analytics-value {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--warm-gold);
    margin-bottom: var(--spacing-xs);
}

.analytics-trend {
    font-size: var(--font-xs);
    color: var(--success-color);
}

/* ============================================
   SEARCH MODAL - ENHANCED STYLES
   ============================================ */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    padding: var(--spacing-lg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-header {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    max-width: calc(50rem * var(--ui-scale));
    margin-left: auto;
    margin-right: auto;
}

.search-input-container {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-grey);
    font-size: var(--icon-base);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) calc(2.8125rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.75rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-base);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--warm-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.voice-search-btn {
    position: absolute;
    right: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--slate-grey);
    font-size: var(--icon-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.voice-search-btn:hover {
    color: var(--warm-gold);
}

.search-filters {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: calc(1.875rem * var(--ui-scale));
    max-width: calc(50rem * var(--ui-scale));
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: calc(8rem * var(--ui-scale));
}

.filter-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

.filter-select {
    width: 100%;
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-sm);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--warm-gold);
}

/* ============================================
   SEARCH RESULTS - ENHANCED STYLES
   ============================================ */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(12.5rem * var(--ui-scale)), 1fr));
    gap: calc(1.25rem * var(--ui-scale));
    max-width: calc(75rem * var(--ui-scale));
    margin: 0 auto;
}

.search-result-card {
    animation: fadeInUp 0.4s ease-out forwards;
}

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

/* Search results header */
.search-results-grid > div:first-child {
    grid-column: 1 / -1;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1rem;
}

/* Search loading state */
.search-results-grid .infinite-scroll-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--slate-grey);
}

/* Search empty state */
.search-results-grid .empty-state {
    grid-column: 1 / -1;
    padding: 3rem;
}

/* Search result count */
.search-result-count {
    grid-column: 1 / -1;
    color: var(--slate-grey);
    font-size: var(--font-sm);
    margin-bottom: 1rem;
}

/* Highlighted search text */
.search-results-grid mark {
    background: rgba(245, 158, 11, 0.3);
    color: var(--soft-white);
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Mobile search optimization */
@media (max-width: 768px) {
    .search-modal {
        padding: var(--spacing-sm);
    }
    
    .search-modal-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .search-filters {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(calc(10rem * var(--ui-scale)), 1fr));
        gap: calc(0.75rem * var(--ui-scale));
    }
}

@media (max-width: 480px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(0.5rem * var(--ui-scale));
    }
    
    .search-input {
        font-size: var(--font-sm);
    }
}

/* Notifications Panel */
.notifications-panel {
    position: fixed;
    top: 0;
    right: calc(-25rem * var(--ui-scale));
    width: calc(23.75rem * var(--ui-scale));
    height: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.notifications-panel.active {
    right: 0;
}

.notifications-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-lg);
    color: var(--soft-white);
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-lg);
}

.notification-item {
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: calc(0.75rem * var(--ui-scale));
    margin-bottom: var(--spacing-xs);
    display: flex;
    gap: var(--spacing-sm);
    position: relative;
}

.notification-item.unread {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warm-gold);
}

.notification-icon {
    width: calc(2.25rem * var(--ui-scale));
    height: calc(2.25rem * var(--ui-scale));
    border-radius: 50%;
    background: var(--bantu-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-white);
}

.notification-content p {
    font-size: var(--font-xs);
    color: var(--slate-grey);
    margin-bottom: var(--spacing-xs);
}

.notification-time {
    font-size: calc(0.625rem * var(--ui-scale));
    color: var(--warm-gold);
}

.notification-dot {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: calc(0.5rem * var(--ui-scale));
    height: calc(0.5rem * var(--ui-scale));
    border-radius: 50%;
    background: var(--warm-gold);
}

.empty-notifications {
    text-align: center;
    padding: calc(2.5rem * var(--ui-scale));
    color: var(--slate-grey);
}

.empty-notifications i {
    font-size: var(--font-4xl);
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.notifications-footer {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: var(--spacing-sm);
}

.text-btn {
    background: none;
    border: none;
    color: var(--slate-grey);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: var(--font-sm);
}

.text-btn:hover {
    color: var(--warm-gold);
}

/* ============================================
   THEME SELECTOR - FIXED & ENHANCED VERSION
   ============================================ */
.theme-selector {
    position: fixed;
    bottom: calc(6.25rem * var(--ui-scale));
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: calc(0.75rem * var(--ui-scale));
    padding: var(--spacing-xs);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 99999 !important; /* Ultra high z-index */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.theme-selector.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important; /* Force enable */
}

.theme-option {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    cursor: pointer !important; /* Force cursor */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-sm);
    border: none;
    pointer-events: auto !important; /* Force clickable */
    position: relative;
    z-index: 100000 !important; /* Higher than parent */
}

.theme-option:hover {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    transform: translateY(calc(-0.125rem * var(--ui-scale)));
}

.theme-option.active {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    border-color: var(--warm-gold);
}

/* Ensure sidebar overlay doesn't block theme selector */
.sidebar-overlay.active ~ .theme-selector {
    z-index: 99999 !important;
}

/* Watch Party Modal */
.watch-party-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.watch-party-modal.active {
    opacity: 1;
    visibility: visible;
}

.watch-party-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.5rem * var(--ui-scale));
    max-width: calc(50rem * var(--ui-scale));
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.watch-party-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.watch-party-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-xl);
    color: var(--soft-white);
}

.close-btn {
    background: none;
    border: none;
    color: var(--slate-grey);
    font-size: var(--icon-lg);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--warm-gold);
}

.watch-party-body {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.watch-party-content-selector h3,
.watch-party-settings h3 {
    font-size: var(--font-base);
    margin-bottom: var(--spacing-sm);
    color: var(--soft-white);
}

.watch-party-search {
    margin-bottom: var(--spacing-sm);
}

.watch-party-search input {
    width: 100%;
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-sm);
}

.watch-party-content-list {
    max-height: calc(18.75rem * var(--ui-scale));
    overflow-y: auto;
}

.watch-party-content-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
    border-radius: calc(0.5rem * var(--ui-scale));
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: var(--spacing-xs);
}

.watch-party-content-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.watch-party-content-item.selected {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--warm-gold);
}

.watch-party-content-item img {
    width: calc(3.125rem * var(--ui-scale));
    height: calc(3.125rem * var(--ui-scale));
    border-radius: calc(0.5rem * var(--ui-scale));
    object-fit: cover;
}

.watch-party-content-info h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--soft-white);
    margin-bottom: var(--spacing-xs);
}

.watch-party-content-info p {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

.setting-item {
    margin-bottom: var(--spacing-sm);
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--soft-white);
    cursor: pointer;
}

.invite-friends {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.invite-friends input {
    flex: 1;
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.375rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-sm);
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--warm-gold);
    border: none;
    border-radius: calc(0.375rem * var(--ui-scale));
    color: var(--deep-black);
    font-weight: 600;
    cursor: pointer;
    font-size: var(--font-sm);
}

.watch-party-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

.primary-btn {
    padding: var(--spacing-sm) calc(1.5625rem * var(--ui-scale));
    background: linear-gradient(135deg, var(--warm-gold), #f97316);
    border: none;
    border-radius: calc(0.625rem * var(--ui-scale));
    color: var(--deep-black);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-sm);
}

.primary-btn:hover {
    transform: translateY(calc(-0.1875rem * var(--ui-scale)));
    box-shadow: 0 calc(0.3125rem * var(--ui-scale)) var(--spacing-sm) rgba(245, 158, 11, 0.4);
}

.secondary-btn {
    padding: var(--spacing-sm) calc(1.5625rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.625rem * var(--ui-scale));
    color: var(--soft-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-sm);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Tip Modal */
.tip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tip-modal.active {
    opacity: 1;
    visibility: visible;
}

.tip-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.5rem * var(--ui-scale));
    max-width: calc(25rem * var(--ui-scale));
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.tip-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tip-body {
    padding: var(--spacing-lg);
}

.creator-info-tip {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.tip-amounts h3,
.tip-message h3 {
    font-size: var(--font-base);
    margin-bottom: var(--spacing-sm);
    color: var(--soft-white);
}

.tip-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.tip-option {
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-sm);
    border: none;
}

.tip-option:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--warm-gold);
}

.tip-option.selected {
    background: var(--warm-gold);
    color: var(--deep-black);
}

.custom-amount {
    margin-bottom: var(--spacing-lg);
}

.custom-amount input {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    font-size: var(--font-sm);
}

.tip-message textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(0.5rem * var(--ui-scale));
    color: var(--soft-white);
    min-height: calc(5rem * var(--ui-scale));
    resize: vertical;
    font-size: var(--font-sm);
}

.tip-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: flex-end;
}

/* Badges Modal */
.badges-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.badges-modal.active {
    opacity: 1;
    visibility: visible;
}

.badges-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(1.5rem * var(--ui-scale));
    max-width: calc(37.5rem * var(--ui-scale));
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.badges-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badges-body {
    padding: var(--spacing-lg);
}

.badges-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: calc(1.875rem * var(--ui-scale));
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(1rem * var(--ui-scale));
}

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

.badge-stat-value {
    display: block;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--warm-gold);
}

.badge-stat-label {
    font-size: var(--font-xs);
    color: var(--slate-grey);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: calc(0.75rem * var(--ui-scale));
    transition: all 0.3s ease;
}

.badge-item.earned {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warm-gold);
}

.badge-item.locked {
    opacity: 0.6;
}

.badge-icon {
    width: calc(3.125rem * var(--ui-scale));
    height: calc(3.125rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    color: var(--slate-grey);
}

.badge-icon.earned {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
}

.badge-info {
    flex: 1;
}

.badge-info h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-white);
}

.badge-info p {
    font-size: var(--font-xs);
    color: var(--slate-grey);
    margin-bottom: var(--spacing-xs);
}

.badge-earned-date {
    font-size: calc(0.625rem * var(--ui-scale));
    color: var(--warm-gold);
}

/* Voice Search Status */
.voice-search-status {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--warm-gold);
    border-radius: calc(3.75rem * var(--ui-scale));
    padding: var(--spacing-lg) calc(2.5rem * var(--ui-scale));
    z-index: 2000;
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
}

.voice-search-status.active {
    display: flex;
    animation: pulse 1.5s infinite;
}

.voice-status-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--soft-white);
    font-size: var(--font-lg);
}

.voice-status-content i {
    color: var(--warm-gold);
    font-size: var(--icon-xl);
}

/* Profile Switcher */
.profile-switcher {
    position: relative;
    margin-right: var(--spacing-xs);
}

.profile-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: calc(2.5rem * var(--ui-scale));
    padding: calc(0.3125rem * var(--ui-scale)) var(--spacing-sm) calc(0.3125rem * var(--ui-scale)) calc(0.3125rem * var(--ui-scale));
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--warm-gold);
}

.profile-placeholder {
    width: calc(2.25rem * var(--ui-scale));
    height: calc(2.25rem * var(--ui-scale));
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-sm);
    overflow: hidden;
}

.profile-name {
    color: var(--soft-white);
    font-size: var(--font-sm);
    font-weight: 500;
}

.profile-dropdown {
    position: absolute;
    top: calc(3.75rem * var(--ui-scale));
    right: 0;
    width: calc(15.625rem * var(--ui-scale));
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: calc(0.75rem * var(--ui-scale));
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-0.625rem * var(--ui-scale)));
    transition: all 0.3s ease;
    z-index: 100;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--card-border);
}

.profile-list {
    padding: var(--spacing-xs);
}

.profile-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
    border-radius: calc(0.5rem * var(--ui-scale));
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-item.active {
    background: rgba(245, 158, 11, 0.1);
}

.profile-avatar-small {
    width: calc(2rem * var(--ui-scale));
    height: calc(2rem * var(--ui-scale));
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: var(--font-sm);
}

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

.profile-item .profile-name {
    flex: 1;
    font-size: var(--font-sm);
}

.profile-item i {
    color: var(--warm-gold);
    font-size: var(--icon-xs);
}

.profile-dropdown-footer {
    padding: var(--spacing-xs);
    border-top: 1px solid var(--card-border);
}

/* Creator Initials Small */
.creator-initials-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    color: white;
    font-weight: bold;
    font-size: var(--font-xs);
    border-radius: 50%;
}

/* Skeleton Loading */
.skeleton-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    overflow: hidden;
    animation: skeleton-pulse 1.5s infinite;
}

.skeleton-thumbnail {
    height: var(--card-thumbnail-height);
    background: rgba(255, 255, 255, 0.1);
}

.skeleton-title {
    height: calc(1.25rem * var(--ui-scale));
    margin: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 80%;
}

.skeleton-creator {
    height: calc(0.9375rem * var(--ui-scale));
    margin: 0 var(--spacing-sm) var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 50%;
}

@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Infinite Scroll */
.infinite-scroll-loading {
    text-align: center;
    padding: calc(2.5rem * var(--ui-scale));
    color: var(--slate-grey);
}

.infinite-scroll-spinner {
    width: calc(2.5rem * var(--ui-scale));
    height: calc(2.5rem * var(--ui-scale));
    border: 3px solid rgba(245, 158, 11, 0.2);
    border-top-color: var(--warm-gold);
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    animation: spin 1s linear infinite;
}

.infinite-scroll-end {
    text-align: center;
    padding: calc(1.875rem * var(--ui-scale));
    color: var(--slate-grey);
}

/* Hamburger Menu Button */
.menu-toggle {
    width: calc(2.375rem * var(--ui-scale));
    height: calc(2.375rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--icon-lg);
    margin-right: var(--spacing-xs);
    border: none;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(calc(-0.125rem * var(--ui-scale)));
}

/* ============================================
   UI SCALE CONTROL - REMOVED FLOATING CONTROL
   ============================================ */
/* The floating UI scale control has been removed.
   Scale controls now only exist in the sidebar footer. 
   Search for .ui-scale-control in HTML and remove it. */

/* Sidebar Styles - FIXED SCROLLABLE SIDEBAR */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Make sidebar menu flex container */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: calc(-20rem * var(--ui-scale));
    width: calc(18rem * var(--ui-scale));
    height: 100vh;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--card-border);
    z-index: 1001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent body scroll */
    padding: calc(1.25rem * var(--ui-scale));
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: calc(1.25rem * var(--ui-scale));
    border-bottom: 1px solid var(--card-border);
    margin-bottom: calc(1.25rem * var(--ui-scale));
    flex-shrink: 0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--ui-scale));
    cursor: pointer;
}

.sidebar-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-lg);
    font-weight: 700;
    background: linear-gradient(to right, var(--soft-white), var(--bantu-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sidebar-close {
    width: calc(2.25rem * var(--ui-scale));
    height: calc(2.25rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--icon-md);
    border: none;
}

.sidebar-close:hover {
    background: var(--error-color);
}

/* Sidebar Profile - FIXED OVERFLOW */
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--ui-scale));
    padding: calc(0.75rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(0.75rem * var(--ui-scale));
    margin-bottom: calc(1.25rem * var(--ui-scale));
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    min-width: 0; /* Allow text truncation */
}

.sidebar-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-profile-avatar {
    width: calc(2.75rem * var(--ui-scale));
    height: calc(2.75rem * var(--ui-scale));
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: var(--font-base);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.sidebar-profile-info {
    flex: 1;
    min-width: 0; /* Allow text truncation */
    overflow: hidden;
}

.sidebar-profile-name {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--soft-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-email {
    font-size: var(--font-xs);
    color: var(--slate-grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make navigation area scrollable */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px; /* Space for scrollbar */
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem * var(--ui-scale));
}

/* Style scrollbar for sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--warm-gold);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--bantu-blue);
}

/* Firefox scrollbar support */
.sidebar-nav {
    scrollbar-width: thin;
    scrollbar-color: var(--warm-gold) transparent;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: calc(0.75rem * var(--ui-scale));
    padding: calc(0.875rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
    border-radius: calc(0.75rem * var(--ui-scale));
    color: var(--soft-white);
    text-decoration: none;
    font-size: var(--font-base);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(calc(0.25rem * var(--ui-scale)));
}

.sidebar-nav-item.active {
    background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
}

.sidebar-nav-item i {
    width: calc(1.25rem * var(--ui-scale));
    text-align: center;
    font-size: var(--icon-md);
    flex-shrink: 0;
}

.sidebar-nav-item .badge {
    margin-left: auto;
    background: var(--error-color);
    color: white;
    font-size: calc(0.625rem * var(--ui-scale));
    padding: calc(0.125rem * var(--ui-scale)) calc(0.5rem * var(--ui-scale));
    border-radius: calc(0.625rem * var(--ui-scale));
    flex-shrink: 0;
}

/* Keep footer fixed at bottom */
.sidebar-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: calc(1.25rem * var(--ui-scale));
    border-top: 1px solid var(--card-border);
    padding-bottom: max(calc(1rem * var(--ui-scale)), env(safe-area-inset-bottom));
}

/* Sidebar Theme Toggle - Ensure Clickable */
.sidebar-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.75rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(0.75rem * var(--ui-scale));
    cursor: pointer;
    transition: background 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    margin-bottom: calc(0.75rem * var(--ui-scale));
}

.sidebar-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-scale-control {
    padding: calc(0.75rem * var(--ui-scale));
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(0.75rem * var(--ui-scale));
}

.scale-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(0.5rem * var(--ui-scale));
}

.scale-control-row:last-child {
    margin-bottom: 0;
}

.scale-btn {
    width: calc(2rem * var(--ui-scale));
    height: calc(2rem * var(--ui-scale));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    color: var(--soft-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: var(--font-sm);
    border: none;
    flex-shrink: 0;
}

.scale-btn:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    transform: scale(1.1);
}

.scale-value {
    font-size: var(--font-sm);
    color: var(--soft-white);
    min-width: calc(3rem * var(--ui-scale));
    text-align: center;
    font-weight: 600;
}

/* ============================================
   CINEMATIC HERO SECTION - MOBILE OPTIMIZED
   ============================================ */

/* Desktop styles remain unchanged - only adding mobile overrides */

@media (max-width: 768px) {
    /* Hero Section Container - 35% Scale */
    .cinematic-hero {
        height: calc(18.75rem * var(--ui-scale)); /* Reduced from 31.25rem */
        border-radius: calc(1.125rem * var(--ui-scale));
        margin-bottom: calc(1.875rem * var(--ui-scale));
    }
    
    /* Hero Content Container - Repositioned for mobile */
    .hero-content-container {
        position: absolute;
        bottom: calc(1.25rem * var(--ui-scale));
        left: calc(1.25rem * var(--ui-scale));
        right: calc(1.25rem * var(--ui-scale));
        z-index: 3;
        max-width: 100%;
        transform: scale(0.85);
        transform-origin: bottom left;
    }
    
    /* Creator Badge - 35% Scale */
    .hero-creator-badge {
        display: flex;
        align-items: center;
        gap: calc(0.4rem * var(--ui-scale));
        margin-bottom: calc(0.6rem * var(--ui-scale));
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        padding: calc(0.3rem * var(--ui-scale)) calc(0.6rem * var(--ui-scale));
        border-radius: calc(1.5rem * var(--ui-scale));
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: fit-content;
        transform: scale(0.85);
        transform-origin: left center;
    }
    
    .hero-creator-avatar {
        width: calc(1.5rem * var(--ui-scale)); /* Reduced from 2.5rem */
        height: calc(1.5rem * var(--ui-scale));
        border-radius: 50%;
        overflow: hidden;
        background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-creator-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-creator-initials {
        color: white;
        font-weight: bold;
        font-size: calc(0.6rem * var(--ui-scale));
    }
    
    .hero-creator-info {
        display: flex;
        flex-direction: column;
    }
    
    .hero-creator-name {
        font-weight: 600;
        color: var(--soft-white);
        font-size: calc(0.65rem * var(--ui-scale)); /* Reduced from 1rem */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(10rem * var(--ui-scale));
    }
    
    .hero-creator-meta {
        display: flex;
        align-items: center;
        gap: calc(0.2rem * var(--ui-scale));
        font-size: calc(0.5rem * var(--ui-scale));
        flex-wrap: wrap;
    }
    
    .hero-trending-badge {
        color: var(--warm-gold);
        display: flex;
        align-items: center;
        gap: calc(0.15rem * var(--ui-scale));
        font-size: calc(0.5rem * var(--ui-scale));
    }
    
    .hero-trending-badge i {
        font-size: calc(0.4rem * var(--ui-scale));
    }
    
    .hero-verified-badge {
        color: var(--bantu-blue);
        display: flex;
        align-items: center;
        gap: calc(0.15rem * var(--ui-scale));
        font-size: calc(0.5rem * var(--ui-scale));
    }
    
    /* Hero Title - 35% Scale */
    .hero-title {
        font-family: 'Orbitron', sans-serif;
        font-size: calc(1.1rem * var(--ui-scale)); /* Reduced from 2.25rem */
        font-weight: 700;
        background: linear-gradient(135deg, var(--soft-white), var(--warm-gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: calc(0.6rem * var(--ui-scale));
        text-shadow: 0 0 calc(0.75rem * var(--ui-scale)) rgba(245, 158, 11, 0.3);
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    /* Hero Subtitle - 35% Scale */
    .hero-subtitle {
        font-size: calc(0.65rem * var(--ui-scale)); /* Reduced from 1.125rem */
        color: var(--slate-grey);
        margin-bottom: calc(0.9rem * var(--ui-scale));
        line-height: 1.4;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Hero Metrics - 35% Scale */
    .hero-metrics {
        display: flex;
        gap: calc(0.5rem * var(--ui-scale));
        margin-bottom: calc(0.9rem * var(--ui-scale));
        flex-wrap: wrap;
    }
    
    .hero-metric {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        padding: calc(0.35rem * var(--ui-scale)) calc(0.5rem * var(--ui-scale));
        border-radius: calc(0.6rem * var(--ui-scale));
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-width: calc(3.5rem * var(--ui-scale));
    }
    
    .hero-metric i {
        color: var(--warm-gold);
        font-size: calc(0.6rem * var(--ui-scale));
        margin-bottom: calc(0.1rem * var(--ui-scale));
    }
    
    .hero-metric-value {
        font-size: calc(0.75rem * var(--ui-scale)); /* Reduced from 1.125rem */
        font-weight: 700;
        color: var(--soft-white);
    }
    
    .hero-metric-label {
        font-size: calc(0.45rem * var(--ui-scale)); /* Reduced from 0.75rem */
        color: var(--slate-grey);
    }
    
    /* Hero Actions - 35% Scale */
    .hero-actions {
        display: flex;
        gap: calc(0.6rem * var(--ui-scale));
        flex-wrap: wrap;
    }
    
    .hero-primary-btn {
        background: linear-gradient(135deg, var(--warm-gold), #f97316);
        border: none;
        border-radius: calc(0.45rem * var(--ui-scale));
        padding: calc(0.5rem * var(--ui-scale)) calc(0.9rem * var(--ui-scale));
        color: var(--deep-black);
        font-family: 'Orbitron', sans-serif;
        font-weight: 600;
        font-size: calc(0.6rem * var(--ui-scale)); /* Reduced from 1rem */
        display: inline-flex;
        align-items: center;
        gap: calc(0.2rem * var(--ui-scale));
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .hero-primary-btn i {
        font-size: calc(0.5rem * var(--ui-scale));
    }
    
    .hero-primary-btn:hover {
        transform: translateY(calc(-0.1rem * var(--ui-scale)));
        box-shadow: 0 calc(0.3rem * var(--ui-scale)) calc(0.9rem * var(--ui-scale)) rgba(245, 158, 11, 0.4);
    }
    
    .hero-secondary-btn {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: calc(0.45rem * var(--ui-scale));
        padding: calc(0.5rem * var(--ui-scale)) calc(0.9rem * var(--ui-scale));
        color: var(--soft-white);
        font-family: 'Orbitron', sans-serif;
        font-weight: 600;
        font-size: calc(0.6rem * var(--ui-scale));
        display: inline-flex;
        align-items: center;
        gap: calc(0.2rem * var(--ui-scale));
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .hero-secondary-btn i {
        font-size: calc(0.5rem * var(--ui-scale));
    }
    
    .hero-secondary-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(calc(-0.1rem * var(--ui-scale)));
    }
    
    /* Hero Audio Control - 35% Scale */
    .hero-audio-control {
        position: absolute;
        bottom: calc(1.5rem * var(--ui-scale));
        right: calc(1.5rem * var(--ui-scale));
        width: calc(2rem * var(--ui-scale)); /* Reduced from 3.125rem */
        height: calc(2rem * var(--ui-scale));
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--soft-white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 4;
        font-size: calc(0.7rem * var(--ui-scale));
    }
    
    .hero-audio-control:hover {
        background: var(--warm-gold);
        color: var(--deep-black);
        transform: scale(1.1);
    }
    
    /* Hero Featured Badge - 35% Scale */
    .hero-featured-badge {
        position: absolute;
        top: calc(0.9rem * var(--ui-scale)); /* Reduced from 1.875rem */
        right: calc(0.9rem * var(--ui-scale));
        background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
        color: white;
        padding: calc(0.25rem * var(--ui-scale)) calc(0.6rem * var(--ui-scale));
        border-radius: calc(1.5rem * var(--ui-scale));
        font-size: calc(0.5rem * var(--ui-scale)); /* Reduced from 0.875rem */
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: calc(0.2rem * var(--ui-scale));
        z-index: 4;
        box-shadow: 0 calc(0.15rem * var(--ui-scale)) calc(0.5rem * var(--ui-scale)) rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        max-width: calc(12rem * var(--ui-scale));
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-featured-badge i {
        font-size: calc(0.4rem * var(--ui-scale));
    }
}

/* Extra Small Mobile Devices - Additional Reduction */
@media (max-width: 480px) {
    .cinematic-hero {
        height: calc(15.625rem * var(--ui-scale));
    }
    
    .hero-content-container {
        transform: scale(0.75);
        transform-origin: bottom left;
        bottom: calc(0.9rem * var(--ui-scale));
        left: calc(0.9rem * var(--ui-scale));
    }
    
    .hero-creator-badge {
        transform: scale(0.75);
        transform-origin: left center;
    }
    
    .hero-title {
        font-size: calc(0.95rem * var(--ui-scale));
    }
    
    .hero-subtitle {
        font-size: calc(0.55rem * var(--ui-scale));
    }
    
    .hero-metric {
        min-width: calc(3rem * var(--ui-scale));
        padding: calc(0.25rem * var(--ui-scale)) calc(0.4rem * var(--ui-scale));
    }
    
    .hero-metric-value {
        font-size: calc(0.65rem * var(--ui-scale));
    }
    
    .hero-metric-label {
        font-size: calc(0.4rem * var(--ui-scale));
    }
    
    .hero-primary-btn,
    .hero-secondary-btn {
        font-size: calc(0.55rem * var(--ui-scale));
        padding: calc(0.4rem * var(--ui-scale)) calc(0.7rem * var(--ui-scale));
    }
    
    .hero-featured-badge {
        font-size: calc(0.45rem * var(--ui-scale));
        padding: calc(0.2rem * var(--ui-scale)) calc(0.5rem * var(--ui-scale));
    }
}

/* Landscape Mobile - Adjust Layout */
@media (max-width: 768px) and (orientation: landscape) {
    .cinematic-hero {
        height: calc(15.625rem * var(--ui-scale));
    }
    
    .hero-content-container {
        bottom: calc(0.9rem * var(--ui-scale));
        left: calc(0.9rem * var(--ui-scale));
        right: auto;
        max-width: calc(50% * var(--ui-scale));
    }
    
    .hero-subtitle {
        display: none; /* Hide subtitle in landscape to save space */
    }
    
    .hero-metrics {
        gap: calc(0.3rem * var(--ui-scale));
    }
    
    .hero-metric {
        min-width: calc(2.5rem * var(--ui-scale));
    }
}

/* ============================================
   MOBILE RESPONSIVE - YOUTUBE STYLE
   ============================================ */
@media (max-width: 768px) {
    .video-hero-section { height: calc(25rem * var(--ui-scale)); }
    .search-filters { flex-direction: column; }
    .watch-party-body { grid-template-columns: 1fr; }
    .badges-grid { grid-template-columns: 1fr; }
    .language-filter-bar { margin: calc(0.625rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale)); }
    .community-stats-bar { flex-wrap: wrap; gap: var(--spacing-sm); }
    .profile-switcher { display: none; }
    .sidebar-menu { width: calc(16rem * var(--ui-scale)); }
    
    /* Hero section responsive adjustments */
    .cinematic-hero {
        height: calc(25rem * var(--ui-scale));
    }
    
    .hero-content-container {
        left: calc(1.25rem * var(--ui-scale));
        bottom: calc(1.875rem * var(--ui-scale));
    }
    
    .hero-title {
        font-size: var(--font-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-base);
    }
    
    .hero-metrics {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-featured-badge {
        font-size: var(--font-xs);
        padding: calc(0.375rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    }

    /* Mobile profile sizing adjustments */
    .sidebar-profile-avatar {
        width: calc(2.5rem * var(--ui-scale));
        height: calc(2.5rem * var(--ui-scale));
    }

    /* Sidebar mobile adjustments */
    .sidebar-menu {
        width: 280px;
        max-width: 85vw;
    }
    
    .sidebar-profile {
        margin: calc(0.75rem * var(--ui-scale));
        padding: calc(0.75rem * var(--ui-scale));
    }
    
    .sidebar-profile-avatar {
        width: calc(2.5rem * var(--ui-scale));
        height: calc(2.5rem * var(--ui-scale));
    }
    
    .sidebar-profile-name {
        font-size: var(--font-sm);
    }
    
    .sidebar-profile-email {
        font-size: calc(0.6875rem * var(--ui-scale));
    }
    
    .sidebar-nav-item {
        padding: calc(0.75rem * var(--ui-scale)) calc(0.875rem * var(--ui-scale));
        font-size: var(--font-sm);
    }
    
    .sidebar-footer {
        padding: calc(0.75rem * var(--ui-scale));
    }
    
    .sidebar-theme-toggle,
    .sidebar-scale-control {
        padding: calc(0.625rem * var(--ui-scale));
    }
    
    .scale-btn {
        width: calc(1.75rem * var(--ui-scale));
        height: calc(1.75rem * var(--ui-scale));
    }
    
    .profile-placeholder,
    .sidebar-profile-avatar {
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    #userProfilePlaceholder {
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

@media (max-width: 480px) {
    .tip-options { grid-template-columns: repeat(2, 1fr); }
    .notifications-panel { width: 100%; right: -100%; }
    .language-filter-label { display: none; }
    .community-stat { flex: 1 1 40%; }
    .sidebar-menu { width: calc(14rem * var(--ui-scale)); }
    
    /* Hero section mobile adjustments */
    .hero-title {
        font-size: var(--font-2xl);
    }
    
    .hero-creator-badge {
        padding: calc(0.375rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
    }
    
    .hero-creator-name {
        font-size: var(--font-sm);
    }
    
    .hero-metric {
        min-width: calc(4rem * var(--ui-scale));
        padding: calc(0.375rem * var(--ui-scale)) calc(0.625rem * var(--ui-scale));
    }
    
    .hero-metric-value {
        font-size: var(--font-base);
    }
    
    .hero-metric-label {
        font-size: calc(0.625rem * var(--ui-scale));
    }

    /* Sidebar mobile adjustments */
    .sidebar-menu {
        width: 260px;
        max-width: 80vw;
    }
    
    .sidebar-profile {
        margin: calc(0.625rem * var(--ui-scale));
        padding: calc(0.625rem * var(--ui-scale));
    }
    
    .sidebar-profile-avatar {
        width: calc(2.25rem * var(--ui-scale));
        height: calc(2.25rem * var(--ui-scale));
        font-size: var(--font-sm);
    }
    
    .sidebar-profile-name {
        font-size: calc(0.75rem * var(--ui-scale));
    }
    
    .sidebar-profile-email {
        font-size: calc(0.625rem * var(--ui-scale));
    }
    
    .sidebar-nav-item {
        padding: calc(0.625rem * var(--ui-scale)) calc(0.75rem * var(--ui-scale));
        font-size: calc(0.75rem * var(--ui-scale));
        gap: calc(0.625rem * var(--ui-scale));
    }
    
    .sidebar-nav-item i {
        font-size: var(--icon-sm);
    }
    
    .sidebar-footer {
        padding: calc(0.625rem * var(--ui-scale));
    }
    
    .sidebar-theme-toggle span,
    .sidebar-scale-control span {
        font-size: calc(0.75rem * var(--ui-scale));
    }
    
    .scale-btn {
        width: calc(1.625rem * var(--ui-scale));
        height: calc(1.625rem * var(--ui-scale));
        font-size: calc(0.6875rem * var(--ui-scale));
    }
    
    .scale-value {
        font-size: calc(0.6875rem * var(--ui-scale));
        min-width: calc(2.5rem * var(--ui-scale));
    }

    /* Mobile profile sizing adjustments */
    .profile-placeholder,
    .sidebar-profile-avatar {
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    #userProfilePlaceholder {
        min-width: 28px !important;
        min-height: 28px !important;
    }
}

/* Duration Badge */
.duration-badge {
    position: absolute;
    bottom: var(--spacing-xs);
    right: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.8);
    color: var(--soft-white);
    font-size: var(--font-xs);
    padding: calc(0.125rem * var(--ui-scale)) calc(0.375rem * var(--ui-scale));
    border-radius: calc(0.25rem * var(--ui-scale));
    z-index: 4;
    font-weight: 500;
}

/* Connector Info */
.connector-info {
    font-size: var(--font-xs);
    color: var(--warm-gold);
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: calc(0.25rem * var(--ui-scale));
}

.connector-info i {
    font-size: var(--icon-xs);
}

.connector-info-small {
    font-size: calc(0.625rem * var(--ui-scale));
    color: var(--warm-gold);
    display: flex;
    align-items: center;
    gap: calc(0.125rem * var(--ui-scale));
    margin-top: calc(0.125rem * var(--ui-scale));
}
