
        :root {
            --brand-red: #FF0000;
            --brand-yellow: #FFD700;
            --brand-dark: #1a1a1a;
            --soft-bg: #f8f9fa;
        }

        body {
            background-color: var(--soft-bg);
            font-family: 'Poppins', sans-serif;
            color: #333;
        }

        .hero-section { padding: 30px 0; background: #fff; }
        .slideshow-container { height: 500px; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
        .slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease-in-out; }
        .slide.active { opacity: 1; z-index: 2; }
        .slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
        .slide-content { position: absolute; bottom: 0; left: 0; padding: 60px 40px; color: #fff; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); z-index: 3; }

        .card-custom { background: #fff; border: none; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s ease; overflow: hidden; }
        .card-custom:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1); }

        .live-badge { background: var(--brand-red); color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; animation: pulse 2s infinite; }
        .offline-badge { background: #6c757d; color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; }

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

        .section-title { font-weight: 800; color: var(--brand-dark); margin-bottom: 25px; display: flex; align-items: center; justify-content: space-between; }
        .section-title span { position: relative; padding-bottom: 8px; }
        .section-title span::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 4px; background: var(--brand-red); border-radius: 10px; }

        .video-wrapper { position: relative; border-radius: 12px; overflow: hidden; }
        .play-overlay { position: absolute; inset: 0; background: rgba(255, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
        .video-wrapper:hover .play-overlay { opacity: 1; }
        .play-btn-circle { width: 45px; height: 45px; background: var(--brand-yellow); color: var(--brand-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 0 15px rgba(0,0,0,0.2); }

        .radio-box { background: linear-gradient(135deg, #FF0000 0%, #a10000 100%); color: white; border-radius: 15px; padding: 25px; box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2); border-left: 5px solid #FFD700; }

       /* --- Professional Royal Blue News Ticker --- */
.ticker-wrapper { 
    /* Royal Blue Gradient Background */
    background: linear-gradient(90deg, #002366 0%, #003399 50%, #002366 100%);
    border-bottom: 3px solid #FFD700; /* Gold bottom line */
    padding: 0; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    height: 46px;
    display: flex;
    align-items: center;
}

.ticker-container { 
    display: flex; 
    align-items: center; 
    width: 100%;
}

.ticker-label { 
    background: #e60000; /* Bright Red */
    color: white; 
    padding: 0 25px; 
    height: 46px;
    line-height: 46px;
    font-weight: 800; 
    font-size: 0.85rem; 
    white-space: nowrap; 
    z-index: 10; 
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
    
    /* Modern Angled Shape */
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.ticker-marquee { 
    flex-grow: 1; 
    overflow: hidden; 
    white-space: nowrap; 
}

.ticker-marquee marquee { 
    vertical-align: middle; 
    font-weight: 500; 
    font-size: 1rem; 
    color: #ffffff; 
}

.ticker-marquee marquee a { 
    color: #ffffff; 
    text-decoration: none; 
    margin-right: 60px; 
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.ticker-marquee marquee a:hover { 
    color: #FFD700; /* Hover කරන විට රන් පැහැයට හැරේ */
}

/* "Update" හෝ "News" ලේබලය සඳහා Badge එක */
.ticker-marquee marquee span.text-danger {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    color: #ffffff !important;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}
        
        audio#radioPlayer {
            width: 100%;
            height: 40px;
            border-radius: 30px;
            outline: none;
        }
        
        video#tvPlayer {
            width: 100%;
            height: 100%;
            background: #000;
            object-fit: contain;
        }
        
        .loading-spinner {
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
        }
        
        .spinner-border {
            width: 3rem;
            height: 3rem;
            border-width: 0.3em;
        }

        /* iOS/Mobile Play Button Overlay */
        .ios-play-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 20;
            cursor: pointer;
        }

        .ios-play-overlay.show {
            display: flex;
        }

        .ios-play-btn {
            width: 80px;
            height: 80px;
            background: var(--brand-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            box-shadow: 0 5px 20px rgba(255,0,0,0.4);
            transition: 0.3s;
        }

        /* Twitch Fallback Button */
        .twitch-fallback {
            display: none;
            position: absolute;
            inset: 0;
            background: #1a1a1a;
            color: white;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 100;
        }

        .twitch-fallback.show {
            display: flex;
        }

        audio#radioPlayer::-webkit-media-controls-panel {
            background-color: #f1f1f1;
        }
        .radio-box {
            transition: transform 0.3s ease;
        }
        .radio-box:hover {
            transform: translateY(-5px);
        }

        @media (max-width: 768px) {
            .slideshow-container { height: 250px; }
            .slide-content { padding: 20px; }
            .slide-content h1 { font-size: 1.5rem; }
        }
