:root { --primary-color: #27ae60; --shadow-light: rgba(0,0,0,0.1); --shadow-dark: rgba(0,0,0,0.2); --light-sea-blue: #F3D9A2; --download-btn-bg: #3498db; --download-btn-hover-bg: #2980b9; } 
* { 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; } 
.container { max-width: 1200px; width: 100%; margin: 0 auto; background: #FFF8E7; 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, .cool-button-section { padding: 30px; } 
.playlist-section { background: var(--light-sea-blue); } 
.video-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; transition: aspect-ratio 0.4s ease; } 
video { width: 100%; height: 100%; display: block; object-fit: contain; } 
.video-title, .playlist-title { text-align: center; margin: 20px 0; font-size: 24px; color: #333; font-weight: 600; } 
.download-button-container { text-align: right; max-width: 800px; margin: 0 auto 15px auto; } 
.download-btn { display: inline-block; padding: 10px 20px; background-color: var(--download-btn-bg); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease; } 
.download-btn:hover { background-color: var(--download-btn-hover-bg); transform: scale(1.05); } 
.playlist-container { display: grid; grid-template-columns: repeat(auto-fit, 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; } 
.playlist-item:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 8px 25px var(--shadow-dark); } 
.playlist-item video { width: 100%; height: 180px; object-fit: cover; } 
.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 .download-btn { position: absolute; top: 10px; right: 10px; padding: 6px 12px; font-size: 12px; z-index: 5; } 
video::-webkit-media-controls-download-button { display: none !important; } 
.loader { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; border: 5px solid rgba(255, 255, 255, 0.2); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; transform: translate(-50%, -50%); display: none; z-index: 10; } 
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } } 
.video-container.loading .loader { display: block; } 
.playlist-item.active { border-color: var(--primary-color); box-shadow: 0 0 15px var(--primary-color); } 
.cool-button-section { text-align: center; padding: 30px 20px; } 
.cool-button { display: inline-block; padding: 15px 40px; font-size: 18px; font-weight: bold; color: white; text-decoration: none; border-radius: 50px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: all 0.3s ease; background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); background-size: 300% 300%; animation: coolButtonAnimation 8s ease infinite; } 
.cool-button:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.3); } 
@keyframes coolButtonAnimation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
#adblock-overlay { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); color: white; display: none; justify-content: center; align-items: center; text-align: center; padding: 20px; }
#adblock-overlay h2 { font-size: 24px; margin-bottom: 15px; }
#adblock-overlay p { font-size: 16px; line-height: 1.6; max-width: 500px; }
.adsbox { height: 1px; width: 1px; position: absolute; left: -9999px; top: -9999px; pointer-events: none; }
.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: var(--download-btn-bg); color: white; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.pagination-btn:hover:not(:disabled) { background-color: var(--download-btn-hover-bg); }
.pagination-btn:disabled { background-color: #ccc; cursor: not-allowed; }
#pageIndicator { font-size: 16px; font-weight: 500; color: #333; }
.site-footer { text-align: center; padding: 20px; color: grey; margin-top: auto; }
.site-footer a { color: grey; margin: 0 10px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.feature-controls { max-width: 800px; margin: 0 auto 30px 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; }
#searchBtn { padding: 10px 15px; border: none; background-color: var(--download-btn-bg); color: white; cursor: pointer; border-radius: 0 5px 5px 0; font-weight: 600; }

/* --- PERUBAHAN UTAMA: TOMBOL ANIMASI HIJAU BARU --- */
.sponsored-btn-animated { 
    padding: 10px 20px; 
    border: none; 
    border-radius: 5px; 
    color: white; 
    font-weight: 600; 
    cursor: pointer; 
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #27ae60, #2ecc71, #27ae60);
    background-size: 300% 300%;
    animation: greenButtonAnimation 8s ease infinite;
}
.sponsored-btn-animated:hover {
    transform: scale(1.05);
}
@keyframes greenButtonAnimation { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}
/* --- AKHIR PERUBAHAN --- */

@media (max-width: 768px) { body { padding: 10px; } .main-video-section, .playlist-section, .cool-button-section { padding: 20px; } .cool-button { font-size: 16px; padding: 12px 30px; } } 
@media (max-width: 480px) { #pageNotification{ top: 10px; left: 10px; } .main-video-section, .playlist-section, .cool-button-section { padding: 15px; } .cool-button { width: 100%; max-width: 300px; } .feature-controls { flex-direction: column; } }