/* Ensure admin badge text is white across pages */
.admin-badge {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.admin-badge i {
    color: #ffffff !important;
}
:root {
    --primary: #ffffff;
    --secondary: #cfcfcf;
    --accent-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --bg-dark: #000000;
}

/* Luxury Background */
#site-background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    background-image: url('./images/image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: imagePan 20s ease-in-out infinite;
    z-index: -999999;
    top: 0;
    left: 0;
}

@keyframes imagePan {
    0%, 100% {
        background-position: center;
    }
    50% {
        background-position: center bottom;
    }
}

/* All pages use the same animated background */

/* Red and black flowing animation - replaced by imagePan */

/* All pages use the same animated background */

/* The Spotlight Card Effect */
.spotlight-effect {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.spotlight-effect::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.15) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.spotlight-effect:hover::before { opacity: 1; }
.spotlight-effect:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 24px rgba(255, 255, 255, 0.15); }

/* Typography */
.text-gradient-sky {
    background: linear-gradient(90deg, #ffffff 0%, #ff4d4d 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Status Indicators */
.status-online { color: #ffffff; text-shadow: 0 0 10px rgba(255,255,255,0.5); font-weight: 700; }
.status-offline { color: #666; text-shadow: 0 0 10px rgba(102,102,102,0.5); font-weight: 700; }

/* Small utility to expose spotlight variables for JS */
:root { --mouse-x: 50%; --mouse-y: 50%; }

/* Basic page resets and body background */
body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: transparent;
    color: #e8eef6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Make media fluid */
img, video, canvas {
    max-width: 100%;
    height: auto;
}

/* Card subtle hover lift */
.spotlight-effect .card-content {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(220,220,220,0.06));
    border: 1px solid rgba(255,255,255,0.22);
    color: #f7f7f7;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

/* Small profile wrapper */
.user-profile-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.02);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.02);
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .hero-container { padding: 20px; }
    .text-gradient-sky { font-size: 0.9rem; }
}

/* Smaller screens container padding */
@media (max-width: 600px) {
    .container { padding: 0 12px; }
}

/* Tablet scaling */
@media (max-width: 1024px) {
    .hero-container { gap: 36px; }
    .hero-left h1 { font-size: 3.5rem; }
    .hero-desc { max-width: 480px; }
    .hero-right { max-width: 480px; }
}

/* Mobile/tablet refined */
@media (max-width: 768px) {
    .hero-left h1 { font-size: 2.8rem; }
    .news-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .live-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .staff-grid-luxury { gap: 24px; }
}

/* subtle focus outlines for accessibility */
:focus { outline: 2px solid rgba(255, 255, 255, 0.32); outline-offset: 3px; }



.spotlight-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.spotlight-effect:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-box {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 20px;
}

.icon-glow {
    font-size: 2rem;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}



.status-online { color: #ffffff; font-weight: bold; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.status-offline { color: #9b9b9b; font-weight: bold; }

/* Custom Button */
.btn-primary {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(255,255,255,0.28);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover { background: linear-gradient(135deg, #262626, #1a1a1a); box-shadow: 0 10px 26px rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); }

/* Keep responsive and other necessary helpers */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-left { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-right { width: 100%; max-width: 400px; }
    .nav-links { display: none; }
}

/* Access Denied panel styles */
.access-denied {
    max-width: 720px;
    margin: 20px auto;
    padding: 22px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10,12,16,0.78), rgba(10,12,16,0.72));
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 12px 30px rgba(2,6,23,0.45);
    text-align: center;
}

.access-denied .access-inner { max-width: 640px; margin: 0 auto; }
.access-denied .access-title { font-size: 1.6rem; margin-bottom: 6px; color: #ffffff; }
.access-denied .access-desc { color: #c8d2dd; font-size: 0.95rem; line-height: 1.45; margin: 0 auto; max-width: 580px; }
.access-denied .access-actions { margin-top: 14px; }

@media (max-width: 760px) {
    .access-denied { padding: 16px; margin: 12px; }
    .access-denied .access-title { font-size: 1.25rem; }
    .access-denied .access-desc { font-size: 0.92rem; }
    .access-denied .access-actions { flex-direction: column; gap: 10px; }
    .access-denied .btn-primary, .access-denied .btn-login { width: 100%; }
}

/* Standardize button sizing across the site */
:root {
    --btn-font: 14px;
    --btn-padding-y: 10px;
    --btn-padding-x: 18px;
    --btn-height: 44px;
}

.btn, .btn-primary, .btn-login, .btn-admin, .btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    min-height: var(--btn-height);
    font-size: var(--btn-font);
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid rgba(255,255,255,0.3); color: #ffffff; }
.btn-login { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid rgba(255,255,255,0.28); color: #ffffff; }
.btn-admin { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.btn-profile { width: 45px; height: 45px; padding: 0; border-radius: 50%; }

.btn-primary:hover, .btn-login:hover, .btn-admin:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.22); background: linear-gradient(135deg, #252525, #1b1b1b); border-color: rgba(255,255,255,0.5); }

/* Profile / No access sizing tweaks */
.user-profile-wrapper { gap: 10px; padding: 6px 12px; }
.user-profile-wrapper .nav-username { font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-profile-wrapper .nav-username.no-access { color: #ffb3b3; font-weight:700; }

/* Header status tweaks */
.header-status { font-size: 0.85rem; gap:8px; }
.header-status .dot { width: 10px; height: 10px; }

@media (max-width: 900px) {
    :root { --btn-font: 13px; --btn-padding-y: 9px; --btn-padding-x: 14px; --btn-height: 40px; }
    .user-profile-wrapper .nav-username { max-width: 100px; font-size: 12px; }
}

/* Header variant for pages that should not show glass-blue */
#main-header.no-bg, header.no-bg {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Mobile UI improvements */
@media (max-width: 900px) {
    .hero-wrapper {
        min-height: initial;
        padding: 88px 16px 28px;
        margin-top: 0;
    }

    .hero-container {
        gap: 24px;
    }

    .hero-left h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.05;
    }

    .hero-desc {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .stats-container-vertical,
    .status-grid,
    .live-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid-luxury {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .news-container,
    .rules-wrapper,
    .status-body,
    .stream-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .news-header-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .hero-wrapper {
        padding-top: 78px;
    }

    .staff-grid-luxury {
        grid-template-columns: 1fr;
    }

    .news-container {
        padding-top: 74px;
    }

    .news-header-title,
    .section-title {
        font-size: 1.8rem;
    }

    .news-card,
    .premium-card,
    .rule-card {
        padding: 16px;
        border-radius: 14px;
    }
}


/* --- MADHYALOKHAM GLOBAL PREMIUM THEME --- */
:root {
    --primary-red: #ffffff;
    --bg-black: #000000;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 1. Global Resets */
body {
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 2. Main page (index.html) - show full image background */
body:not(:has(main)) #site-background {
    background-image: url('./images/image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: imagePan 20s ease-in-out infinite;
}

/* Other pages - blur effect */
body:has(main[style*="120px"]) #site-background,
body:has(.news-container) #site-background,
body:has(.rules-wrapper) #site-background,
body:has(.status-body) #site-background,
body:has(.stream-body) #site-background {
    background-image: url('./images/image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: imagePan 20s ease-in-out infinite;
    filter: blur(8px) brightness(0.7);
}

/* 3. The Premium Glass Container (Use this class for cards/sections) */
.premium-card, .rule-card, .news-card, .staff-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* 4. Global Hover Interaction */
.premium-card:hover, .rule-card:hover, .news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.12);
}

/* 5. Typography */
h1, h2, h3, .brand-font {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}



/* 6. Buttons */
.btn-premium {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #2a2a2a, #1b1b1b);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* 7. Nav Links Hover */
.nav-link {
    color: var(--text-dim);
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- FINAL THEME OVERRIDES (Black/White primary, Red secondary) --- */
:root {
    --primary: #ffffff;
    --secondary: #cfcfcf;
    --bg-dark: #060606;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body { background: var(--bg-dark); color: #f7f7f7; }

/* Stat card brand hovers */
.mc-card { border: 1px solid rgba(74, 222, 128, 0.18); }
.mc-card .icon-glow { 
    color: #4ade80; 
    transition: filter 0.3s ease, text-shadow 0.3s ease;
}
.mc-card:hover .icon-glow {
    filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.8));
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.9);
}
.mc-card:hover {
    background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(16,185,129,0.14));
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 12px 32px rgba(34,197,94,0.25);
}

.discord-card { border: 1px solid rgba(88, 101, 242, 0.18); }
.discord-card .icon-glow { 
    color: #5865f2;
    transition: filter 0.3s ease, text-shadow 0.3s ease;
}
.discord-card:hover .icon-glow {
    filter: drop-shadow(0 0 16px rgba(88, 101, 242, 0.9));
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.95);
}
.discord-card:hover {
    background: linear-gradient(135deg, rgba(88,101,242,0.12), rgba(88,101,242,0.18));
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: 0 12px 32px rgba(88,101,242,0.25);
}

/* Footer social glass cards */
.footer-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    margin-top: 6px;
}

:root {
    /* Status icon theme colors */
    --status-green: #22c55e; /* online */
    --status-blue: #38bdf8;  /* players */
    --status-purple: #5865f2; /* discord */
}

/* Status page themed icons */
.icon-online {
    color: var(--status-green);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}
.icon-players {
    color: var(--status-blue);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}
.icon-discord {
    color: var(--status-purple);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
}

/* Server IP + Copy row */
.server-ip-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
    flex-wrap: wrap;
}
.server-ip-label { opacity: 0.9; }
.server-ip-value {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}
.copy-btn i { font-size: 0.95rem; opacity: 0.85; }
.copy-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.copy-btn:active { transform: translateY(0); }

/* Icon hover effects per theme */
.icon-online, .icon-players, .icon-discord {
    display: inline-block;
    transition: transform 0.2s ease, text-shadow 0.2s ease, filter 0.2s ease;
}
.icon-online:hover {
    transform: translateY(-2px) scale(1.12);
    text-shadow: 0 0 24px rgba(34, 197, 94, 0.95), 0 0 40px rgba(34, 197, 94, 0.7), 0 0 60px rgba(34, 197, 94, 0.4);
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.95)) drop-shadow(0 0 40px rgba(34, 197, 94, 0.6));
}
.icon-players:hover {
    transform: translateY(-2px) scale(1.12);
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.95), 0 0 40px rgba(56, 189, 248, 0.7), 0 0 60px rgba(56, 189, 248, 0.4);
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 40px rgba(56, 189, 248, 0.6));
}
.icon-discord:hover {
    transform: translateY(-2px) scale(1.12);
    text-shadow: 0 0 24px rgba(88, 101, 242, 0.95), 0 0 40px rgba(88, 101, 242, 0.7), 0 0 60px rgba(88, 101, 242, 0.4);
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.95)) drop-shadow(0 0 40px rgba(88, 101, 242, 0.6));
}

