:root {
    /* Color Palette - Nightclub Noir */
    --bg-color: #050508;
    /* Obsidian Night */
    --text-main: #F8F8FF;
    --text-muted: #88889a;

    /* Neon Accents - Electric High-End */
    --neon-blue: #00f0ff;
    /* Electric Cyan */
    --neon-purple: #9d00ff;
    /* Deep Vibe Purple */
    --neon-pink: #ff007f;
    /* Hot Pink Accent */
    --neon-cyan: #00ffd5;

    /* Glassmorphism Variables - Premium Transparency */
    --glass-bg: rgba(13, 14, 21, 0.45);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(25px);
    --webkit-glass-blur: blur(25px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-radio-online {
    color: #00ff88 !important;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.6), 0 0 24px rgba(0, 255, 136, 0.2);
}

.nav-radio-online:hover {
    color: #00ffa2 !important;
    text-shadow: 0 0 15px rgba(0, 255, 162, 0.8), 0 0 30px rgba(0, 255, 162, 0.4) !important;
}

.nav-radio-offline {
    color: #ff4d4d !important;
    text-shadow: 0 0 12px rgba(255, 77, 77, 0.6), 0 0 24px rgba(255, 77, 77, 0.2);
}

.nav-radio-offline:hover {
    color: #ff6e6e !important;
    text-shadow: 0 0 15px rgba(255, 110, 110, 0.8), 0 0 30px rgba(255, 110, 110, 0.4) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(157, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-fx-smoothing: grayscale;
    animation: page-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    /* Flex layout for sticky footer */
    display: flex;
    flex-direction: column;
}

/* Page Wrapper - Takes full height and pushes content */
.page-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
}


@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

body.page-leaving {
    animation: page-exit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes page-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-14px);
    }
}

/* Background Animated Glows - Ultra Deep & Immersive */
.background-glow {
    position: fixed;
    /* Fixed for immersive depth */
    width: 65vw;
    height: 65vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
    animation: glow-pulse 15s ease-in-out infinite alternate;
}

.bg-left {
    top: -15vw;
    left: -15vw;
    background: radial-gradient(circle, var(--neon-purple), transparent 70%);
}

.bg-right {
    bottom: -15vw;
    right: -15vw;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    animation-delay: -7s;
}

@keyframes glow-pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05) translate(2%, 2%);
        opacity: 0.45;
    }

    100% {
        transform: scale(1.1) translate(4%, 4%);
        opacity: 0.35;
    }
}


/* End of Background Glows */


@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Global Search System --- */
.header-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    background: none;
    border: none;
    color: #adadb8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.search-toggle-btn:hover {
    color: #9146ff;
}

.bigscreen-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: -5px;
    /* Slight overlap or tight grouping */
}

.bigscreen-toggle-btn:hover,
.bigscreen-toggle-btn.active {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
    transform: scale(1.05);
}

.search-expandable {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #18181b;
    border: 1px solid #303032;
    border-radius: 8px;
    padding: 5px 40px 5px 12px;
    width: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.header-search-container.active .search-expandable {
    width: 350px;
    visibility: visible;
    opacity: 1;
}

#global-search-input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.search-close-btn:hover {
    color: #fff;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 900;
    display: none;
}

/* Blur effect when searching (Premium state) */
.glass-header.searching .main-nav {
    filter: blur(12px);
    opacity: 0.15;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header .main-nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.result-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.result-subtitle {
    font-size: 0.75rem;
    color: #adadb8;
    display: block;
    margin-top: 1px;
}

.results-loading,
.results-empty {
    padding: 30px;
    text-align: center;
    color: #adadb8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Premium Search Results Dropdown */
.search-results-dropdown {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 440px;
    background: rgba(15, 15, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 240, 255, 0.05);
    display: none;
    z-index: 10000;
    max-height: 75vh;
    overflow-y: auto;
    backdrop-filter: blur(30px) saturate(180%);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-results-dropdown.show {
    display: block !important;
}

.results-section {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-section:last-child {
    border-bottom: none;
}

.results-section small {
    display: block;
    padding: 0 18px 8px 18px;
    font-size: 0.65rem;
    font-weight: 900;
    color: #adadb8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    text-decoration: none;
    color: #efeff1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 24px;
}

.result-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: var(--neon-blue);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 12px var(--neon-blue);
}

.result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.result-thumb {
    width: 72px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.live-indicator-mini {
    background: #ff4655;
    color: #fff;
    font-size: 0.55rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(255, 70, 85, 0.4);
}

.command-badge {
    color: var(--neon-purple);
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 800;
}

/* Custom Scrollbar */
.search-results-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Typography & Basics */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

/* New Modern Left-Aligned Title Style */
.glaze-style-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    padding-left: 0;
    position: relative;
    color: #fff;
    display: block;
}

/* .glaze-style-title::before removed per user request */

.section-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--neon-blue);
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Inputs & Buttons */
.glass-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition-fast);
}

.glass-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-neon {
    background: var(--neon-purple);
    color: #F8F8FF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 255, 143, 0.3);
}

/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 14, 21, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

body {
    padding-top: 72px;
    /* Compense la hauteur du header fixe */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Base for centered elements */
}

