:root { --primary-color: #27ae60; --shadow-light: rgba(0,0,0,0.1); --shadow-dark: rgba(0,0,0,0.2); --light-sea-blue: #F3D9A2; --button-bg: #3498db; --button-hover-bg: #2980b9; --download-btn-bg: #e67e22; --download-btn-hover-bg: #d35400;} 
* { 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 { padding: 30px; } 
.playlist-section { background: var(--light-sea-blue); } 
.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; }
.video-title { flex-grow: 1; text-align: left; margin: 0; font-size: 24px; color: #333; font-weight: 600; } 
.source-btn { display: inline-block; padding: 8px 16px; background-color: var(--button-bg); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: background-color 0.3s ease; }
.source-btn:hover { background-color: var(--button-hover-bg); }
.download-button-container { text-align: right; max-width: 800px; margin: 15px auto 0 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; } 
.download-btn:hover { background-color: var(--download-btn-hover-bg); }
.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: var(--primary-color); box-shadow: 0 0 15px var(--primary-color); } 
.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(--button-bg); color: white; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.pagination-btn:hover:not(:disabled) { background-color: var(--button-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 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; }
#searchBtn { padding: 10px 15px; border: none; background-color: var(--button-bg); color: white; cursor: pointer; border-radius: 0 5px 5px 0; font-weight: 600; }
.random-btn { padding: 10px 20px; border: none; border-radius: 5px; background-color: var(--primary-color); color: white; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.category-controls { max-width: 800px; margin: 0 auto 30px auto; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.category-btn { padding: 8px 16px; border: 1px solid var(--primary-color); border-radius: 20px; background-color: white; color: var(--primary-color); cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
.category-btn.active, .category-btn:hover { background-color: var(--primary-color); color: white; }
@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; } }