@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body.light-theme .hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}

body.light-theme .hero-section::before {
    opacity: 0.08;
}

body.light-theme .hero-section h1 {
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .play-pause-btn {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .play-pause-btn.playing {
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.4);
}

body.light-theme .audio-player-bar {
    background: rgba(255, 255, 255, 0.85);
}

body.light-theme .volume-slider-wrapper {
    background: rgba(255, 255, 255, 0.95);
}

body.light-theme .volume-slider-wrapper::after {
    background: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background: var(--bg-dark);
    /* fallback */
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Add a subtle noise overlay for texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opactity='0.4'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* =========================================
   2. SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-bg-hover);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}




/* =========================================
   5. MAIN CONTENT
   ========================================= */
.main-content {
    padding: 0 40px 140px 40px;
    /* Space for bottom player */
    min-height: 100vh;
}


/* Hero Section */
.hero-section {
    border-radius: 28px;
    padding: 50px 60px;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
    /* Create a gradient background overlay */
    background: linear-gradient(135deg, rgba(20, 22, 35, 0.6) 0%, rgba(20, 22, 35, 0.2) 100%);
}

/* Ambient glow in hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    pointer-events: none;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(225, 29, 72, 0.15);
    /* Default is online style */
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.live-badge.online {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.live-badge.offline {
    background: rgba(128, 128, 128, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(128, 128, 128, 0.3);
    box-shadow: none;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--accent-glow);
    animation: animate-pulse 2s infinite;
}

/* Make pulse white when background is red */
.live-badge.online .pulse {
    background: #ffffff;
    animation: animate-pulse-white 2s infinite;
}

@keyframes animate-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

@keyframes animate-pulse-white {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 10px;
}

.stats-row {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.stat-item i {
    color: var(--accent);
}

/* Grid Layout for Albums / Cards */
.grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%) scale(0.8);
    opacity: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.card:hover .card-play-btn {
    opacity: 1;
    transform: translate(-50%, -85%) scale(1);
}

/* =========================================
   6. AUDIO PLAYER BAR
   ========================================= */
.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    height: var(--player-height);
    background: rgba(10, 12, 18, 0.85);
    /* Darker for bottom anchor */
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    transition: left var(--transition), width var(--transition);
}

body.sidebar-toggled .audio-player-bar {
    left: 0;
    width: 100%;
}

/* Top Edge Progress Bar */
.progress-bar-top {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    z-index: 1001;
    margin: 0;
    /* dynamic fill hack */
    background: linear-gradient(to right, var(--accent) var(--val, 0%), rgba(255, 255, 255, 0.05) var(--val, 0%));
}

.progress-bar-top::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 6px;
    /* Pill shape */
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 10px var(--accent-glow);
    cursor: pointer;
}

.progress-bar-top:hover {
    height: 6px;
    top: -3px;
}

/* Player Info Section */
.player-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.img-thumb-container {
    position: relative;
    flex-shrink: 0;
}

.img-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    background: rgba(225, 29, 72, 0.05);
    flex-shrink: 0;
}

.pulse-soft {
    animation: animate-pulse-soft 3s infinite alternate;
}

@keyframes animate-pulse-soft {
    0% {
        box-shadow: 0 0 10px rgba(225, 29, 72, 0.1);
    }

    100% {
        box-shadow: 0 0 25px rgba(225, 29, 72, 0.3);
    }
}