.logo {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.beta-badge {
    background: linear-gradient(45deg, #ff00ea, #9d00ff);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 234, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transform: translateY(-8px);
    pointer-events: none;
    user-select: none;
}

.navbar-logo:hover {
    filter: drop-shadow(0 0 10px #F8F8FF);
}

.logo-neon {
    font-size: 1.8rem;
    font-weight: 800;
    color: #F8F8FF;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-purple);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.search-mode-active .nav-links {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
}

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Neon underline bar removed as per user request */
/* .nav-links a::after { ... } */

/* --- Neon Colors per link --- */

/* 1. Accueil — Cyan */
.nav-neon-1:hover,
.nav-neon-1.active {
    color: #00f0ff !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.7), 0 0 20px rgba(0, 240, 255, 0.3);
}

.nav-neon-1::after {
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff, 0 0 16px rgba(0, 240, 255, 0.5);
}

/* 2. Blog — Hot Pink */
.nav-neon-2:hover,
.nav-neon-2.active {
    color: #ff2d92 !important;
    text-shadow: 0 0 8px rgba(255, 45, 146, 0.7), 0 0 20px rgba(255, 45, 146, 0.3);
}

.nav-neon-2::after {
    background: #ff2d92;
    box-shadow: 0 0 8px #ff2d92, 0 0 16px rgba(255, 45, 146, 0.5);
}

/* 3. Vidéos — Electric Lime */
.nav-neon-3:hover,
.nav-neon-3.active {
    color: #aaff00 !important;
    text-shadow: 0 0 8px rgba(170, 255, 0, 0.7), 0 0 20px rgba(170, 255, 0, 0.3);
}

.nav-neon-3::after {
    background: #aaff00;
    box-shadow: 0 0 8px #aaff00, 0 0 16px rgba(170, 255, 0, 0.5);
}

/* 4. Radio — Purple */
.nav-neon-4:hover,
.nav-neon-4.active {
    color: #bf5fff !important;
    text-shadow: 0 0 8px rgba(191, 95, 255, 0.7), 0 0 20px rgba(191, 95, 255, 0.3);
}

.nav-neon-4::after {
    background: #bf5fff;
    box-shadow: 0 0 8px #bf5fff, 0 0 16px rgba(191, 95, 255, 0.5);
}

/* 5. Bigscreen — Orange */
.nav-neon-5:hover,
.nav-neon-5.active {
    color: #ff8c00 !important;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.7), 0 0 20px rgba(255, 140, 0, 0.3);
}

.nav-neon-5::after {
    background: #ff8c00;
    box-shadow: 0 0 8px #ff8c00, 0 0 16px rgba(255, 140, 0, 0.5);
}

/* 6. Événements — Golden Yellow */
.nav-neon-6:hover,
.nav-neon-6.active {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
}

.nav-neon-6::after {
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700, 0 0 16px rgba(255, 215, 0, 0.5);
}

/* 7. Contact — Neon Magenta */
.nav-neon-7:hover,
.nav-neon-7.active {
    color: #ff00ea !important;
    text-shadow: 0 0 8px rgba(255, 0, 234, 0.7), 0 0 20px rgba(255, 0, 234, 0.3);
}

.nav-neon-7::after {
    background: #ff00ea;
    box-shadow: 0 0 8px #ff00ea, 0 0 16px rgba(255, 0, 234, 0.5);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

/* Fundraising Donation Bar */
.fundraising-container {
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fundraising-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.fundraising-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    color: #ff00ea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fundraising-title i {
    animation: pulse 2s infinite;
}

.fundraising-stats {
    font-weight: 700;
    font-size: 0.85rem;
    color: #efeff1;
}

.fundraising-progress-bg {
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fundraising-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9d00ff, #ff00ea);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(255, 0, 234, 0.5);
    border-radius: 5px;
}

/* Radio Promo Section */
.radio-promo-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 3.5rem;
    border-radius: 16px;
    gap: 3rem;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.radio-promo-panel:hover {
    border-color: rgba(145, 70, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.radio-promo-content {
    flex: 1;
}

.radio-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(145, 70, 255, 0.1);
    color: #9146ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(145, 70, 255, 0.1);
}

.radio-promo-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.radio-promo-text {
    color: #adadb8;
    font-size: 1rem;
    opacity: 0.8;
}

.radio-promo-action {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .radio-promo-panel {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
        gap: 2rem;
    }
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 15px);
    min-width: 220px;
    background: rgba(20, 20, 28, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown-category {
    font-size: 0.62rem;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 15px 5px 15px;
    display: block;
    cursor: default;
}

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

/* News Ticker */
.news-ticker-container {
    width: 100%;
    background: rgba(13, 14, 21, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 900;
}

.news-ticker-content {
    display: flex;
    width: max-content;
    animation: ticker-scroll 60s linear infinite;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 0;
}

.ticker-content-inner {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-block;
}

.ticker-separator {
    margin: 0 50px;
    color: #ffffff;
    font-weight: 800;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.news-ticker-container:hover .news-ticker-content {
    animation-play-state: paused;
}

.dropdown-username {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
}

.dropdown-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.7rem 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--neon-blue);
}

.dropdown-item i {
    width: 28px;
    min-width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    transition: color 0.2s;
    font-size: 1rem;
    pointer-events: none;
}

.dropdown-item:hover i {
    color: var(--neon-blue);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0;
}

/* Status Indicator */
.dropdown-avatar-container {
    position: relative;
    display: inline-block;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    border: 2px solid #1a1a20;
    transition: background 0.3s ease;
}

.status-indicator.online {
    background: #00f5d4;
    box-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}

.status-indicator.invisible {
    background: #74747e;
}

/* Dropdown Rows with Toggles */
.dropdown-status-row,
.theme-switch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-status-row .status-label,
.theme-switch-item span {
    display: flex;
    align-items: center;
    gap: 12px;
}

#current-status-text {
    font-weight: 600;
    color: var(--text-main);
}

/* Mini Toggle Switch (Twitch Style) */
.switch-mini {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

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

.slider-mini {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3e3e40;
    transition: .3s;
    border-radius: 20px;
}

.slider-mini:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: #f1f1f1;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.slider-mini {
    background-color: var(--neon-blue);
}

input:checked+.slider-mini:before {
    transform: translateX(16px);
}

/* Theme Switch Specifics */
.theme-switch-item {
    color: var(--text-main);
    cursor: default;
}

.theme-switch-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.badge-mini {
    background: var(--neon-pink);
    color: white;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 800;
    margin-left: auto;
}

.logout-item:hover {
    color: #ff4d4d !important;
}

.logout-item:hover i {
    color: #ff4d4d !important;
}

.user-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    outline: none;
}

.user-avatar-btn:hover img {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.cart-btn {
    background: none;
    border: none;
    color: #F8F8FF;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.cart-btn:hover {
    color: var(--neon-pink);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--neon-pink);
    color: #F8F8FF;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #F8F8FF;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-overlay {
    display: none;
}

/* Hero & Live Section */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px; /* Stream large, Chat fixe */
    gap: 1.5rem;
    align-items: stretch;
    height: 720px; /* Plus haut pour un effet cinéma standard */
    margin: 0 auto;
}

#hero-live .container {
    max-width: 1600px; /* Plus large pour le stream */
}

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr 350px;
        height: 600px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .commands-container {
        display: none;
    }
}

/* Commands Sidebar */
.commands-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.commands-header {
    padding: 0.8rem 1rem;
    border-bottom: 2px solid #303032;
    background: #18181b;
}

.commands-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.commands-list {
    padding: 1.5rem 1rem;
    /* Ajout d'une marge intérieure pour éviter l'effet "collé" */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    /* Invisible Scrollbar Utility */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.commands-list::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge */
}

.commands-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.command-group-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0 0.8rem 0;
    /* Réduction du padding car le parent a son propre padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.command-group-header:first-child {
    padding-top: 0;
}

.command-item {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.command-item:hover {
    background: rgba(157, 0, 255, 0.1);
    border-color: rgba(157, 0, 255, 0.3);
    transform: translateX(5px);
}

.command-trigger {
    display: inline-block;
    background: rgba(225, 255, 143, 0.1);
    color: var(--neon-blue);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(225, 255, 143, 0.3);
}

.command-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Player */
.stream-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.stream-header {
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    display: flex; /* Added for correct positioning */
    justify-content: space-between;
    align-items: center;
}

.viewer-count-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #adadb8;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.viewer-count-mini i {
    font-size: 0.65rem;
    color: var(--neon-cyan);
    opacity: 0.8;
}

