:root {
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #8a2be2;
    /* Neon Purple */
    --bg-dark: #0f0f13;
    --bg-card: #1a1a24;
    --text-light: #ffffff;
    --text-dim: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 80px;
    /* Space for sticky player */
}

h1,
h2,
h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Header */
.main-header {
    background-color: rgba(15, 15, 19, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.frequency {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 4px;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.login-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

/* Stats Section */
.stats-bar {
    background: linear-gradient(90deg, #121216 0%, #1c1c25 50%, #121216 100%);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.stats-bar .container {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-icon {
    color: #ff0000;
    animation: pulse 2s infinite;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

@keyframes pulse {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px red;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 5px red;
    }
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: var(--bg-card);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    /* Force slide to be 100% width of slider */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: auto;
    /* Maintains aspect ratio */
    display: block;
    object-fit: cover;
    /* Ensures coverage if height is constrained, though auto height prevents this usually */
    object-position: center;
    /* Centers the image if cropping occurs */
}

/* Mobile check: ensure no fixed heights force cropping */
/* Mobile check: ensure robust display */
/* Mobile check: Natural height for full visibility */
@media (max-width: 768px) {
    .hero-slider {
        height: auto !important;
        min-height: 0 !important;
    }

    .slide {
        height: auto !important;
        background: transparent;
    }

    .slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        /* Remove any forced max-height unless extreme */
    }
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: center;
}

/* Sections General */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.news-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-tag {
    background: var(--secondary-color);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.news-content h3 {
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.center-btn {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

/* Schedule Section */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.program-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.active-program {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.dj-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background-size: cover;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.days-label {
    display: block;
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.time {
    display: block;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.badge-live {
    background: red;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

/* Contact Section */
.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.interaction-form input,
.interaction-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
}

.interaction-form button {
    width: 100%;
}

/* Footer */
.main-footer {
    background: #050505;
    padding: 40px 0 100px;
    /* Extra padding for player */
    text-align: center;
}

.social-links {
    margin: 20px 0;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-light);
    margin: 0 10px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}

/* Sticky Player */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 19, 0.98);
    border-top: 1px solid var(--secondary-color);
    padding: 15px 0;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.play-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.neon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.neon-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.now-playing {
    flex-grow: 1;
    margin: 0 40px;
    background: #000;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #333;
}

.album-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 15px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.equalizer span {
    display: inline-block;
    width: 3px;
    height: 15px;
    background: var(--secondary-color);
    margin: 0 1px;
    animation: equalizer 1s infinite alternate;
}

.equalizer span:nth-child(2) {
    animation-delay: 0.1s;
}

.equalizer span:nth-child(3) {
    animation-delay: 0.2s;
}

.equalizer span:nth-child(4) {
    animation-delay: 0.3s;
}

.equalizer span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes equalizer {
    0% {
        height: 5px;
    }

    100% {
        height: 20px;
    }
}

.track-info {
    margin-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-text 15s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    border: 1px solid var(--secondary-color);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

/* News Modal Specifics */
.news-modal-content {
    max-width: 800px;
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
}

.news-modal-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.news-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.news-modal-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ddd;
}

.news-link-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Ideal scenario would be a burger menu, skipped for simplicity as requested 'responsive grid' focus first */
    }

    .stats-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo-box {
        text-align: center;
        width: 100%;
    }

    .main-header .container {
        justify-content: center;
    }

    .now-playing {
        display: none;
        /* Hide scrolling text on small screens to save space */
    }

    .player-container {
        justify-content: space-between;
    }
}

.pulsing-icon {
    animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--primary-color);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px var(--primary-color);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--primary-color);
    }
}