@font-face {
    font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYAZ9hiA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --bg: #0f0f0f;
    --text: #fff;
    --font: 'Inter', sans-serif;
    --cyan: #22d3ee;
    --dark-card: #161616;
}

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

body { background: var(--bg); color: var(--text); font-family: var(--font); display: flex; flex-direction: column; min-height: 100vh; }

.top-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #333; background: var(--dark-card); position: sticky; top: 0; z-index: 2000; }
.logo { font-size: 1.2rem; letter-spacing: 1px; color: var(--cyan); text-decoration: none; font-weight: bold; }
.nav-link { color: #ccc; text-decoration: none; display: inline-flex; align-items: center; transition: color 0.2s; }
.nav-link:hover { color: var(--cyan); }
.nav-link svg { fill: currentColor; width: 24px; height: 24px; }

.container { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px 15px; }

.hero-shuffle { background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%); border: 1px solid #312e81; padding: 25px; border-radius: 16px; text-align: center; margin-bottom: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.hero-shuffle h1 { font-size: 1.5rem; margin-bottom: 8px; color: #fff; }
.hero-shuffle p { font-size: 0.9rem; color: #94a3b8; margin-bottom: 15px; }

.shuffle-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--cyan); color: #001018; padding: 12px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; text-transform: uppercase; font-size: 0.95rem; box-shadow: 0 4px 20px rgba(34,211,238,0.4); transition: transform 0.1s ease; }
.shuffle-btn:active { transform: scale(0.96); }

.tabs-nav { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #272727; padding-bottom: 10px; }
.tab-button { background: #1f1f1f; color: #aaa; border: none; padding: 10px 20px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.tab-button.active { background: var(--cyan); color: #000; }

.video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.video-card { background: var(--dark-card); border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }

/* BINTANG UTAMA PERBAIKANNYA ADA DI SINI */
.thumb-box { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; flex-shrink: 0; }
.thumb-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); padding: 3px 6px; border-radius: 4px; font-size: 11px; font-weight: bold; color: var(--cyan); }

.info-box { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.video-card-title { font-size: 13px; line-height: 1.4; font-weight: 600; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.video-meta { font-size: 11px; color: #64748b; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 40px; margin-bottom: 20px; width: 100%; }
.page-btn { background: #1f1f1f; color: #fff; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.2s; }
.page-btn:hover { background: var(--cyan); color: #000; }
.page-btn.disabled { background: #111; color: #444; pointer-events: none; }
.page-info { color: #888; font-size: 14px; font-weight: 500; }

.footer { margin-top: auto; padding: 25px; text-align: center; font-size: 13px; color: #555; border-top: 1px solid #272727; background: var(--dark-card); }

@media(max-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media(max-width: 600px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .hero-shuffle h1 { font-size: 1.25rem; } .hero-shuffle p { font-size: 0.8rem; } .shuffle-btn { padding: 10px 22px; font-size: 0.85rem; } .page-btn { padding: 8px 16px; font-size: 13px; } }