:root {
            --gold: #d4af37;
            --accent: #00ff88;
        }

        html, body {
            height: auto;
            min-height: 100%;
            overflow-y: auto;
            margin: 0; padding: 0;
            font-family: 'Poppins', sans-serif;
            background: #1a1a1a url('gambar3.jpg') no-repeat center center fixed;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 0;
        }

        /* --- HEADER & DATETIME --- */
        header {
            text-align: center;
            margin-bottom: 25px;
            position: relative;
            z-index: 1;
        }

        header h1 {
            color: var(--gold);
            font-family: 'Amiri Quran', serif;
            font-size: 2.5rem;
            margin: 0;
            line-height: 1.1;
        }

        .subtitle {
            color: var(--accent);
            letter-spacing: 2px;
            font-weight: 600;
            font-size: 0.9rem;
            margin: 5px 0 10px 0;
            text-transform: uppercase;
        }

        .datetime-wrapper {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 20px;
            padding: 4px 15px;
            display: inline-flex;
            gap: 10px;
            backdrop-filter: blur(5px);
            font-size: 0.8rem;
            color: #eee;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        #clock { font-weight: 600; color: var(--accent); letter-spacing: 1px; }
        #date { color: #ddd; }

        /* --- CONTAINERS --- */
        .panoramic-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 20px;
            position: relative;
            z-index: 1;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            max-width: 650px;
            margin-bottom: 25px;
            text-align: center;
        }

        #video-wrapper {
            width: 100%;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 16 / 9;
            border: 1px solid var(--gold);
            margin-bottom: 15px;
        }

        video { width: 100%; height: 100%; object-fit: contain; }

        select.btn-menu {
            width: 100%;
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 12px;
            border: 1px solid var(--gold);
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
        }

        .radio-controls { display: flex; gap: 10px; margin-top: 15px; }

        .btn-action {
            flex: 1;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.3);
            background: rgba(255,255,255,0.1);
            color: white;
            cursor: pointer;
            transition: 0.3s;
        }

        .playing-active { animation: pulse 2s infinite; }
        @keyframes pulse {
            0% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(0.98); }
            100% { opacity: 1; transform: scale(1); }
        }
		.sholat-item {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #fff;
    min-width: 80px;
}
/* Container Utama */
.sholat-container {
    margin-bottom: 20px !important;
    padding: 15px 0 !important;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5); /* Lebih gelap agar kontras */
    border: 1px solid var(--gold);
    height: auto !important; /* Memaksa kotak membesar mengikuti ukuran teks */
	min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
}

.sholat-header {
    color: var(--gold);
    font-size: 0.8rem; /* Sedikit lebih besar */
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
}

/* Row Animasi */
.sholat-row {
    display: flex;
    gap: 60px; /* Jarak antar jadwal diperlebar */
    width: max-content;
    white-space: nowrap;
    animation: running-sholat 30s linear infinite; /* Sedikit diperlambat agar nyaman dibaca */
}
@keyframes running-sholat {
    from { transform: translateX(100vw); } /* Mulai dari ujung kanan layar */
    to { transform: translateX(-100%); }   /* Berakhir setelah teks habis ke kiri */
}

/* Pause saat disentuh/hover agar mudah dibaca */
.sholat-row:hover {
    animation-play-state: paused;
}
.sholat-item {
    font-size: 1.1rem; /* Perbesar teks dari 0.95rem ke 1.1rem */
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sholat-item strong {
    color: var(--accent);
    font-size: 1.2rem; /* Jam sholat dibuat lebih menonjol */
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}