.viewer-count-mini .count-value {
    color: #efeff1;
}

.viewer-count-mini .count-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.stream-header h2 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-indicator {
    color: #ff0000;
    font-size: 0.8rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.video-wrapper {
    width: 100%;
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Chat Container */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    /* Crucial for Grid/Flex child height constraint */
    overflow: hidden;
}

.chat-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.chat-header-icon-btn {
    background: none;
    border: none;
    color: #adadb8;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-icon-btn:hover {
    color: #efeff1;
    background: rgba(255, 255, 255, 0.1);
}

.chat-status {
    font-size: 0.8rem;
    color: var(--neon-blue);
    background: rgba(145, 70, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
}

.chat-status.disconnected {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.chat-users-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 27, 0.98);
    z-index: 20;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
}

.users-overlay-header {
    padding: 10px 15px;
    border-bottom: 2px solid #303032;
    background: #18181b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.users-overlay-header h4 {
    font-size: 0.9rem;
    color: #efeff1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-list-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.users-list-content::-webkit-scrollbar {
    display: none;
}

.user-category {
    margin-bottom: 12px;
}

.user-category h5 {
    color: #adadb8;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 6px;
    border-left: 2px solid var(--neon-purple);
    padding-left: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.online-user-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s;
    cursor: pointer;
}

.online-user-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.badge-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.badge-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.badge-toggle-btn.active {
    background: rgba(145, 70, 255, 0.2);
    border-color: #9146ff;
    box-shadow: 0 0 10px rgba(145, 70, 255, 0.2);
}


.online-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    /* Coins ronds comme demandé */
    overflow: hidden;
    flex-shrink: 0;
    background: #26262c;
}

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

.online-user-name {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users-loading {
    text-align: center;
    color: #adadb8;
    padding-top: 40px;
}

/* Hide scrollbar for chat but keep functionality */
.chat-messages {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.chat-messages::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge */
}

.chat-msg {
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
    padding: 5px 15px; /* Added horizontal padding for the timestamp and edge space */
    margin-bottom: 0;
    border-radius: 2px;
    transition: background 0.1s ease;
    border-left: 2px solid transparent;
    border-bottom: none !important;
    position: relative;
}

.chat-msg:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.chat-msg:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-left-color: rgba(255, 255, 255, 0.1);
}

.chat-msg:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chat-msg .author {
    margin-right: 2px;
    cursor: pointer;
}

.chat-msg .author:hover {
    filter: brightness(1.2);
}


/* Hide actions by default, show on hover */
.msg-actions {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.chat-msg:hover .msg-actions {
    opacity: 1;
}

.reply-btn {
    color: #adadb8;
    cursor: pointer;
    font-size: 0.8rem;
    transition: color 0.15s;
}

.reply-btn:hover {
    color: #efeff1;
}

.system-msg {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
    margin: 1rem 0;
}

.chat-messages-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

/* Mention Highlighting */
.chat-msg.mention {
    background: rgba(145, 70, 255, 0.12) !important;
    border-left: 2px solid var(--neon-purple);
}

.mention-highlight {
    background: rgba(145, 70, 255, 0.3);
    color: #fff;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Premium Badges Glow */
.badge-admin {
    color: #ff3333;
    filter: drop-shadow(0 0 4px rgba(255, 51, 51, 0.4));
}

.badge-mod {
    color: #E1FF8F;
    filter: drop-shadow(0 0 4px rgba(225, 255, 143, 0.4));
}

.badge-vip {
    color: #ff00ea;
    filter: drop-shadow(0 0 4px rgba(255, 0, 234, 0.4));
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 0, 234, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 6px rgba(255, 0, 234, 0.7));
    }

    100% {
        filter: drop-shadow(0 0 2px rgba(255, 0, 234, 0.4));
    }
}

/* Pinned Message Styles */
.chat-pinned-message {
    background: rgba(145, 70, 255, 0.12);
    border-bottom: 2px solid rgba(145, 70, 255, 0.4);
    padding: 22px 18px 12px;
    /* Increased top padding to give room for the "ÉPINGLÉ" badge */
    position: relative;
    z-index: 15;
    animation: slideDown 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.unpin-btn {
    background: transparent;
    border: none;
    color: #adadb8;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0 4px;
    transition: color 0.2s;
}


.unpin-btn:hover {
    color: #ff4d4d;
}


.chat-pinned-message .chat-msg {
    background: transparent !important;
    padding: 0;
    margin: 0;
    border: none;
}

.chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(24, 24, 27, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.chat-overlay-content {
    text-align: center;
    color: #adadb8;
}

.chat-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.chat-overlay-content p {
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-input-area {
    padding: 10px;
    border-top: 2px solid #303032;
    background: transparent;
}

#chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.username-input {
    width: 100%;
}

.input-row {
    display: flex;
    gap: 0.5rem;
}

.message-input {
    flex: 1;
}

/* Grids for Videos & Products */
.clips-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Clip Cards */
.clip-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 23, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.clip-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 0, 0, 0.2);
}

.clip-thumb {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.clip-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.clip-card:hover .clip-thumb img {
    transform: scale(1.05);
}

.clip-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #F8F8FF;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.play-overlay i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: scale(0.7);
    transition: all 0.3s ease;
}

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

