/* --- THEME ROOT CONFIGURATION --- */
[data-theme="dark"] {
    --bg-main: #050508;
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(0, 86, 179, 0.15) 0%, transparent 40%),
                   radial-gradient(circle at 90% 80%, rgba(217, 20, 20, 0.1) 0%, transparent 40%);
    --primary-blue: #23edff;
    --primary-red: #d91414;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(15, 15, 25, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(5, 5, 8, 0.6);
}

[data-theme="light"] {
    --bg-main: #f4f6f9;
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(0, 86, 179, 0.06) 0%, transparent 40%),
                   radial-gradient(circle at 90% 80%, rgba(217, 20, 20, 0.05) 0%, transparent 40%);
    --primary-blue: #23edff ;
    --primary-red: #042d66;
    --text-light: #121214;
    --text-muted: #5c5c64;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-blur: blur(20px);
    --input-bg: rgba(0, 0, 0, 0.02);
    --input-border: rgba(0, 0, 0, 0.1);
    --header-bg: rgba(244, 246, 249, 0.7);
}

/* --- BASE & CORE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- STICKY HEADER & CONFIG --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 65px;
    width: auto;
}

.logo-main {
    height: 65px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.live-badge {
    background: var(--primary-red);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    animation: pulse 1.5s infinite;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* --- HERO SLIDER --- */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide.active { opacity: 1; }

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.95);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(75deg, rgba(0, 0, 0, 0.85) 60%, transparent 55%);
    z-index: -1;
}

.slide-content {
    max-width: 650px;
    z-index: 10;
}

.slide-tag {
    font-family: 'Orbitron', sans-serif;
    color: #23edff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.slide-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
}

.slide-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 25, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
}

.arrow-prev { left: 30px; }
.arrow-next { right: 30px; }

/* --- ECOSYSTEM CHANNELS --- */
.ecosystem-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 30px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.channel-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.channel-icon-wrapper {
    width: 75px;
    height: 75px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.channel-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.channel-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.channel-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    height: 70px;
}

.btn-subscribe {
    background: var(--primary-red);
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 20, 20, 0.3);
}

.btn-subscribe:hover {
    background: #b80f0f;
}

/* --- ABOUT US SECTION --- */
.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 50px;
}

.about-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 8px;
    width: 80%;
}

.stat-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: white;
}

.stat-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
}

/* --- CONTACT FORM --- */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px 100px;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-light);
    padding: 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
}

/* --- FOOTER --- */
footer {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--glass-border);
    padding: 60px 30px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 350px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a { color: var(--text-muted); }

/* --- CORE ANIMATIONS & MEDIA RESPONSIVENESS --- */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@media (max-width: 968px) {
    .slide-content h1 { font-size: 2.5rem; }
    nav { display: none; }
    .about-container { grid-template-columns: 1fr; }
}



/* ==========================================================================
   REAL9TV VIBRANT ECOSYSTEM CHANNELS - TRENDY GRAPHICS FIXED
   ========================================================================== */

/* --- 1. R9TV News (Vibrant Neon Blue Theme) --- */
.channels-grid .news-card .channel-icon-wrapper {
    background: rgba(35, 35, 255, 0.15) !important;
    border: 1px solid rgba(35, 35, 255, 0.4) !important;
}
.channels-grid .news-card .channel-icon-wrapper i {
    color: #2323FF !important; /* Your signature vibrant blue */
    text-shadow: 0 0 15px rgba(35, 35, 255, 0.6) !important;
}

/* --- 2. R9TV AI Beats (Vibrant Cyber Pink/Purple Theme) --- */
.channels-grid .music-card .channel-icon-wrapper {
    background: rgba(236, 72, 153, 0.15) !important;
    border: 1px solid rgba(236, 72, 153, 0.4) !important;
}
.channels-grid .music-card .channel-icon-wrapper i {
    color: #ec4899 !important;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.6) !important;
}

/* --- 3. R9TV Spiritual (Vibrant Saffron Gold/Orange Theme) --- */
.channels-grid .spiritual-card .channel-icon-wrapper {
    background: rgba(249, 115, 22, 0.15) !important;
    border: 1px solid rgba(249, 115, 22, 0.4) !important;
}
.channels-grid .spiritual-card .channel-icon-wrapper i {
    color: #f97316 !important;
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.6) !important;
}