.song-title-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.song-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-program {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Player Controls Section */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.play-pause-btn {
    background: var(--text-main);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.play-pause-btn .morph-path {
    fill: var(--bg-dark);
    transition: d 0.3s ease;
}

.play-pause-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.play-pause-btn.playing {
    background: var(--accent);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.play-pause-btn.playing .morph-path {
    fill: #fff;
}

/* Connecting/Loading State — same red glow as playing with spinner */
.play-pause-btn.connecting {
    background: var(--accent);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.play-pause-btn.connecting .morph-path {
    fill: none;
    stroke: #fff;
}

/* ── YouTube Paper Spinner ─────────────────────────────── */
.btn-icon-spinner {
    position: relative;
    width: 22px;
    height: 22px;
    animation: container-rotate 1568ms linear infinite;
}

.btn-icon-spinner .spinner-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #ffffff;
}

.btn-icon-spinner .layer-1 {
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,
               layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.btn-icon-spinner .layer-2 {
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,
               layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.btn-icon-spinner .layer-3 {
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,
               layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.btn-icon-spinner .layer-4 {
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,
               layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

@keyframes container-rotate {
    to { transform: rotate(360deg); }
}

@keyframes fill-unfill-rotate {
    12.5% { transform: rotate(135deg); }
    25%   { transform: rotate(270deg); }
    37.5% { transform: rotate(405deg); }
    50%   { transform: rotate(540deg); }
    62.5% { transform: rotate(675deg); }
    75%   { transform: rotate(810deg); }
    87.5% { transform: rotate(945deg); }
    to    { transform: rotate(1080deg); }
}

@keyframes layer-1-fade-in-out { from, 25% { opacity: 0.99; } 26%, to { opacity: 0; } }
@keyframes layer-2-fade-in-out { from, 25% { opacity: 0; } 26%, 50% { opacity: 0.99; } 51%, to { opacity: 0; } }
@keyframes layer-3-fade-in-out { from, 50% { opacity: 0; } 51%, 75% { opacity: 0.99; } 76%, to { opacity: 0; } }
@keyframes layer-4-fade-in-out { from, 75% { opacity: 0; } 76%, 100% { opacity: 0.99; } }

.btn-icon-spinner .circle-clipper {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}

.btn-icon-spinner .circle-clipper.left { float: left; }
.btn-icon-spinner .circle-clipper.right { float: right; }

.btn-icon-spinner .circle {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 200%;
    height: 100%;
    border-width: 3px;
    border-style: solid;
    border-color: inherit;
    border-bottom-color: transparent !important;
    border-radius: 50%;
    animation: none;
}

.btn-icon-spinner .circle-clipper.left .circle {
    border-right-color: transparent !important;
    transform: rotate(129deg);
    animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.btn-icon-spinner .circle-clipper.right .circle {
    left: -100%;
    border-left-color: transparent !important;
    transform: rotate(-129deg);
    animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

@keyframes left-spin {
    from { transform: rotate(130deg); }
    50%  { transform: rotate(-5deg); }
    to   { transform: rotate(130deg); }
}

@keyframes right-spin {
    from { transform: rotate(-130deg); }
    50%  { transform: rotate(5deg); }
    to   { transform: rotate(-130deg); }
}

/* Override warna spinner di state connecting (putih di atas bg merah) */
.play-pause-btn.connecting .btn-icon-spinner .spinner-layer {
    color: #ffffff;
}

body.light-theme .play-pause-btn.connecting {
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.4);
}

/* Player Tools Section */
.player-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
}

.time-text {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.volume-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider-wrapper {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 15px 10px;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.volume-slider-wrapper.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.volume-slider {
    writing-mode: bt-lr;
    /* IE */
    -webkit-appearance: slider-vertical;
    /* Webkit/Chrome */
    appearance: slider-vertical;
    /* Standar */
    width: 6px;
    height: 90px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================= */

@media screen and (max-width: 1024px) {
    .main-content {
        padding: 0 30px 160px 30px;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    /* Stack player bar elements: pindahkan song-title-wrapper & info ke atas controls agar judul tidak terjepit */
    .audio-player-bar,
    body.sidebar-toggled .audio-player-bar {
        height: auto;
        padding: 12px 24px;
        flex-direction: column;
        gap: 8px;
    }

    .player-info {
        flex: unset;
        width: 100%;
        justify-content: flex-start;
        min-width: 0;
    }

    .player-controls {
        flex: unset;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .player-tools {
        flex: unset;
        width: 100%;
        justify-content: center;
    }

    .time-text {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .main-content {
        padding: 0 20px 160px 20px;
    }

    /* Mobile: audio player bar full width (sidebar tersembunyi) */
    .audio-player-bar,
    body.sidebar-toggled .audio-player-bar {
        left: 0;
        width: 100%;
        padding: 12px 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        padding: 30px 20px;
    }

    .hero-section h1 {
        font-size: 2.0rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Efek Denyut Merah untuk Thumbnail (Online) */
@keyframes pulse-red-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
        background-color: rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
        background-color: rgba(255, 0, 0, 0.4);
        border-color: rgba(255, 0, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
        background-color: rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.3);
    }
}

.thumb-online {
    animation: pulse-red-glow 2.5s infinite alternate ease-in-out !important;
    color: #ff4444 !important;
    /* Warna ikon menjadi merah */
}

/* State Offline untuk Thumbnail */
.thumb-offline {
    background-color: #2a2a2a !important;
    border-color: #444 !important;
    color: #777 !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Efek Denyut untuk Teks Jadwal Sekarang */
@keyframes text-pulse-glow {
    0% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }

    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
}

.text-pulse {
    animation: text-pulse-glow 2.5s infinite ease-in-out;
    font-weight: 600;
}

/* Styling untuk Jadwal Selanjutnya */
.next-program {
    font-size: 0.75rem;
    color: #aaaaaa;
    margin-top: 2px;
    font-weight: 400;
}

/* =========================================
   INLINE SVG STYLING & THEME TOGGLE
   ========================================= */
.vot-logo-svg {
    /* Ukuran logo seragam */
    width: var(--logo-width);
    height: auto;
    /* Transisi halus untuk elemen SVG */
    transition: all var(--transition);
}

.vot-logo-svg * {
    transition: fill var(--transition), stroke var(--transition);
}

/* Saat light-theme aktif di body, elemen dengan warna putih diubah menjadi hitam */
body.light-theme .vot-logo-svg [fill="#FFFFFF"],
body.light-theme .vot-logo-svg [fill="#ffffff"],
body.light-theme .vot-logo-svg [fill="white"] {
    fill: #000000 !important;
}

body.light-theme .vot-logo-svg [stroke="#FFFFFF"],
body.light-theme .vot-logo-svg [stroke="#ffffff"],
body.light-theme .vot-logo-svg [stroke="white"] {
    stroke: #000000 !important;
}
/* =========================================
   JADWAL SIARAN MINGGUAN (modal dari sidebar)
   ========================================= */
.jadwal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 16px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jadwal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.jadwal-modal {
    width: 100%;
    max-width: 980px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 26px 30px;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jadwal-overlay.open .jadwal-modal {
    transform: none;
}

.jadwal-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.jadwal-modal-head h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.jadwal-modal-head h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.jadwal-modal-close {
    background: var(--glass-bg-hover);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.jadwal-modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.jadwal-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.jadwal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.jadwal-day {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px 18px 14px;
    transition: var(--transition);
}

.jadwal-day:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.jadwal-day.today {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 28px var(--accent-glow);
}

.jadwal-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.jadwal-day-name {
    font-weight: 700;
    font-size: 1.02rem;
}

.jadwal-day.today .jadwal-day-name {
    color: var(--accent);
}

.today-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.jadwal-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 6px;
    border-radius: 10px;
}

.jadwal-row.now {
    background: rgba(225, 29, 72, 0.16);
    padding: 8px 10px;
    margin: 2px -4px;
}

.jadwal-time {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 92px;
}

.jadwal-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jadwal-acara {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.25;
}

.jadwal-row.now .jadwal-acara {
    font-weight: 700;
}

.jadwal-penyiar {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.jadwal-penyiar i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.onair-chip {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: center;
}

.jadwal-empty {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 8px 0;
}

.jadwal-foot {
    margin-top: 22px;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 1024px) {
    .jadwal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .jadwal-overlay {
        padding: 2vh 10px 12px;
    }

    .jadwal-modal {
        padding: 20px 14px;
    }

    .jadwal-grid {
        grid-template-columns: 1fr;
    }

    .jadwal-modal-head h2 {
        font-size: 1.15rem;
    }
}