.clip-card:hover .play-overlay i {
    transform: scale(1);
}

.clip-info {
    padding: 1.2rem;
    background: rgba(15, 15, 18, 0.6);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.clip-info h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #f8f8f8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.clip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clip-views,
.clip-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clip-views i,
.clip-date i {
    color: #FF0000;
}

.top-clip-badge {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 0, 0, 0.3);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Cards */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 1rem;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 40px rgba(225, 255, 143, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    color: #F8F8FF;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
}

.product-img {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F8F8FF;
}

.product-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-blue);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Section Premium & VIP */
.premium-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.premium-content {
    transition: filter 0.5s ease;
}

.premium-wrapper.locked .premium-content {
    filter: blur(12px) brightness(0.6);
    pointer-events: none;
    user-select: none;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(31, 31, 40, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.premium-wrapper.locked .premium-overlay {
    opacity: 1;
    pointer-events: all;
}

.premium-overlay i {
    font-size: 4rem;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    margin-bottom: 1.5rem;
}

.premium-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #F8F8FF;
}

.premium-overlay p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Produit VIP Locked */
.premium-item.locked {
    position: relative;
    pointer-events: none;
}

.premium-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 5;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.premium-item.locked .premium-item-overlay {
    display: flex;
    pointer-events: all;
}

.premium-item-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px #ffd700);
}

.btn-vip-upgrade {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    pointer-events: all;
    transition: var(--transition-fast);
}

.btn-vip-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

/* Footer */
.glass-footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.social-link:hover {
    color: #F8F8FF;
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal / Auth Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #F8F8FF;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--neon-pink);
}

/* Twitch Modal Redesign */
.twitch-modal {
    background: #18181b;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    border: none;
    padding: 2.5rem 2rem 2rem;
    color: #efeff1;
}

.twitch-modal-header {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.twitch-modal-header i {
    color: #9146ff;
    font-size: 1.5rem;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #303032;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: #adadb8;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: color 0.2s;
}

.auth-tab:hover {
    color: #efeff1;
}

.auth-tab.active {
    color: #E1FF8F;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E1FF8F;
}

.twitch-input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.twitch-input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #efeff1;
}

.twitch-input {
    width: 100%;
    background: #1f1f23;
    border: 2px solid #303032;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    color: #efeff1;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
    outline: none;
}

.twitch-input:focus {
    background: #0e0e10;
    border-color: #a970ff;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adadb8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
}

.password-toggle:hover {
    color: #efeff1;
}

.twitch-link {
    color: #bf94ff;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.twitch-link:hover {
    text-decoration: underline;
    color: #a970ff;
}

.twitch-btn-primary {
    width: 100%;
    background: #9146FF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.twitch-btn-primary:hover {
    background: #772ce8;
}

.twitch-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.twitch-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #303032;
    z-index: 1;
}

.twitch-divider span {
    background: #18181b;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    color: #adadb8;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.twitch-btn-secondary {
    width: 100%;
    background: #26262c;
    color: #efeff1;
    border: none;
    border-radius: 4px;
    padding: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.twitch-btn-secondary:hover {
    background: #35353b;
}

.twitch-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #adadb8;
}

.twitch-modal .close-modal {
    color: #adadb8;
    top: 10px;
    right: 15px;
    font-size: 1rem;
}

.twitch-modal .close-modal:hover {
    color: #efeff1;
    background: none;
}

.oauth-btn {
    transition: all 0.2s ease;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.oauth-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.oauth-btn.facebook {
    background: #4267B2;
}

.oauth-btn.facebook:hover {
    box-shadow: 0 4px 15px rgba(66, 103, 178, 0.4);
}

.oauth-btn.google {
    background: #EA4335 !important;
    color: white !important;
}

.oauth-btn.google:hover {
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.4);
}

.oauth-btn.twitch {
    background: #9146FF !important;
    color: white !important;
}

.oauth-btn.twitch:hover {
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4);
}

.oauth-btn.discord {
    background: #5865F2 !important;
    color: white !important;
}

.oauth-btn.discord:hover {
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.auth-tab.active {
    color: var(--neon-blue);
    border-bottom: 2px solid var(--neon-blue);
}

.auth-tab:hover {
    color: #F8F8FF;
}

/* Role Badges */
.role-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
    font-weight: 800;
    vertical-align: middle;
    text-transform: uppercase;
}

.role-badge.admin {
    background: var(--neon-pink);
    color: #F8F8FF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.role-badge.mod {
    background: #E1FF8F;
    color: black;
    box-shadow: 0 0 10px rgba(225, 255, 143, 0.4);
}

