/* --- SIPANWA 2.0 AESTHETIC --- */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --bg-dark: #0e1116; /* Navy sangat gelap */
    --gold: #d4af37;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --border-pixel: rgba(255, 255, 255, 0.2);
    --vox-red: #c92a2a;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* 1. HERO SECTION & PARALLAX */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noise-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1Ii8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.vignette-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, #0e1116 90%);
    z-index: 2;
    pointer-events: none;
}

.parallax-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. VOX TYPOGRAPHY */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

/* Efek Stabilo Emas (Highlight) */
.highlight-gold {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.hero-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300; /* Tipis agar kontras dengan judul yang tebal */
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7); /* Putih transparan agar terlihat mewah */
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Kedalaman teks */
}

/* Lady Justice dengan efek dramatis */
.lady-justice {
    height: 85vh;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.15)) grayscale(30%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.bg-text-giant {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: 20vw;
    color: rgba(255, 255, 255, 0.02);
    top: 50%;
    left: 0; /* Mulai dari pojok kiri */
    width: 100%; /* Penuhi lebar layar */
    text-align: center; /* Center horizontal pake text-align biar aman dari JS */
    margin-top: -10vw; /* Offset vertikal manual (setengah dari font-size) */
    white-space: nowrap;
    z-index: -1;
    pointer-events: none; /* Supaya nggak ganggu klik tombol di depannya */
    line-height: 1;
}

/* --- 3. CLASS GRID (REMASTERED) --- */
.class-grid-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, var(--bg-dark), #000);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin: 0;
}

.section-subtitle {
    font-family: 'Share Tech Mono', monospace; /* Pake font F1 tadi */
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 10px;
}

.vox-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 15px auto;
}

/* GRID SYSTEM - BIAR RAPI */
.class-container {
    display: grid;
    /* Ini magic-nya: Otomatis ngisi kolom sesuai lebar layar */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* KARTU KELAS */
.class-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--white);
    height: 120px; /* Tinggi fix biar seragam */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Layer Kaca (Background) */
.card-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    /* Pixel Border Hack */
    box-shadow: 
        inset 0 0 0 2px rgba(0,0,0,0.5), /* Inner shadow */
        0 4px 0 rgba(255,255,255,0.1); /* Bottom thick border */
    transition: all 0.3s ease;
}

/* Isi Konten */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 20px;
}

.class-letter {
    font-family: 'Press Start 2P', cursive; /* Font Pixel */
    font-size: 2.5rem;
    color: rgba(255,255,255,0.1); /* Samar-samar */
    text-shadow: 2px 2px 0 var(--bg-dark);
    transition: 0.3s;
}

.class-info h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Indikator Online F1 Style */
.status-indicator {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #4ade80; /* Hijau Neon */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.blink-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.pixel-arrow-icon {
    margin-left: auto; /* Dorong ke kanan mentok */
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--gold);
}

/* HOVER EFFECTS - BAGIAN KERENNYA */
.class-card:hover {
    transform: translateY(-5px);
}

.class-card:hover .card-glass {
    background: rgba(212, 175, 55, 0.05); /* Gold tint tipis */
    border-color: var(--gold);
    box-shadow: 
        inset 0 0 0 2px rgba(0,0,0,0.8),
        0 6px 0 var(--gold), /* Border bawah jadi emas */
        0 0 20px rgba(212, 175, 55, 0.2); /* Glow */
}

.class-card:hover .class-letter {
    color: var(--gold);
    transform: scale(1.1) rotate(-5deg); /* Efek goyang dikit */
}

.class-card:hover .pixel-arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Class khusus untuk Timer F1 */
.f1-timer-font {
    font-family: 'Share Tech Mono', monospace; /* Font ala Telemetry */
    font-variant-numeric: tabular-nums; /* Agar angka tidak bergeser */
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--gold); /* Biar warnanya emas */
}

/* --- VOX CINEMATIC FOOTER --- */

.vox-footer {
    background-color: #05070a; /* Lebih gelap dari body */
    color: var(--white);
    position: relative;
    padding: 80px 5% 30px;
    margin-top: auto; /* Dorong ke paling bawah */
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Inter', sans-serif;
}

/* Garis Emas Mewah di atas */
.footer-accent-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Kolom 1 lebih lebar */
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

/* BRAND COLUMN */
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0 0 20px 0;
    line-height: 1;
}

.gold-dot { color: var(--gold); }

.footer-desc {
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--gold);
    border-radius: 50px;
    background: rgba(197, 160, 89, 0.05);
}

