:root {
    --primary: #E50914;
    --bg-dark: #080808;
    --surface: #121214;
    --text-main: #FFFFFF;
    --text-dim: #888888;
    --border: rgba(255, 255, 255, 0.07);
    --accent-glow: rgba(229, 9, 20, 0.2);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

nav {
    position: fixed;
    top: 0; width: 100%; height: 80px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 6%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo { font-weight: 800; font-size: 1.6rem; letter-spacing: -1px; }
.logo span { color: var(--primary); }

#live-clock {
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}

.pulse-dot {
    width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-player {
    width: 100%; max-width: 1240px;
    margin: 110px auto 30px;
    padding: 0 20px;
}

.screen-frame {
    position: relative;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
}

video, iframe { width: 100%; height: 100%; border: none; }

.main-content { max-width: 1240px; margin: 0 auto 120px; padding: 0 20px; }

/* STYLE BARU INPUT PENCARIAN */
.search-container {
    margin: 20px 0 10px 0;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--accent-glow);
    background: #161619;
}

.group-header {
    margin: 40px 0 20px;
    display: flex; align-items: center; gap: 15px;
}

.group-header h2 { font-size: 1rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; }
.group-header .line { flex: 1; height: 1px; background: var(--border); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.ch-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 22px 10px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ch-card span { font-weight: 600; font-size: 0.9rem; color: var(--text-dim); display: block; }

.ch-card:hover {
    transform: scale(1.05);
    background: #1c1c20;
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.ch-card:hover span { color: white; }

.ch-card.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.ch-card.active span { color: white; }

footer {
    border-top: 1px solid var(--border);
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-logo { font-weight: 800; opacity: 0.4; margin-bottom: 10px; }
.copyright { color: var(--text-dim); font-size: 0.8rem; }

.info-bar {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(12px);
    padding: 12px 25px;
    border-radius: 100px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex; gap: 25px; z-index: 1000;
}

@media (max-width: 768px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    nav { height: 70px; }
    .hero-player { margin-top: 90px; }
}