.role-badge.vip {
    background: #ffd700;
    color: black;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu could be toggled via JS */
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Nav Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(15px);
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .mobile-nav-overlay.active {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.8rem;
        cursor: pointer;
    }

    .mobile-nav-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .mobile-nav-links li {
        margin: 25px 0;
    }

    .mobile-nav-links a {
        font-size: 1.8rem;
        font-weight: 800;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-family: 'Outfit', sans-serif;
        transition: color 0.3s ease;
    }

    .mobile-nav-links a:hover,
    .mobile-nav-links a.active {
        color: var(--neon-purple);
    }

    .nav-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 30px auto;
        width: 50px;
    }

    .mobile-nav-footer {
        padding: 30px 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-footer .social-links {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-bottom: 15px;
    }

    .mobile-nav-footer .social-links a {
        color: #888;
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .mobile-nav-footer .social-links a:hover {
        color: var(--neon-blue);
    }

    .mobile-nav-footer p {
        font-size: 0.75rem;
        color: #555;
    }

    .chat-container {
        height: 500px;
    }
}

/* Header Twitch Buttons */
.twitch-nav-btn {
    border: none;
    border-radius: 4px;
    padding: 0;
    width: 115px;
    height: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    font-family: 'Inter', 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.5px;
    color: #fff;
}

.twitch-nav-btn-dark {
    background-color: #323234;
}

.twitch-nav-btn-dark:hover {
    background-color: #3a3a3d;
}

.twitch-nav-btn-purple {
    background-color: #9146FF;
}

.twitch-nav-btn-purple:hover {
    background-color: #772ce8;
}

.twitch-nav-btn-icon {
    background: transparent;
    color: #efeff1;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.twitch-nav-btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* -------------- Twitch Dropdown Overrides -------------- */
.user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    background: #18181b !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    padding: 0.5rem 0 !important;
    z-index: 1000;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    border: none !important;
    backdrop-filter: none !important;
}

.twitch-dropdown-header {
    padding: 0.5rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.twitch-dropdown-header img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover;
    background: #26262c;
}

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

.result-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #efeff1;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mini Role Badges for Search */
.mini-role-badge {
    height: 16px;
    padding: 0 6px;
    border-radius: 3px;
    font-size: 0.55rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    white-space: nowrap;
}

.mini-role-badge i {
    font-size: 0.5rem;
}

.mini-role-owner {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.mini-role-admin {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    box-shadow: 0 0 6px rgba(255, 70, 0, 0.3);
}

.mini-role-mod {
    background: linear-gradient(135deg, #1a6fe0, #38b6ff);
    box-shadow: 0 0 6px rgba(56, 182, 255, 0.3);
}

.mini-role-dj {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    box-shadow: 0 0 6px rgba(160, 100, 255, 0.3);
}

.mini-role-animateur {
    background: linear-gradient(135deg, #00b09b, #00d26a);
    box-shadow: 0 0 6px rgba(0, 210, 106, 0.3);
}

.live-tag {
    background: linear-gradient(135deg, #ff0000 0%, #ff4d4d 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
    letter-spacing: 0.5px;
    line-height: normal;
    flex-shrink: 0;
}


.dropdown-item {
    display: flex !important;
    align-items: center;
    padding: 0.35rem 1rem !important;
    color: #efeff1 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    border: none !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.dropdown-item:hover {
    background: #ffffff1a !important;
    color: #efeff1 !important;
}

.dropdown-item i.fas,
.dropdown-item i.far,
.dropdown-item i.fab {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
    text-align: center;
    color: #adadb8;
}

.dropdown-divider {
    height: 1px !important;
    background: #303032 !important;
    margin: 0.3rem 0 !important;
    border: none !important;
}

/* Twitch Switch toggle */
.twitch-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    margin-left: auto;
}

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

.twitch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #53535f;
    transition: .2s;
    border-radius: 20px;
}

.twitch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
}

.twitch-switch input:checked+.twitch-slider {
    background-color: #9146FF;
}

.twitch-switch input:checked+.twitch-slider:before {
    transform: translateX(14px);
}

/* User Card (Twitch Style) */
.user-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-card-content {
    background: #18181b;
    width: 340px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: modalFadeIn 0.2s ease-out;
}

.user-card-banner {
    height: 90px;
    background: linear-gradient(45deg, #9146ff, #E1FF8F);
    position: relative;
    cursor: grab;
}

.user-card-banner:active {
    cursor: grabbing;
}

.user-card-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10;
}

.user-card-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

.user-card-header {
    padding: 0 16px 16px;
    margin-top: -35px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 5;
}

.user-card-avatar-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #18181b;
    overflow: hidden;
}

.user-card-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #26262c;
}

.user-card-info h3 {
    margin: 0;
    color: #efeff1;
    font-size: 1.1rem;
}

.user-card-tabs {
    display: flex;
    background: #18181b;
    border-bottom: 1px solid #303032;
    padding: 0 10px;
}

.uc-tab {
    background: none;
    border: none;
    color: #adadb8;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.uc-tab:hover {
    color: #efeff1;
}

.uc-tab.active {
    color: #bf94ff;
}

.uc-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #bf94ff;
}

.uc-tab-content {
    display: none;
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.uc-tab-content.active {
    display: block;
}

.uc-section h4 {
    color: #adadb8;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.uc-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.uc-badge-icon {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-badge-icon.admin {
    color: #ff3333;
}

.uc-badge-icon.vip {
    color: #ffd700;
}

.uc-badge-icon.mod {
    color: #E1FF8F;
}

.uc-badge-placeholder {
    color: #53535f;
    font-size: 0.8rem;
    font-style: italic;
}

.uc-stats {
    display: flex;
    gap: 20px;
}

.uc-stat {
    display: flex;
    flex-direction: column;
}

.uc-stat-val {
    color: #efeff1;
    font-weight: 700;
    font-size: 1.1rem;
}

.uc-stat-label {
    color: #adadb8;
    font-size: 0.75rem;
}

.uc-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.uc-history-list::-webkit-scrollbar {
    width: 4px;
}

.uc-history-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.uc-history-item {
    font-size: 0.85rem;
    border-bottom: 1px solid #26262c;
    padding-bottom: 5px;
}

.uc-history-time {
    color: #53535f;
    font-size: 0.75rem;
    margin-right: 5px;
}

.uc-notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uc-note-item {
    background: #1f1f23;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    position: relative;
}

.uc-note-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #adadb8;
    margin-bottom: 4px;
}

.uc-delete-note {
    background: none;
    border: none;
    color: #ff3333;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.6;
}

.uc-delete-note:hover {
    opacity: 1;
}

/* Moderation Panel in User Card */
.uc-mod-panel {
    background: #1f1f23;
    padding: 12px 16px;
    border-top: 1px solid #303032;
    border-bottom: 1px solid #303032;
}

.uc-mod-divider {
    font-size: 0.7rem;
    color: #adadb8;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.uc-mod-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uc-mod-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: 0.2s;
    color: white;
}

.uc-mod-btn.ban {
    background: #eb0400;
}

.uc-mod-btn.ban:hover {
    background: #ff4d4d;
}

.uc-mod-btn.timeout {
    background: #9146ff;
}

.uc-mod-btn.timeout:hover {
    background: #bf94ff;
}

.uc-timeout-group {
    display: flex;
    gap: 5px;
    flex: 1;
}

.uc-timeout-select {
    flex: 1;
    font-size: 0.85rem;
    padding: 5px 8px !important;
    height: 36px;
}

.uc-timeout-manual {
    width: 60px;
    height: 36px;
    padding: 5px 8px !important;
    font-size: 0.85rem;
}

/* ==========================================================================
   Webradio Page Styles
   ========================================================================== */
.radio-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.radio-main-col {
    flex: 2;
    min-width: 300px;
}

.radio-sidebar-col {
    flex: 1;
    min-width: 300px;
}

/* Player Card */
.radio-player-card {
    padding: 30px;
    text-align: center;
}

.radio-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.radio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: 0.3s;
}