/* NAVIGATION & LINKS */
.col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-item {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 8px 0;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.link-item:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* SOCIAL */
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    color: var(--white);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    transition: 0.3s;
}

.social-item:hover {
    color: var(--gold);
    letter-spacing: 1px;
}

/* BOTTOM BAR (CREDITS) */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.developer-credit {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.dev-name {
    color: var(--gold);
    font-weight: bold;
}

/* RESPONSIVE TABLET/MOBILE */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr; /* Jadi satu kolom memanjang */
        gap: 40px;
        text-align: center;
    }

    .footer-desc { margin: 0 auto 30px; }
    
    .link-item, .social-item {
        display: inline-block; /* Biar gak terlalu lebar pas mobile */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- SLIM FOOTER (COMPACT & ICONIC) --- */
.slim-footer {
    background: #05070a;
    border-top: 2px solid rgba(197, 160, 89, 0.3); /* Border emas tipis */
    padding: 30px 5% 15px;
    margin-top: auto;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Aman buat HP */
    gap: 20px;
    margin-bottom: 20px;
}

/* BRAND & ICON */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%; /* Lingkaran */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
    overflow: hidden;
}

.mini-lady {
    width: 100%;
    height: auto;
    /* Trik biar gambarnya agak keemasan/sepia */
    filter: sepia(100%) hue-rotate(5deg) contrast(1.2);
    transform: translateY(5px); /* Geser dikit biar pas mukanya */
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.brand-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}

/* NAVIGASI KANAN */
.footer-links-compact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-link {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
}

.f-link:hover {
    color: var(--gold);
}

/* --- BASE FOOTER ELEMENTS (DESKTOP) --- */

/* Tombol LEX-SEARCH */
.vault-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold) !important;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.5); /* Border Emas */
    padding: 6px 15px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.05);
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.vault-link:hover {
    background: var(--gold);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.icon-search-mini {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Dev Secret Zone Desktop */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between; /* Managed text di kiri, Dev Zone di kanan */
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-secret-zone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dev-secret-zone:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.slash { color: rgba(255,255,255,0.2); }

/* BOTTOM CREDITS */
.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

.gold-text { color: var(--gold); }

/* RESPONSIVE HP */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-brand { flex-direction: column; }
    
    .footer-links-compact {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* kjadhds */

/* --- F1 PARALLAX FOOTER STYLE --- */
        .f1-parallax-footer {
            position: relative;
            background: #05070a;
            border-top: 2px solid rgba(197, 160, 89, 0.3);
            padding: 40px 5% 20px;
            margin-top: auto;
            overflow: hidden; /* Penting biar background gak bocor */
        }

        /* Layer Background Bergerak */
        .footer-bg-grid {
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background-image: 
                linear-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(197, 160, 89, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: 0;
            opacity: 0.5;
            pointer-events: none;
        }

        .footer-noise {
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
            z-index: 1;
            pointer-events: none;
        }

        .relative-content {
            position: relative;
            z-index: 2; /* Konten di atas background */
        }

        /* Secret Dev Zone */
        .dev-secret-zone {
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.75rem;
            color: rgba(255,255,255,0.4);
            cursor: pointer;
            padding: 5px 10px;
            border: 1px solid transparent;
            transition: 0.3s;
            background: rgba(0,0,0,0.3);
            border-radius: 4px;
        }

        .dev-secret-zone:hover {
            color: var(--gold);
            border-color: rgba(197, 160, 89, 0.3);
            background: rgba(197, 160, 89, 0.05);
        }

        .status-led {
            width: 6px; height: 6px;
            background-color: #4ade80; /* Hijau Standby */
            border-radius: 50%;
            box-shadow: 0 0 5px #4ade80;
            transition: 0.3s;
        }

        .dev-secret-zone:hover .status-led {
            background-color: #facc15; /* Kuning Hacking */
            box-shadow: 0 0 8px #facc15;
            animation: blinkFast 0.2s infinite;
        }

        .dev-text {
            letter-spacing: 1px;
            min-width: 150px; /* Biar gak goyang pas teks ganti */
            text-align: right;
        }

        @keyframes blinkFast {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }



     /* --- RADAR & PIN STYLING --- */
.radar-container { margin: 25px 0; font-family: 'Share Tech Mono', monospace; }
.radar-label { font-size: 0.75rem; color: var(--gold); letter-spacing: 2px; }
.radar-input-box {
    position: relative; overflow: hidden;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
}
#radar-search {
    width: 100%; background: transparent; border: none; padding: 15px 0;
    color: var(--white); font-family: 'Montserrat', sans-serif;
    outline: none; font-size: 1.1rem; text-transform: uppercase;
}
.scan-glow {
    position: absolute; top: 0; left: -100%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
    animation: scan 3s infinite linear;
}
@keyframes scan { to { left: 150%; } }

/* PIN BUTTON */
.pin-btn {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.2); width: 35px; height: 35px;
    cursor: pointer; transition: 0.3s; z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.pin-btn:hover { border-color: var(--gold); color: var(--gold); }
.pin-btn.is-pinned {
    color: var(--gold); border-color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
}
/* Highlight kartu yang di-pin */
.course-card-v2.pinned-active {
    border-color: var(--gold);
    background: linear-gradient(145deg, rgba(197, 160, 89, 0.08) 0%, rgba(0,0,0,0.2) 100%);
}


/* --- EXECUTIVE LEGAL CURSOR --- */
* {
    cursor: none !important; /* Sembunyikan kursor bawaan */
}

#legal-pointer {
    position: fixed;
    top: 0; left: 0;
    width: 24px;
    height: 24px;
    z-index: 99999;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
    transition: transform 0.1s ease-out;
}

/* Efek Trailing (Buntut) yang Elegan, bukan telor lagi */
#pointer-trail {
    position: fixed;
    top: 0; left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2); /* Sangat tipis & transparan */
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
    will-change: transform;
}