/* --- Slider Navigation Dots --- */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: #2323FF; /* Your vibrant neon blue color */
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(35, 35, 255, 0.8);
}






/* FRESH HERO SLIDER CORE STYLES */

.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Hide all slides by default */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    z-index: 1;
}

/* Display only the active slide */
.slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5 !important;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 0%);
    z-index: -1;
}

.slide-content {
    max-width: 800px;
    z-index: 10;
    color: #fff;
}

/* --- Navigation Arrows --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50 !important;
    transition: background 0.3s, transform 0.2s;
}

.arrow-prev { left: 30px; }
.arrow-next { right: 30px; }

.slider-arrow:hover {
    background: #2323FF;
    transform: translateY(-50%) scale(1.1);
}

/* --- Dynamic Auto Animated Dots --- */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 50 !important;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2323FF;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(35, 35, 255, 0.8);
}


/* --- FORCES DOTS TO FLOAT HIGHER UP ON OVERLAY --- */
.slider-dots {
    position: absolute !important;
    bottom: 60px !important; /* Raises the dots higher above the browser edge */
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 12px !important;
    z-index: 999 !important; /* Guarantees they float above all image overlays */
}

.dot {
    width: 14px !important; /* Slightly larger for easier clicking */
    height: 14px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.dot.active {
    background: #23edff !important; /* Distinct blue color for active slide */
    transform: scale(1.2) !important;
    box-shadow: 0 0 12px rgba(35, 35, 255, 0.9) !important;
}


/* ==========================================================================
   FORCE DOTS VISIBILITY LAYER
   ========================================================================== */

/* Push the hero slider container to accept visible overflows if needed */
.hero-slider {
    position: relative !important;
}

/* Force the container to float explicitly over everything else */
#sliderDots.slider-dots {
    position: absolute !important;
    bottom: 80px !important; /* Raised significantly high up from the screen bottom */
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    z-index: 99999 !important; /* Highest possible layer depth */
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Make the individual circles thick and brightly visible */
#sliderDots .dot {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 244, 39, 0.912) !important;
    border: 2px solid rgba(0, 0, 0, 0.5) !important; /* High contrast outline */
    cursor: pointer !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

/* Active indicator blue spotlight glow */
#sliderDots .dot.active {
    background-color: #23edff !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 15px #2323FF, 0 0 5px #23edff !important;
}





/* ==========================================================================
   REAL9TV NAVIGATION & SLIDER LAYER ENGINE (CLEAN CONSOLIDATED)
   ========================================================================== */

/* 1. Global Header Depth (Always Stays on Top) */
header, 
.main-header, 
.site-header, 
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #00004f !important;
    z-index: 9999999 !important; /* Absolute top layer above everything */
}

/* 2. Desktop Navigation Menu Placement */
header nav, 
.nav-container, 
.nav-links {
    margin-left: auto !important;
    display: flex !important;
    gap: 30px !important;
}

/* 3. Slider Dots Core Container (Underneath Header Layer) */
#sliderDots.slider-dots {
    position: absolute !important;
    bottom: 80px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important; /* Floats over slide images, but slips behind the header */
}

/* 4. Individual Indicator Circles */
#sliderDots .dot {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 214, 33) !important;
    border: 2px solid rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

/* 5. Active Spotlight Indicator Glow */
#sliderDots .dot.active {
    background-color: #23edff !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 15px #2323FF, 0 0 5px #2323FF !important;
}

/* ==========================================================================
   MOBILE MEDIA OVERRIDES (BELOW 768px)
   ========================================================================== */
@media (max-width: 768px) {
    header, 
    .main-header {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 15px 0 !important;
        height: auto !important;
        gap: 15px !important;
    }

    header nav, 
    .nav-container, 
    .nav-links {
        margin-left: 0 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 15px !important;
    }

    .hero-slider {
        height: 100vh !important;
        min-height: 600px !important;
        display: flex !important;
        flex-direction: column !important;
        z-index: 10 !important;
    }

    .slide {
        padding: 140px 6% 80px 6% !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .slide-content {
        max-width: 100% !important;
        text-align: center !important;
        width: 100% !important;
    }

    .slide-content h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .slide-content p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
        background: rgba(15, 15, 25, 0.8) !important;
    }
    
    .arrow-prev { left: 10px !important; }
    .arrow-next { right: 10px !important; }

    #sliderDots.slider-dots {
        bottom: 30px !important;
    }
}
}