.radio-badge.on-air {
    background: rgba(235, 4, 0, 0.15);
    color: #eb0400;
    border: 1px solid rgba(235, 4, 0, 0.3);
    box-shadow: 0 0 15px rgba(235, 4, 0, 0.4);
}

.radio-badge.off-air {
    background: rgba(173, 173, 184, 0.1);
    color: #adadb8;
    border: 1px solid rgba(173, 173, 184, 0.2);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #eb0400;
    border-radius: 50%;
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(235, 4, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(235, 4, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(235, 4, 0, 0);
    }
}

.radio-now-playing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.radio-now-playing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    opacity: 0.6;
}

/* Audio Visualizer (Simulated) */
.radio-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
    padding: 0 10px;
}

.vis-bar {
    width: 6px;
    background: linear-gradient(to top, var(--neon-purple), var(--neon-blue));
    border-radius: 3px 3px 0 0;
    height: 5px;
    transition: height 0.2s ease;
}

.radio-visualizer.animating .vis-bar {
    animation: visAnim 1s ease-in-out infinite alternate;
}

.radio-visualizer.animating .vis-bar:nth-child(2) {
    animation-delay: 0.1s;
    animation-duration: 0.8s;
}

.radio-visualizer.animating .vis-bar:nth-child(3) {
    animation-delay: 0.2s;
    animation-duration: 1.2s;
}

.radio-visualizer.animating .vis-bar:nth-child(4) {
    animation-delay: 0.3s;
    animation-duration: 0.9s;
}

.radio-visualizer.animating .vis-bar:nth-child(5) {
    animation-delay: 0.4s;
    animation-duration: 1.1s;
}

.radio-visualizer.animating .vis-bar:nth-child(6) {
    animation-delay: 0.5s;
    animation-duration: 0.7s;
}

@keyframes visAnim {
    0% {
        height: 10px;
    }

    100% {
        height: 50px;
    }
}

.radio-track-info {
    text-align: left;
    flex: 1;
}

.radio-track-label {
    font-size: 0.8rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 800;
}

.radio-track-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1.2;
}

.radio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.radio-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0 !important;
    background: var(--neon-purple);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.radio-play-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-color);
}

.radio-play-btn.active {
    background: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.4);
}

.radio-volume {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.radio-volume input[type="range"] {
    width: 120px;
    accent-color: var(--neon-blue);
}

/* Animators Grid */
.animator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.animator-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.animator-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 15px 40px rgba(157, 0, 255, 0.2);
}

.animator-card img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 3px solid var(--glass-border);
    object-fit: cover;
    transition: var(--transition-smooth);
}

.animator-card:hover img {
    border-color: var(--neon-purple);
    border-radius: 50%;
}

.animator-info h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.animator-info span {
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Schedule List */
.radio-schedule-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-day h4 {
    color: var(--neon-blue);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-day h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(225, 255, 143, 0.3), transparent);
}

.schedule-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--neon-purple);
    transition: var(--transition-fast);
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.schedule-item.current-show {
    border-left-color: var(--neon-blue);
    background: rgba(225, 255, 143, 0.05);
    box-shadow: 0 0 20px rgba(225, 255, 143, 0.1);
}