/* Animasi pas nge-hover link/tombol */
.cursor-hover #legal-pointer {
    transform: scale(1.3) rotate(-15deg);
    filter: drop-shadow(0 0 10px var(--gold));
}

.cursor-hover #pointer-trail {
    transform: scale(1.5);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Background Overlay Style */
.bg-logo-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
}

#dynamic-bg-img {
    width: 50%;
    opacity: 0.03;
    filter: sepia(1) brightness(0.7);
}


/* leaderboard */
/* --- LEADERBOARD JARVIS-F1 STYLE --- */
.leaderboard-section {
    margin: 60px 5%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 15px;
}

.leaderboard-title {
    font-family: 'Share Tech Mono', monospace;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.grid-rank-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rank-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.rank-card.p1 { border-left-color: var(--gold); background: rgba(197, 160, 89, 0.05); }

.rank-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.rank-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    width: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.rank-info { flex: 1; }

.rank-class-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 5px;
}

.telemetry-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.telemetry-bar-fill {
    height: 100%;
    background: var(--gold);
    width: 0%; /* Animasi via JS */
    box-shadow: 0 0 10px var(--gold);
}

.rank-stats {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold);
    margin-left: 20px;
    text-align: right;
}

/* Jarvis Scan Line Animation */
.leaderboard-section::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(197, 160, 89, 0.05), transparent);
    animation: jarvisScan 4s infinite linear;
}

@keyframes jarvisScan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/*dev fix*/
/* --- FOOTER RESPONSIVE FIX --- */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap; /* Izinkan elemen membungkus ke bawah */
    gap: 15px;
}

/* Rule khusus untuk layar kecil (HP/Tablet) */
@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column; /* Susun vertikal */
        justify-content: center;
        text-align: center;
    }

    .dev-secret-zone {
        justify-content: center; /* Pastikan konten dev zone di tengah */
        width: 100%;
        margin: 0 auto;
    }

    .managed-text {
        width: 100%;
        order: 2; /* Pindahkan teks managed ke bawah dev zone jika ingin */
    }
}

/* Styling Tambahan untuk Dev Zone agar lebih proporsional */
.dev-secret-zone {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
}

.status-led {
    width: 8px;
    height: 8px;
    background-color: #4ade80; /* Hijau Jarvis */
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulseLed 2s infinite;
}

@keyframes pulseLed {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/*OBJECTION*/
/* Styling Link Game di Footer */
.game-teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold) !important; /* Warna emas khas SIPANWA */
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-teaser-link:hover {
    background: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.icon-gavel {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.game-teaser-link:hover .icon-gavel {
    transform: rotate(-20deg); /* Animasi palu siap memukul */
}

.beta-tag {
    font-size: 8px;
    background: var(--red);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Styling Toast Notification - FIXED */
#legal-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    /* Gunakan 200% agar pasti keluar dari layar berapapun tingginya */
    transform: translateX(-50%) translateY(250%); 
    background: rgba(10, 25, 47, 0.98);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s;
    min-width: 320px;
    opacity: 0; /* Default tidak terlihat */
    pointer-events: none; /* Agar tidak bisa diklik saat sembunyi */
}

#legal-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.toast-icon { font-size: 24px; }
.toast-msg b { color: var(--gold); display: block; margin-bottom: 2px; }
.toast-msg span { font-size: 12px; color: var(--gray-soft); }