:root { 
    --shadow-light: rgba(0,0,0,0.1); 
    --shadow-dark: rgba(0,0,0,0.2); 
    /* Variabel warna lama tidak lagi digunakan, diganti warna baru */
} 

* { margin: 0; padding: 0; box-sizing: border-box; } 

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    min-height: 100vh; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); 
    background-size: 400% 400%; 
    animation: gradientAnimation 15s ease infinite; 
} 

@keyframes gradientAnimation { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
} 

#pageNotification { position: fixed; top: 20px; left: 20px; background: rgba(0, 0, 0, 0.85); color: white; padding: 12px; border-radius: 8px; z-index: 10000; width: 90%; max-width: 250px; box-shadow: 0 5px 20px rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); opacity: 0; transform: translateX(-20px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; } 
#pageNotification.visible { opacity: 1; transform: translateX(0); pointer-events: auto; } 
.notification-content { display: flex; align-items: center; gap: 10px; } 
.notification-icon { font-size: 14px; font-weight: bold; background-color: #e74c3c; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } 
.notification-text p { font-size: 13px; margin-bottom: 10px; line-height: 1.4; } 
.notification-buttons { display: flex; gap: 8px; } 
.notification-btn { flex-grow: 1; padding: 7px; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; font-size: 12px; transition: background-color 0.2s ease, transform 0.2s ease; } 
.notification-btn:active { transform: scale(0.95); } 
#notificationExitBtn { background-color: #555; color: white; } 
#notificationContinueBtn { background-color: #27ae60; color: white; } 

/* --- PERUBAHAN WARNA LATAR UTAMA --- */
.container { 
    max-width: 1200px; 
    width: 100%; 
    margin: 0 auto; 
    background: #28756E; /* Warna latar putih diubah */
    border-radius: 15px; 
    box-shadow: 0 20px 40px var(--shadow-dark); 
    overflow: hidden; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
} 

.main-video-section, .playlist-section { padding: 30px; } 

/* --- PERUBAHAN WARNA LATAR PLAYLIST --- */
.playlist-section { 
    background: #2AD9DE; /* Warna semu kuning diubah */
} 

.video-embed-container { position: relative; width: 100%; max-width: 800px; margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px var(--shadow-dark); background: #000; aspect-ratio: 16 / 9; }
.video-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-title-container { display: flex; justify-content: space-between; align-items: center; max-width: 800px; margin: 0 auto 15px auto; flex-wrap: wrap; gap: 10px; }

/* --- PENYESUAIAN WARNA TEKS JUDUL --- */
.video-title { 
    flex-grow: 1; 
    text-align: left; 
    margin: 0; 
    font-size: 24px; 
    color: #f0f0f0; /* Warna teks diubah agar terbaca */
    font-weight: 600; 
} 
.playlist-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: #1A5276; /* Warna teks diubah agar kontras */
    font-weight: 700;
}

.playlist-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; max-width: 800px; margin: 0 auto; } 
.playlist-item { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px var(--shadow-light); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; border: 3px solid transparent; background-color: #000; } 
.playlist-item:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 8px 25px var(--shadow-dark); } 
.playlist-item img { width: 100%; height: 180px; object-fit: cover; display: block; transition: opacity 0.3s ease; }
.playlist-item:hover img { opacity: 0.7; }
.playlist-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 15px; font-size: 14px; font-weight: 500; } 
.playlist-item.active { border-color: #f1c40f; box-shadow: 0 0 15px #f1c40f; } 

.pagination-controls { display: flex; justify-content: center; align-items: center; margin-top: 30px; gap: 15px; }
.pagination-btn { padding: 10px 20px; border: none; border-radius: 5px; background-color: #3498db; color: white; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.pagination-btn:hover:not(:disabled) { background-color: #2980b9; }
.pagination-btn:disabled { background-color: #ccc; cursor: not-allowed; }
#pageIndicator { font-size: 16px; font-weight: 500; color: #2C3E50; }

.site-footer { text-align: center; padding: 20px; color: #bdc3c7; margin-top: auto; }
.site-footer a { color: #bdc3c7; margin: 0 10px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.feature-controls { max-width: 800px; margin: 0 auto 20px auto; display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.search-container { flex-grow: 1; display: flex; }
#searchInput { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px 0 0 5px; font-size: 16px; outline: none; }
#searchBtn { padding: 10px 15px; border: none; background-color: #3498db; color: white; cursor: pointer; border-radius: 0 5px 5px 0; font-weight: 600; }

.category-controls { max-width: 800px; margin: 0 auto 30px auto; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* --- EFEK ANIMASI & UKURAN BARU UNTUK SEMUA TOMBOL --- */
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.random-btn, .sponsored-btn, .category-btn {
    padding: 12px 24px; /* Ukuran sedikit lebih besar */
    border: none;
    border-radius: 8px; /* Sedikit lebih bulat */
    color: white;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background-size: 300% 300%;
    animation: animated-gradient 10s ease infinite;
    font-size: 15px; /* Ukuran font sedikit lebih besar */
}
.random-btn:hover, .sponsored-btn:hover, .category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.random-btn { background-image: linear-gradient(to right, #2ecc71, #27ae60, #16a085); }
.sponsored-btn { background-image: linear-gradient(to right, #e67e22, #d35400, #f39c12); }
.category-btn {
    background-image: linear-gradient(to right, #3498db, #2980b9, #8e44ad);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.category-btn.active {
    background-image: linear-gradient(to right, #e74c3c, #c0392b, #d35400);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

/* Penyesuaian lain-lain untuk tampilan gelap */
.ad-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); z-index: 11000; display: none; justify-content: center; align-items: center; } 
.ad-overlay.visible { display: flex; } 
.ad-content { position: relative; background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); min-width: 300px; min-height: 250px; display: flex; justify-content: center; align-items: center; } 
.close-ad-btn { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; background-color: #333; color: #fff; border: 2px solid #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; line-height: 1; cursor: pointer; font-weight: bold; } 
#interstitialAdContainer { width: 100%; height: 100%; }
.banner-ad-container { max-width: 800px; margin: 0 auto 30px auto; display: flex; justify-content: center; align-items: center; min-height: 50px; }
.adsbox { opacity: 0; position: absolute; bottom: 0; left: 0; height: 1px; width: 1px; pointer-events: none; }
.adblock-content { background-color: white; color: #333; padding: 30px 40px; border-radius: 10px; text-align: center; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.adblock-content h2 { color: #c0392b; margin-bottom: 15px; }

@media (max-width: 768px) { body { padding: 10px; } .main-video-section, .playlist-section { padding: 20px; } .video-title { font-size: 20px; } } 
@media (max-width: 480px) { #pageNotification{ top: 10px; left: 10px; } .main-video-section, .playlist-section { padding: 15px; } .feature-controls { flex-direction: column; } }