 <style>
 .video-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

    .promo-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.promo-content {
  background: #1f1f1f;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  position: relative;
}

.promo-close {
  position: absolute;
  top: 10px; right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.promo-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: #8b78d1;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.promo-button:hover {
  background: #a18bd6;
}
    .filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 500;
    transition: 0.3s;
}
.filter-btn:hover {
    background: rgba(255,255,255,0.2);
}
.filter-btn.active {
    background: white;
    color: #8b78d1;
}
        * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%); color: white; min-height: 100vh; } .header { background: linear-gradient(90deg, #8b78d1, #8b78d1); padding: 1rem 2rem; box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3); } .nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; } .logo { font-size: 2rem; font-weight: bold; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .upload-btn { display: flex; align-items: center; } .upload-button { padding: 0.75rem 1.5rem; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.3); border-radius: 25px; color: white; font-weight: 600; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); font-size: 0.9rem; text-decoration: none; } .upload-button:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1); } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } .section-title { font-size: 1.4rem; margin-bottom: 1.5rem; background: linear-gradient(45deg, #8b78d1, #8b78d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .video-grid { display: grid; gap: 1.5rem; margin-bottom: 3rem; } @media (max-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } } @media (min-width: 769px) { .video-grid { grid-template-columns: repeat(5, 1fr); } } .video-card { background: linear-gradient(145deg, #2a2a2a, #1f1f1f); border-radius: 15px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 8px 25px rgba(0,0,0,0.3); position: relative; } .video-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2); } .video-thumbnail { width: 100%; aspect-ratio: 16/9; background-color: #333; background-size: cover; background-position: center; position: relative; overflow: hidden; } .thumbnail-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; } .video-card:hover .thumbnail-overlay { opacity: 1; } .play-button { width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #8b78d1; font-size: 1.5rem; backdrop-filter: blur(10px); transition: transform 0.3s ease; text-decoration: none;} .play-button:hover { transform: scale(1.1); } .video-info { padding: 1rem; } .video-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .video-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.7); } .view-count { display: flex; align-items: center; gap: 0.3rem; } .duration { background: rgba(255,107,53,0.8); padding: 0.2rem 0.5rem; border-radius: 10px; font-size: 0.7rem; } .donation-banner { background: linear-gradient(135deg, #8b78d1, #8b78d1, #8b78d1); border-radius: 20px; padding: 1.5rem; margin-bottom: 2rem; position: relative; box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3); overflow: hidden; animation: pulseGlow 3s ease-in-out infinite; } @keyframes pulseGlow { 0%, 100% { box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3); } 50% { box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5); } } .donation-content { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; } .donation-icon { font-size: 3rem; animation: heartbeat 2s ease-in-out infinite; } .donation-text { flex: 1; min-width: 250px; } .donation-text h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .donation-text p { color: rgba(255,255,255,0.9); line-height: 1.4; margin: 0; } .donation-btn { padding: 1rem 2rem; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.4); border-radius: 30px; color: white; font-weight: bold; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); white-space: nowrap; } .donation-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); } .pagination-bottom { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 2px solid rgba(255, 107, 53, 0.2); } .pagination-btn { padding: 0.5rem 1rem; background: linear-gradient(45deg, #2a2a2a, #1f1f1f); border: 2px solid transparent; border-radius: 20px; color: white; cursor: pointer; transition: all 0.3s ease; font-weight: 500; } .pagination-btn:hover { background: linear-gradient(45deg, #8b78d1, #8b78d1); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3); } .pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .pagination-btn:disabled:hover { background: linear-gradient(45deg, #2a2a2a, #1f1f1f); box-shadow: none; } .page-info { color: rgba(255,255,255,0.8); font-weight: 500; } 
        
        /* ===== ATURAN CSS UNTUK TAMPILAN MOBILE ===== */
        @media (max-width: 768px) { 
            .header { padding: 1rem; } 
            .nav { flex-direction: row; justify-content: space-between; } 
            .logo { font-size: 1.5rem; }
            .upload-button { padding: 0.5rem 1rem; font-size: 0.8rem; }
            .container { padding: 1rem; } 
            .video-title { font-size: 0.8rem; } 
            .video-info { padding: 0.8rem; } 
            .pagination-bottom { gap: 0.5rem; justify-content: center; margin-top: 2rem; } 
            .pagination-btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; } 
            .donation-content { flex-direction: column; text-align: center; gap: 1rem; } 
            .donation-icon { font-size: 2.5rem; } 
            .donation-text h3 { font-size: 1.3rem; } 
            .donation-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; } 
        } 

        .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 1000; backdrop-filter: blur(10px); } .modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 800px; background: #1f1f1f; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); } .modal-video { width: 100%; aspect-ratio: 16/9; background: linear-gradient(45deg, #667eea, #764ba2); } .modal-info { padding: 1.5rem; } .close-btn { position: absolute; top: 10px; right: 15px; background: rgba(255,255,255,0.2); border: none; color: white; font-size: 1.5rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; } .close-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
    </style>