.schedule-time {
    font-size: 0.85rem;
    color: var(--neon-blue);
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-show {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.schedule-host {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Partners Bar (Previously Sponsors, renamed to avoid ad-blockers) */
.partners-bar {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 10px 0;
    position: relative;
    z-index: 50;
    margin-top: 0;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    filter: grayscale(100%) brightness(0.8) opacity(0.5);
    /* Noir et blanc / Gris par défaut */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(100%) brightness(3) opacity(1);
    /* Devient blanc */
    transform: scale(1.1);
}

.partner-link:hover .partner-logo {
    filter: grayscale(100%) brightness(3) opacity(1);
    /* Devient blanc */
    transform: scale(1.1);
}

.partner-placeholder {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    /* Gris par défaut */
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.partner-link:hover .partner-placeholder {
    color: #fff;
    /* Devient blanc */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Ensure user dropdown is always on top */
.user-dropdown {
    z-index: 2000 !important;
}

/* Video Filter UI */
.glass-select {
    background: rgba(48, 48, 50, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 10px 35px 10px 15px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    min-width: 170px;
    backdrop-filter: blur(5px);
}

.glass-select:hover {
    background: rgba(60, 60, 62, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-select:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

.custom-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.7rem;
    opacity: 0.7;
}

.clear-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 10px;
    transition: var(--transition-fast);
}

.clear-filter:hover {
    color: #ff4d4d;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.clear-filter i {
    font-size: 0.8rem;
}

.no-results-box {
    animation: fadeIn 0.5s ease backwards;
}

.glass-select option {
    background: #18181b;
    color: #fff;
    padding: 10px;
}

/* ==========================================================================
   Alternative Dashboard Radio Styles (db-)
   ========================================================================== */
.db-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .db-radio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.db-card {
    background: #1a1a1f;
    border: 2px solid #2d2d35;
    border-radius: 4px;
    /* Harder corners for pro look */
    padding: 24px;
    position: relative;
    transition: border-color var(--transition-fast);
}

.db-card:hover {
    border-color: var(--neon-purple);
}

.db-player-full {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 40px;
    background: #16161a;
    border-left: 6px solid var(--neon-purple);
}

.db-status-mon {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 4px 12px;
    border: 1px solid #4a4a52;
    color: #4a4a52;
    text-transform: uppercase;
}

.db-status-mon.on-air {
    border-color: #ff4d4d;
    color: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

.db-track-main {
    flex: 1;
}

.db-label-small {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.db-title-large {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.db-controls-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.db-btn-solid {
    background: #F8F8FF;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.db-btn-solid:hover {
    background: var(--neon-blue);
    color: #000;
}

.db-btn-solid.active {
    background: #ff4d4d;
    color: #fff;
}

.db-section-header {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.db-section-header i {
    color: var(--neon-purple);
}

.db-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.db-schedule-row {
    border-bottom: 1px solid #2d2d35;
    transition: background 0.2s;
}

.db-schedule-row:last-child {
    border-bottom: none;
}

.db-schedule-row.current-show {
    background: rgba(157, 0, 255, 0.1);
    border-left: 3px solid var(--neon-purple);
}

.db-schedule-cell {
    padding: 12px 8px;
    font-size: 0.9rem;
}

.db-time-cell {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    color: var(--neon-blue);
    width: 100px;
}

.db-show-cell {
    color: #fff;
    font-weight: 600;
}

.db-host-cell {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
}

.db-animator-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2d2d35;
}

.db-animator-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.db-avatar-square {
    width: 50px;
    height: 50px;
    border: 1px solid #3d3d45;
    object-fit: cover;
}

.db-animator-name {
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
}

.db-animator-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Events Page Styling */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(225, 255, 143, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(225, 255, 143, 0.1);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--neon-blue);
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(225, 255, 143, 0.5);
    z-index: 2;
}

.event-card-content {
    padding: 2.5rem;
}

.event-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.event-years-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.event-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.db-info-box {
    background: #222229;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* Centering Utility */
.full-page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 72px - 60px);
}

/* Emote Picker */
.emote-picker {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    height: 350px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.15s ease-out;
}

.emote-picker-header {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 700;
    color: #efeff1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emote-picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 5px;
    align-content: flex-start;
}

.emote-picker-list::-webkit-scrollbar {
    width: 6px;
}

.emote-picker-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.emote-picker-item {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
    transition: background 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

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

.emote-picker-item img {
    max-width: 100%;
    max-height: 28px;
    object-fit: contain;
}

/* Multi-Channel Live Badge Link */
.badge-live {
    background: #eb0400;
    color: white !important;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(235, 4, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-live i {
    font-size: 0.9rem;
    animation: pulse-red 2s infinite;
}

.badge-live-link {
    text-decoration: none !important;
}

.badge-live-link:hover .badge-live {
    transform: translateY(-2px);
    background: #ff1a1a;
    box-shadow: 0 5px 25px rgba(235, 4, 0, 0.6);
}

@keyframes pulse-red {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Enhanced Profile Badges based on Screenshot */
.lvl-badge-premium {
    background: rgba(145, 70, 255, 0.2);
    border: 1px solid rgba(145, 70, 255, 0.4);
    color: #bf94ff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.1);
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff0000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.action-badge:hover {
    transform: translateY(-2px);
    background: #ff3333;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.action-badge i {
    font-size: 1.1rem;
}

.action-badge.staff {
    background: #ff0000;
    /* Matching screenshot red */
}

/* Radio Toast Notification */
.radio-toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    width: 320px;
    background: rgba(15, 15, 20, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-left: 4px solid #ff8c00;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 140, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radio-toast.show {
    right: 30px;
}

.radio-toast.online {
    border-left-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 136, 0.2);
}

.radio-toast.online .toast-icon {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.radio-toast.offline {
    border-left-color: #ff4d4d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 77, 77, 0.2);
}

.radio-toast.offline .toast-icon {
    color: #ff4d4d;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
}

.toast-icon {
    font-size: 1.8rem;
}

.toast-content {
    flex: 1;
}

.toast-content h4 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #a0a0b0;
}

.radio-toast button {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: color 0.2s;
}

.radio-toast button:hover {
    color: #fff;
}

/* User Mentions Autocomplete */
.mention-popup {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 250px;
    background: #18181b;
    border: 1px solid #9146ff;
    border-radius: 8px 8px 0 0;
    display: none;
    flex-direction: column;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
}

.mention-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    color: #efeff1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-weight: 600;
}

.mention-suggestion:hover,
.mention-suggestion.active {
    background: rgba(145, 70, 255, 0.2);
    color: #fff;
}

.mention-suggestion .mention-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #323234;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #adadb8;
}

/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.schedule-tabs::-webkit-scrollbar {
    display: none;
}

.schedule-tab {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.schedule-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.schedule-tab.active {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.db-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.db-schedule-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.db-schedule-row:last-child {
    border-bottom: none;
}

.db-schedule-cell {
    padding: 12px 10px;
    vertical-align: middle;
}

.db-time-cell {
    width: 110px;
    color: var(--neon-blue);
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
}

.db-show-cell {
    font-weight: 600;
    color: #fff;
}

.db-host-cell {
    text-align: right;
    color: #888;
    font-size: 0.8rem;
}

/* --- Global Search System --- */
.header-search-container {
    position: static;
    /* Let children position relative to .nav-container */
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.05);
}

.search-expandable {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 38px;
    background: #18181b;
    border: none;
    box-shadow: 0 0 0 2px var(--neon-blue);
    /* Precision border using shadow */
    border-radius: 20px;
    background-clip: padding-box;
    /* Fixes corner rendering issues */
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    box-shadow: none;
}

.header-search-container.active .search-expandable {
    width: 600px;
    opacity: 1;
    visibility: visible;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    border: none;
    box-shadow: 0 0 0 2px var(--neon-blue);
    /* Precision border */
    background-clip: padding-box;
    z-index: 1002;
    /* Must be above the focus overlay AND the header itself */
}

/* Ensure actions don't overlap too much */
.search-mode-active #nav-vip-btn,
.search-mode-active .user-menu-wrapper {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.header-search-container.active .search-toggle-btn {
    display: none;
}

.search-expandable input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 15px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.search-close-btn {
    background: none;
    border: none;
    color: #adadb8;
    padding-right: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.search-close-btn:hover {
    color: #fff;
}

/* Modal Search Overlay */
.search-overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Slightly darker for better focus */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 998;
    /* Below the header (1000) */
    display: none;
    /* Hidden by default */
}

/* Prevent background scrolling in Focus Mode with layout shift correction */
body.search-mode-active {
    overflow: hidden !important;
}

body.search-mode-active .search-overlay {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 600px;
    max-height: 450px;
    background: rgba(13, 14, 21, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

/* Custom Premium Scrollbar for Results */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

.search-results-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -150%);
    }

    /* Slide from top-center */
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.results-section {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-section:last-child {
    border-bottom: none;
}

.results-section small {
    display: block;
    padding: 5px 15px;
    color: var(--neon-blue);
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    transition: all 0.2s;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

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

.result-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.1rem;
}

.result-avatar.live {
    border: 2px solid var(--neon-purple);
    padding: 2px;
    background: #000;
}

.result-thumb {
    width: 60px;
    height: 34px;
    border-radius: 4px;
    overflow: hidden;
}

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

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

.result-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
}

.result-subtitle {
    color: #adadb8;
    font-size: 0.75rem;
}

.live-dot-pulse {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.badge-live-sm {
    background: #ff0000;
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 800;
    margin-left: 5px;
}

.results-loading,
.results-empty {
    padding: 20px;
    text-align: center;
    color: #adadb8;
    font-size: 0.85rem;
}


/* Toast System */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    width: 320px;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism Base */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.toast-message.exit {
    animation: toastSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon, .toast-image {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-blue);
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-shrink: 0;
}

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


.toast-content {
    flex-grow: 1;
}

.toast-content h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 3px;
    color: #fff;
}

.toast-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}

/* Progress Bar for Toasts */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    width: 100%;
}

/* Specific Types */
.toast-message.success .toast-icon {
    color: #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.toast-message.live .toast-icon {
    color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(145, 70, 255, 0.2);
}

.toast-message.follow .toast-icon {
    color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 45, 241, 0.2);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Chat Emotes resizing */
.chat-emote {
    max-height: 28px;
    width: auto;
    vertical-align: middle;
    margin: -2px 1px;
    display: inline-block;
}

/* ==========================================================
   LOYALTY BOUTIQUE : PREMIUM VISUAL EFFECTS
   ========================================================== */

/* Neon Avatar Border */
.avatar-neon-glow {
    position: relative;
    border: none !important;
    padding: 3px;
    background: linear-gradient(var(--glow-angle, 45deg), #00f2ff, #7000ff, #ff007f);
    animation: rotate-glow 3s linear infinite;
    z-index: 1;
}

.avatar-neon-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: inherit;
    filter: blur(8px);
    opacity: 0.8;
    z-index: -1;
    border-radius: inherit;
}

@keyframes rotate-glow {
    from {
        --glow-angle: 0deg;
    }

    to {
        --glow-angle: 360deg;
    }
}

/* Chrome/Safari support for @property rotation if available */
@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Name Glow Effect */
.name-glow-premium {
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.8), 0 0 20px rgba(0, 242, 255, 0.4);
    animation: text-pulse-glow 2s infinite ease-in-out;
}

@keyframes text-pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 242, 255, 0.8), 0 0 20px rgba(0, 242, 255, 0.4);
    }

    50% {
        text-shadow: 0 0 15px rgba(112, 0, 255, 1), 0 0 30px rgba(112, 0, 255, 0.6);
    }
}

/* Profile Banner Overrides */
.profile-banner-custom {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.profile-banner-custom {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.profile-banner-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(14, 14, 16, 0.9));
}

/* ==========================================================
   COMMAND DRAWER (LEFT SIDEBAR)
   ========================================================== */

#commands-toggle-btn:hover {
    background: rgba(145, 70, 255, 0.15) !important;
    color: #9146ff !important;
    border-color: rgba(145, 70, 255, 0.3) !important;
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.2);
    transform: scale(1.05);
}

.commands-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.commands-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(12px); /* "Le rideau" */
}

.commands-drawer {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

.commands-drawer.open {
    transform: translateX(400px);
}

.drawer-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-title i {
    font-size: 1.2rem;
}

.drawer-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.drawer-close {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #adadb8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.drawer-close:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border-color: rgba(255, 68, 68, 0.2);
}

.drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 20px;
}

.drawer-search {
    margin: 20px 0;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.drawer-search i {
    color: #555;
    font-size: 0.9rem;
}

#drawer-command-search {
    background: none;
    border: none;
    padding: 12px 10px;
    color: #fff;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.drawer-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 30px;
}

.drawer-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.drawer-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.drawer-group {
    margin-bottom: 25px;
}

.drawer-group-header {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.drawer-command-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    transition: 0.2s;
    cursor: pointer;
}

.drawer-command-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.cmd-trigger {
    font-family: 'Consolas', monospace;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cmd-desc {
    font-size: 0.8rem;
    color: #adadb8;
    line-height: 1.4;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.75rem;
    color: #555;
    font-weight: 600;
}

/* Page Blur Effect */
body.drawer-open #hero-live,
body.drawer-open .section-padding {
    filter: blur(4px);
    transition: filter 0.4s ease;
}

/* Header Actions Grouping & Spacing */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacement uniforme entre tous les boutons et l'avatar */
}

.header-actions-group {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace interne entre les 3 boutons d'action */
}

.nav-btn-icon,
.bigscreen-toggle-btn,
.search-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-btn-icon:hover,
.bigscreen-toggle-btn:hover,
.search-toggle-btn:hover {
    background: rgba(145, 70, 255, 0.15);
    color: #9146ff;
    border-color: rgba(145, 70, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bigscreen-toggle-btn.active {
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Fix spacing inconsistency for the search button container */
.header-search-container {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.header-actions-group > * {
    margin: 0 !important; /* Force the gap to be the only source of spacing */
}
/* VIP Floating Badge - Discreet Corner Style */
.vip-floating-badge {
    position: fixed;
    top: 8px;
    right: 20px;
    z-index: 10001;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #000;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vip-floating-badge:hover {
    transform: translateY(2px);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
    filter: brightness(1.1);
}

.vip-floating-badge i {
    font-size: 0.75rem;
}

/* Sticky Footer - Le contenu grandit pour pousser le footer en bas */
main, .main-content, .page-content {
    flex: 1 0 auto;
}

.glass-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Sticky footer - Cible le contenu principal de toutes les pages */
#spa-main,
.subscribe-page,
.profile-main,
.horizon-layout {
    flex: 1 0 auto;
}

/* Sticky Footer - glass-footer colle au bas du page-wrapper */
.page-wrapper > .glass-footer {
    margin-top: auto;
}

/* VIP CTA dans le dropdown de profil */
.dropdown-vip-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 12px 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 165, 0, 0.35);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-vip-cta:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25), rgba(255, 215, 0, 0.18));
    border-color: rgba(255, 165, 0, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.vip-cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.vip-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.vip-cta-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffd700;
}

.vip-cta-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.vip-cta-arrow {
    font-size: 0.7rem;
    color: rgba(255, 165, 0, 0.5);
}

/* Global Visibility Rules for User Menu (Fixed Overlap) */
.user-menu-wrapper #auth-btn { display: none !important; }
.user-menu-wrapper #unauth-group { display: flex !important; }

.user-menu-wrapper.user-logged-in #auth-btn { display: flex !important; }
.user-menu-wrapper.user-logged-in #unauth-group { display: none !important; }