@media (max-width: 520px) {
    .server-ip-row { gap: 8px; }
    .server-ip-value { padding: 5px 8px; }
    .copy-btn { padding: 6px 10px; }
}
.social-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    text-decoration: none;
    color: #f5f5f5;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover::after {
    opacity: 1;
}

.social-card i { font-size: 1rem; transition: all 0.3s ease; }
.social-card .label { font-weight: 700; display: block; font-size: 0.85rem; letter-spacing: 0.5px; }
.social-card .hint { color: #cbd5e1; font-size: 0.75rem; }

.social-card:hover { 
    transform: translateY(-6px); 
    border-color: rgba(255, 255, 255, 0.35);
}

.social-card.instagram { border-color: rgba(225, 48, 108, 0.35); }
.social-card.instagram i { color: #e1306c; transition: all 0.3s ease; }
.social-card.instagram:hover {
    background: rgba(225, 48, 108, 0.15);
    border-color: rgba(225, 48, 108, 0.8);
    box-shadow: 0 12px 40px rgba(225, 48, 108, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.social-card.instagram:hover i {
    filter: drop-shadow(0 0 12px rgba(225, 48, 108, 0.8));
}

.social-card.discord { border-color: rgba(88, 101, 242, 0.35); }
.social-card.discord i { color: #5865f2; transition: all 0.3s ease; }
.social-card.discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.18));
    border-color: rgba(88, 101, 242, 0.8);
    box-shadow: 0 14px 45px rgba(88, 101, 242, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.social-card.discord:hover i {
    filter: drop-shadow(0 0 14px rgba(88, 101, 242, 0.9));
    transform: scale(1.1);
}

.social-card.youtube { border-color: rgba(255, 0, 0, 0.35); }
.social-card.youtube i { color: #ff0000; transition: all 0.3s ease; }
.social-card.youtube:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(255, 0, 0, 0.18));
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 14px 45px rgba(255, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.social-card.youtube:hover i {
    filter: drop-shadow(0 0 14px rgba(255, 0, 0, 0.9));
    transform: scale(1.1);
}

:focus { outline: 2px solid rgba(255, 255, 255, 0.3); outline-offset: 3px; }

.text-gradient-sky,
.section-title,
.news-header-title {
    background: linear-gradient(90deg, #ffffff 0%, #ff4d4d 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons and hover effects (replace blue glows) */
.btn, .btn-primary, .btn-login, .btn-admin, .btn-profile, .btn-secondary {
    background: linear-gradient(135deg, #0f0f0f, #191919);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn-admin { background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.14)); }

.btn-primary:hover, .btn-login:hover, .btn-admin:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #181818, #222);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-profile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Compact glass button for small actions */
.btn-glass-compact {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glass-compact:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.18);
}

.btn-profile:hover {
    background: #f5f5f5;
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 18px rgba(255,255,255,0.28);
    color: #0f0f0f;
}

/* Live cards and avatars */
.live-card:hover { border-color: #ffffff; box-shadow: 0 12px 34px rgba(255,255,255,0.16); }
.live-card .stream-title { color: #ffffff; }
.live-card:hover .stream-title { color: #ffffff; }
.stream-stats i { color: #ffffff; }
.channel-avatar { border-color: #ffffff; }

/* Search focus */
.search-container input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* Remove residual blue gradients in live text */
.live-section .text-gradient-sky { background: linear-gradient(90deg, #ffffff 0%, #ff4d4d 50%, #ffffff 100%); }

/* Spotlight hover tint */
.spotlight-effect:hover { border-color: rgba(255, 255, 255, 0.35); }

:focus { outline: 2px solid rgba(255, 255, 255, 0.32); outline-offset: 3px; }

.text-gradient-sky {
    background: linear-gradient(90deg, #ffffff 0%, #ff4d4d 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn, .btn-primary, .btn-login, .btn-admin, .btn-profile {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.btn-primary, .btn-login {
    background: linear-gradient(135deg, #111, #181818);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.btn-admin { background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.14)); }

.btn-profile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover, .btn-login:hover, .btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #181818, #222);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-profile:hover {
    background: #f5f5f5;
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 0 18px rgba(255,255,255,0.28);
    color: #0f0f0f;
}

.search-container input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

.live-card:hover { border-color: #ffffff; box-shadow: 0 12px 34px rgba(255,255,255,0.16); }
.live-card .stream-title { color: #ffffff; }
.live-card:hover .stream-title { color: #ffffff; }
.stream-stats i { color: #ffffff; }
.channel-avatar { border-color: #ffffff; }

.hero-buttons button.btn-primary { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.hero-buttons button.btn-secondary { border-color: rgba(255,255,255,0.18); }

.spotlight-effect:hover { border-color: rgba(255, 0, 0, 0.3); }

/* Header status colors (online green, offline red) */
.header-status .status-online { color: #ffffff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.header-status .status-offline { color: #ff3b3b; text-shadow: 0 0 8px rgba(255, 59, 59, 0.35); }
.header-status .dot.online { background: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.header-status .dot.offline { background: #ff3b3b; box-shadow: 0 0 10px rgba(255, 59, 59, 0.35); }

/* Final status colors: green online, red offline */
.status-online {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.status-offline {
    color: #ff3b3b;
    text-shadow: 0 0 10px rgba(255, 59, 59, 0.35);
    font-weight: 700;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-speed);
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    position: absolute;
    top: 180%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #000000;
    border: 1px solid var(--glass-border);
    min-width: 240px;
    border-radius: 10px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #ffffff;
}

/* --- 5. HERO LAYOUT (Left Content / Right Stats) --- */
.hero-wrapper {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    margin-top: 20px;
    position: relative;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 0.6s ease;
}

.hero-wrapper.scrolled::before {
    opacity: 0;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 60px;
}

/* Left Side */
.hero-left {
    flex: 1;
    text-align: left;
}

.hero-logo img {
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-left h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons button {
    padding: 16px 35px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    z-index: 2;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Success State for Copy */
.copy-success {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Mini Stats Styling */
.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat .label {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.mini-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
}

/* Right Side (Stats) */
.hero-right {
    flex: 0 0 320px; /* Fixed width for stats column */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.6);
}

.stat-box .icon-glow {
    font-size: 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.12);
}

/* New vertical stats container for separated cards */
.stats-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.premium-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    padding: 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stat-header h3 { margin: 0; font-size: 1rem; color: #dbeafe; }

.status-badge {
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px dashed rgba(255,255,255,0.03);
}

.stat-row .label { color: #9aa8bf; font-size: 0.8rem; }
.stat-row .value { font-family: 'Rajdhani', sans-serif; font-weight: 800; color: #fff; }

/* Staff section luxury grid and header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.staff-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

/* Stats Layout */
.stats-container-vertical { display: flex; flex-direction: column; gap: 20px; }
.premium-card { padding: 25px; border-radius: 24px; min-width: 280px; }
.stat-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.status-badge { font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 10px; }

/* Luxury Staff Grid */
.staff-grid-luxury {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.staff-card-round {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px;
    border-radius: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.staff-card-round:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}


.add-staff-card {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(200,200,200,0.06));
    border: 2px dashed rgba(255,255,255,0.25);
}

.add-staff-card:hover {
    border-color: rgba(255,255,255,0.6);
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(200,200,200,0.1));
}

.add-staff-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
}

.staff-avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, #ffffff, rgba(0,0,0,0));
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000000;
    display: block;
}

.staff-name { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: white; margin: 6px 0 4px; text-align: center; }
.staff-rank { font-size: 0.75rem; color: #dcdcdc; letter-spacing: 2px; text-transform: uppercase; }

/* Admin Controls */
.admin-only {
    display: none;
}

.btn-add-staff {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.btn-add-staff:hover { background: #f5f5f5; color: #0f0f0f; box-shadow: 0 0 15px rgba(255,255,255,0.35); }

.admin-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.admin-remove-btn:hover { background: #f5f5f5; color: #0f0f0f; box-shadow: 0 0 15px rgba(255,255,255,0.35); }

/* Ensure mobile looks good */
@media (max-width: 900px) {
    .hero-right { width: 100%; max-width: 420px; }
    .stats-container-vertical { gap: 14px; }
    .staff-card-round { width: 160px; padding: 16px; border-radius: 20px; }
    .staff-avatar-wrapper { width: 90px; height: 90px; }
    .premium-card { min-width: unset; width: 100%; }
}

.stat-info h3 {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-info p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.status-online { color: #ffffff; text-shadow: 0 0 10px rgba(255,255,255,0.6); }

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #000000;
    padding: 40px 0 15px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

.footer-desc { color: #666; max-width: 300px; font-size: 14px; line-height: 1.6; }

.footer-links h4 { color: #fff; margin-bottom: 15px; font-size: 15px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: #777; transition: 0.3s; font-size: 14px; }
.footer-links a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #444;
    font-size: 12px;
}

/* News / Gallery page (glass, premium) */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.news-header-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.news-subtitle {
    color: #cbd5e1;
    margin: 6px 0 0;
    font-size: 1rem;
    line-height: 1.5;
}

.page-stats {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-stats strong { color: #fff; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(12px);
}

.news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 50% 20%, rgba(255,255,255,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.news-card:hover::after { opacity: 1; }

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 18px 18px 20px;
}

.news-date {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.4rem;
    margin: 0 0 12px;
    color: #fff;
}

.news-body {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.admin-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: none;
    gap: 8px;
}

.news-card:hover .admin-controls { display: flex; }


.btn-admin {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-admin:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }

.btn-create {
    background: linear-gradient(135deg, #2a2a2a, #1b1b1b);
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-create:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,0.25); }

@media screen and (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-left { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-right { width: 100%; max-width: 400px; }
    .nav-links { display: none; }
    .news-container { padding: 80px 16px; }
    .news-header-title { font-size: 2.4rem; }
    .news-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
/* --- UPDATED HEADER STYLES --- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    /* ... existing header styles ... */
}

/* 1. Left Section (Logo) */
.logo {
    flex: 1; /* Pushes content to occupy space */
    display: flex;
    justify-content: flex-start;
    /* ... existing logo styles ... */
}

/* 2. Center Section (Navigation) */
.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 3. Right Section (Profile Icon) */
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Pushes button to the far right */
}

/* Profile Button Style */
.btn-profile {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Makes it a perfect circle */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-profile:hover {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: #000; /* Icon turns black on hover for contrast */
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    header {
        padding: 10px 20px;
    }
    
    .nav-center {
        display: none; /* Hide nav links on mobile */
    }
    
    .logo {
        flex: auto; /* Allow logo to take necessary space */
    }
    
    .header-right {
        flex: auto;
    }
}
/* Gradient Text Animation */
.text-gradient-sky {
    /* 1. Define the colors: White -> Red -> White */
    background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #ff4d4d 50%, 
        #ffffff 100%
    );
    
    /* 2. Make the background bigger so it can move */
    background-size: 200% auto;
    
    /* 3. Clip the background to the text shape */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* 4. Add the movement animation */
    animation: gradientMove 17s linear infinite;
}

/* Keyframes to make the gradient move */
@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
/* --- LIVE SECTION LAYOUT --- */
.live-section {
    padding: 80px 10%;
    background: transparent; /* Assumes site background is already dark */
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}



/* --- SEARCH BAR --- */
.search-container {
    position: relative;
    width: 300px;
}

/* Override for YouTube page to allow full-width search bar */
.live-section ~ .search-container,
main > .search-container {
    width: 100% !important;
    max-width: 640px;
    margin: 0 auto;
}

/* But inside controls-wrapper, let it flex naturally */
.controls-wrapper .search-container {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.search-container input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 20px 12px 45px;
    border-radius: 50px;
    color: white;
    font-family: 'Outfit', sans-serif;
    outline: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Admin actions on YouTube */
.live-admin-actions {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.live-admin-actions button {
    pointer-events: auto;
}

.live-section {
    position: relative;
    z-index: 1;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
}

/* --- GRID LAYOUT --- */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* --- LIVE CARD STYLES --- */
.live-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: block;
}

.live-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.12);
}

/* YouTube placeholder page */
.youtube-placeholder-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.youtube-placeholder-card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 30%, rgba(255,0,0,0.25), transparent 45%),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.14), transparent 40%);
    filter: blur(22px);
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.youtube-placeholder-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
}

.youtube-placeholder-card:hover::after {
    opacity: 1;
}

.youtube-placeholder-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    background: linear-gradient(120deg, #ffffff, #ff4d4d, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.youtube-placeholder-subtitle {
    margin: 0 0 18px 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.6;
}

.youtube-placeholder-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Thumbnail Area */
.thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}

.thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.live-card:hover .thumbnail-wrapper img {
    transform: scale(1.1);
}

/* Live Badge with Pulse */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffffff;
    color: #0f0f0f;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.pulse {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}



/* Hover Play Button */
.hover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: rgba(0, 0, 0, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.3s ease;
}

.live-card:hover .hover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Content Area */
.card-content {
    padding: 15px;
}

.stream-info {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.channel-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.text-info {
    flex: 1;
    overflow: hidden;
}

.stream-title {
    color: white;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-card:hover .stream-title {
    color: #ffffff;
}

.channel-name {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

/* Delete Button */
.btn-delete {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.btn-delete:hover {
    background: rgba(255, 80, 80, 0.2);
    border-color: rgba(255, 80, 80, 0.5);
    color: #ff5050;
    transform: scale(1.05);
}



/* Stats Row */
.stream-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.stream-stats i {
    color: #ffffff;
    margin-right: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .live-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-container {
        width: 100%;
    }
}
:root {
    --primary: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg-dark: #000000;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#site-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, #000000, #0a0a0a, #000000);
    z-index: -2;
    transition: filter 0.8s ease;
}

.blur-active { filter: blur(10px) brightness(0.5); }

/* Luxury Glass Cards */
.spotlight-effect {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spotlight-effect:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.spotlight-effect::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.18), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* Admin Controls */
.admin-tools {
    display: none; /* Hidden by default */
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}


/* User Profile in Header */
.user-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary);
}

.nav-username {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.signout-btn {
    background: transparent;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: 0.3s;
}

.signout-btn:hover {
    color: white;
    transform: scale(1.1);
}

/* Discord Presence Pulse */
.stat-row p {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
:root {
    --primary: #ffffff;
    --bg: #000000;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

body { background: var(--bg); color: white; font-family: 'Outfit', sans-serif; margin: 0; }



.blur-active { filter: blur(15px) brightness(0.4); }

/* Luxury Glass Cards */
.spotlight-effect {
    position: relative; background: var(--glass); backdrop-filter: blur(15px);
    border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}

.spotlight-effect::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.18), transparent 40%);
    z-index: 1; pointer-events: none;
}

/* User Profile Sync Styles */
.user-profile-wrapper {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.05); padding: 5px 12px; border-radius: 50px; border: 1px solid var(--border);
}

.nav-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--primary); }
.signout-btn { background: none; border: none; color: #f0f0f0; cursor: pointer; transition: 0.3s; }
.signout-btn:hover { transform: scale(1.2); color: white; }

/* Admin Grid Tools */
.admin-only { position: absolute; top: 10px; right: 10px; z-index: 10; display: none; }
.btn-admin { background: rgba(255, 255, 255, 0.2); border: 1px solid #ffffff; color: white; padding: 5px 10px; border-radius: 5px; cursor: pointer; }

/* STAFF SECTION STYLES */
.staff-section {
    padding: 100px 5%;
    background: transparent;
}
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.staff-card {
    padding: 20px;
    text-align: center;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.staff-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }

.staff-img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    padding: 3px;
    overflow: hidden;
}

.staff-img-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.staff-name { font-size: 1.1rem; margin-bottom: 4px; color: #fff; }
.staff-rank { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }

.staff-social {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    transition: 0.3s;
}

.staff-card:hover .staff-social {
    color: white;
}


body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#site-background {
    position: fixed; inset: 0; z-index: -1;
    background: linear-gradient(to bottom, #000000, #0a0a0a, #000000);
    transition: filter 0.8s ease;
}

/* Spotlight Luxury Effect */
.spotlight-effect {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.spotlight-effect::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 0, 0, 0.15), transparent 40%);
    z-index: 1; pointer-events: none;
}

/* Staff Cards */
.staff-section { padding: 100px 5%; text-align: center; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.staff-card {
    padding: 40px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.staff-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.staff-img-wrapper {
    width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; padding: 5px;
    background: linear-gradient(45deg, #ffffff, transparent);
}

.staff-img-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #000000; }

.staff-name { font-family: 'Rajdhani'; font-size: 1.8rem; margin: 5px 0; }
.staff-rank { color: #dcdcdc; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }

/* Header Profile Sync */
.user-profile-wrapper { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 5px 12px; border-radius: 50px; border: 1px solid var(--glass-border); }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--primary); }

/* Access Denied panel styles */
.access-denied {
    max-width: 720px;
    margin: 20px auto;
    padding: 22px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10,12,16,0.78), rgba(10,12,16,0.72));
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 12px 30px rgba(2,6,23,0.45);
    text-align: center;
}
.access-denied .access-inner { max-width: 640px; margin: 0 auto; }
.access-denied .access-title { font-size: 1.6rem; margin-bottom: 6px; color: #ff7b7b; }
.access-denied .access-desc { color: #c8d2dd; font-size: 0.95rem; line-height: 1.45; margin: 0 auto; max-width: 580px; }
.access-denied .access-actions { margin-top: 14px; }
.access-denied .btn-primary { padding: 10px 16px; border-radius: 8px; }
.access-denied .btn-login { padding: 10px 16px; border-radius: 8px; }

@media (max-width: 760px) {
    .access-denied { padding: 16px; margin: 12px; }
    .access-denied .access-title { font-size: 1.25rem; }
    .access-denied .access-desc { font-size: 0.92rem; }
    .access-denied .access-actions { flex-direction: column; gap: 10px; }
    .access-denied .btn-primary, .access-denied .btn-login { width: 100%; }
}

/* Standardize button sizing across the site */
:root {
    --btn-font: 14px;
    --btn-padding-y: 10px;
    --btn-padding-x: 18px;
    --btn-height: 44px;
}

.btn, .btn-primary, .btn-login, .btn-admin, .btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    min-height: var(--btn-height);
    font-size: var(--btn-font);
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid rgba(255,255,255,0.35); color: #ffffff; }
.btn-login { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid rgba(255,255,255,0.32); color: #ffffff; }
.btn-admin { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.btn-profile { width: 45px; height: 45px; padding: 0; border-radius: 50%; }

.btn-primary:hover, .btn-login:hover, .btn-admin:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.24); background: linear-gradient(135deg, #252525, #1b1b1b); border-color: rgba(255,255,255,0.55); }

/* Profile / No access sizing tweaks */
.user-profile-wrapper { gap: 10px; padding: 6px 12px; }
.user-profile-wrapper .nav-username { font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-profile-wrapper .nav-username.no-access { color: #ffb3b3; font-weight:700; }

/* Header status tweaks */
.header-status { font-size: 0.85rem; gap:8px; }
.header-status .dot { width: 10px; height: 10px; }

@media (max-width: 900px) {
    :root { --btn-font: 13px; --btn-padding-y: 9px; --btn-padding-x: 14px; --btn-height: 40px; }
    .user-profile-wrapper .nav-username { max-width: 100px; font-size: 12px; }
}



/* Header button specifics */
.header-right .btn-login {
    padding: 8px 14px;
    border-radius: 999px;
}

/* Hero button full width on smaller screens */
@media (max-width: 900px) {
    .hero-left .btn-primary { width: 100%; justify-content: center; }
    .header-right { min-width: 0; }
}

/* Small tweak: ensure hero and header areas align visually when profile is present */
.user-profile-wrapper .nav-username { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Header variant for pages that should not show glass-blue */
#main-header.no-bg, header.no-bg {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

