/* File: tv/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Poppins:wght@400;600;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: radial-gradient(circle, #0f2027, #203a43, #2c5364); /* Tema warna gelap elegan */
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /* Hilangkan scrollbar di TV */
    height: 100vh;
    width: 100vw;
}

.tv-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* --- HEADER --- */
.tv-header {
    height: 12vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3vw;
    border-bottom: 3px solid #0ea5e9;
}
.header-left { display: flex; align-items: center; gap: 1.5vw; }
.header-left .logo { font-size: 5vh; color: #0ea5e9; }
.header-left h2 { font-size: 3.5vh; font-weight: 800; letter-spacing: 2px; margin-bottom: -5px; }
.header-left p { font-size: 2vh; color: #cbd5e1; }
.header-right h1 { font-family: 'Oswald', sans-serif; font-size: 6.5vh; font-weight: 700; color: #facc15; }

/* --- MAIN CONTENT --- */
.tv-main {
    flex: 1;
    display: flex;
    padding: 2vw;
    gap: 2vw;
}

/* Kolom Kiri (Media & Kas) */
.tv-media { flex: 7; display: flex; flex-direction: column; gap: 2vw; }
.media-box { 
    flex: 1; 
    background-color: rgba(255, 255, 255, 0.05); 
    border-radius: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.media-content { text-align: center; }
.media-content h1 { font-size: 6vh; margin-bottom: 1vh; color: #0ea5e9; }
.media-content p { font-size: 3vh; opacity: 0.8; }

.kas-box {
    height: 15vh;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3vw;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.kas-box h3 { font-size: 3vh; font-weight: 600; }
.kas-box h2 { font-size: 5vh; font-family: 'Oswald', sans-serif; font-weight: 700; }

/* Kolom Kanan (Jadwal Sholat) */
.tv-jadwal { 
    flex: 3; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5vh; 
}
.jadwal-header {
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 1.5vh;
    font-size: 3.5vh;
    font-weight: 800;
    border-radius: 15px;
    color: #facc15;
    border: 2px solid rgba(250, 204, 21, 0.3);
}
.jadwal-item {
    background-color: rgba(255, 255, 255, 0.1);
    flex: 1;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
    font-size: 3.5vh;
    font-weight: 600;
    transition: all 0.5s;
}
.jadwal-item.active {
    background-color: #10b981;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}
.waktu-sholat { font-family: 'Oswald', sans-serif; font-size: 4.5vh; font-weight: 700; }

/* --- FOOTER / RUNNING TEXT --- */
.tv-footer {
    height: 8vh;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    border-top: 2px solid rgba(255,255,255,0.1);
}
.ticker-label {
    background-color: #ef4444;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2vw;
    font-size: 2.5vh;
    font-weight: 800;
    z-index: 10;
}
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 2vw;
}
.ticker-move {
    display: inline-block;
    animation: ticker 25s linear infinite;
    font-size: 3.5vh;
    font-weight: 600;
}
@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* --- OVERLAY IQAMAH --- */
.fullscreen-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000000;
    z-index: 999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white; text-align: center;
}
#iqamahTitle { font-size: 10vh; color: #facc15; margin-bottom: 2vh; text-transform: uppercase; }
#iqamahTimer { font-size: 30vh; font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 1; color: #ef4444; }
.iqamah-msg { font-size: 5vh; margin-top: 5vh; color: #cbd5e1; }