/* ==========================================================================
   1. DASAR & VARIABEL (OPTIMASI MOBILE)
   ========================================================================== */
:root {
    --bg-dark: #070911;
    --card-bg: rgba(18, 22, 39, 0.85);
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff007f;
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent; /* Hilangkan kedipan tap di Chrome mobile */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.05) 0%, rgba(0,0,0,0) 70%);
    top: -50px;
    right: -50px;
    z-index: -1;
}

/* ==========================================================================
   2. TAMPILAN DEFAULT - MOBILE FIRST (< 768px)
   ========================================================================== */

/* NAVBAR RINGKAS (Nyaman diakses jempol) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(7, 9, 17, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-wrapper { display: flex; align-items: center; gap: 8px; }
.main-logo-svg { width: 24px; height: 24px; filter: drop-shadow(0 0 5px var(--neon-magenta)); }
.logo-text { font-size: 1.1rem; font-weight: 900; letter-spacing: 1px; }
.logo-text .neon-text { color: var(--neon-magenta); }

.partner-btn-nav {
    background: linear-gradient(90deg, var(--neon-magenta), #b30059);
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

/* HERO SLICK & PADAT */
.hero {
    text-align: center;
    padding: 45px 20px 30px 20px;
}
.hero-tag {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: bold;
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}
.gradient-text {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.5;
}
.cta-scroll {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--neon-cyan);
    padding: 10px 24px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* CONTAINER & KARTU BERTUMPUK VERTIKAL */
.container {
    padding: 16px;
}
.vs-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.card-header .category {
    font-size: 0.65rem;
    color: var(--neon-cyan);
    font-weight: bold;
    letter-spacing: 1px;
}
.card-header h2 {
    font-size: 1.3rem;
    margin-top: 6px;
    margin-bottom: 20px;
}

/* LAYOUT VERSUS MOBILE (Vertikal Stack) */
.split-screen {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.side {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 6px;
}
.side-left { border-left: 3px solid var(--neon-cyan); }
.side-right { border-left: 3px solid var(--neon-magenta); }
.side h3 { font-size: 1rem; margin-bottom: 6px; }
.side-left h3 { color: var(--neon-cyan); }
.side-right h3 { color: var(--neon-magenta); }
.side p { color: #cbd5e1; font-size: 0.85rem; line-height: 1.5; }

/* BADGE PEMBATAS DI TENGAH */
.vs-divider {
    text-align: center;
    margin: 4px 0;
}
.vs-divider span {
    background: #070911;
    border: 1px solid var(--border);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 12px;
    color: var(--neon-magenta);
}

/* TOMBOL VOTE UKURAN BESAR (Thumb-Friendly) */
.voting-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.btn-vote {
    flex: 1;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}
.vote-l:active, .vote-l:hover { border-color: var(--neon-cyan); background: rgba(0, 240, 255, 0.05); }
.vote-r:active, .vote-r:hover { border-color: var(--neon-magenta); background: rgba(255, 0, 127, 0.05); }

/* ANCHOR LINK BAWAH */
.article-footer {
    border-top: 1px solid var(--border);
    margin-top: 16px;
    padding-top: 12px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-muted);
}
.anchor-partner {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: bold;
}

/* POPUP MOBILE OPTIMIZED */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 6, 12, 0.9);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.popup-overlay.show { opacity: 1; pointer-events: auto; }
.popup-content {
    background: #0e111f;
    border: 1px solid var(--neon-magenta);
    padding: 30px 20px;
    width: 88%;
    max-width: 380px;
    border-radius: 6px;
    text-align: center;
    position: relative;
}
.popup-close {
    position: absolute; top: 10px; right: 14px;
    background: transparent; border: none; color: var(--text-muted); font-size: 1.5rem;
}
.popup-badge {
    font-size: 0.6rem; background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan); padding: 2px 8px; border-radius: 10px;
    display: inline-block; margin-bottom: 12px; font-weight: bold;
}
.popup-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.popup-content p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 20px; }
.popup-btn {
    display: block; background: var(--neon-cyan); color: #000;
    text-decoration: none; padding: 12px 0; font-weight: bold; font-size: 0.85rem; border-radius: 4px;
}
.popup-btn .highlight { background: #000; color: #fff; padding: 1px 4px; border-radius: 2px; font-size: 0.75rem; }

/* FOOTER */
footer {
    text-align: center; padding: 25px 16px; background: #04050a;
    border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted);
}
footer a { color: var(--neon-magenta); text-decoration: none; font-weight: bold; }


/* ==========================================================================
   3. RESPONSIVE EXTENSION - UNTUK LAYAR PC / LAPTOP (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .navbar { padding: 16px 8%; }
    .logo-text { font-size: 1.3rem; }
    
    .hero { padding: 80px 20px 50px 20px; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
    
    .container { max-width: 960px; margin: 0 auto; }
    .card-header h2 { font-size: 1.6rem; }
    
    /* Perubahan Jadi Berdampingan (.sbs) di Desktop */
    .split-screen { flex-direction: row; gap: 20px; position: relative; }
    .side { flex: 1; padding: 24px; }
    
    .vs-divider {
        position: absolute; top: 50%; left: 50%;
        transform: translate(-50%, -50%); margin: 0; z-index: 10;
    }
    .vs-divider span { padding: 8px 12px; border-radius: 50%; }
    
    .voting-box { max-width: 500px; margin: 25px auto 0 auto; }
    .btn-vote { transition: all 0.2s; }
    .btn-vote:hover { transform: translateY(-2px); }
}