/* ==========================================================================
   X SMILE SYSTEM - HACKER THEME V1.0 (Cyberpunk Terminal Aesthetic)
   Compatible with PHP 8.5 & Dynamic Video/Image Backgrounds
   ========================================================================== */

:root {
    --bg-dark: #000000;
    --text-neon: #39ff14;
    --text-muted: #88c988;
    --glass-bg: rgba(2, 15, 2, 0.55); /* Dioptimalkan biar video bg tembus pandang */
    --accent-glow: 0 0 20px rgba(57, 255, 20, 0.3);
    --border-neon: rgba(57, 255, 20, 0.25);
}

/* 1. Pengaturan Dasar Halaman */
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-neon);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', monospace, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

/* Video Background Wrapper (Biar video ngebentang pas di belakang UI) */
.video-bg-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.video-bg-container video {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 2. Efek Garis Monitor Jadul (Scanlines CRT) */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.4) 50%
    ), 
    linear-gradient(
        90deg, 
        rgba(0, 255, 0, 0.03), 
        rgba(0, 150, 0, 0.01), 
        rgba(0, 255, 0, 0.03)
    );
    z-index: 99999;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

/* Overlay utama untuk meredam kecerahan video/gambar bg */
.bg-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
    pointer-events: none;
}

/* 3. Panel Kaca Transparan & Bayangan Glow (Bisa untuk Kontainer Utama & Card Menu) */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-neon);
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0,255,0,0.05), 0 10px 30px rgba(0,0,0,0.8);
}

.hacker-shadow {
    box-shadow: var(--accent-glow);
}

/* 4. Tombol Utama / Floating Nav Hijau Neon Menyala */
.btn-float {
    width: 90px;
    height: 90px;
    background: rgba(5, 20, 5, 0.8);
    border: 2px solid var(--text-neon);
    border-radius: 50%;
    color: var(--text-neon);
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-shadow: var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatBtn 3s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent; 
}

.btn-float:hover, .btn-float.active {
    background: var(--text-neon);
    color: #000000;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.8);
    transform: scale(1.1);
    font-weight: 900;
}

@keyframes floatBtn {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* 5. Efek Teks Kelap-kelip Terminal & Animasi */
.blink-text {
    animation: blinker 1.2s linear infinite;
    text-shadow: 0 0 8px var(--text-neon);
}
@keyframes blinker {
    50% { opacity: 0.3; }
}

.reveal-content {
    animation: fadeIn 0.6s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 6. Layout Struktur & Tipografi Menu Global */
.header-banner-container { text-align: center; padding: 40px 20px 20px; }
.header-banner {
    display: inline-block;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 6px;
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #bdffb2 0%, #39ff14 50%, #006600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
}

.mini-banner {
    width: 80%; max-width: 600px;
    margin: 0 auto 40px; padding: 15px 30px;
    text-align: center;
}
.mini-banner h2 {
    margin: 0; color: var(--text-neon);
    font-size: 1.5rem; letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

.store-container { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 20px; gap: 40px; }
.nav-buttons { flex: 0 0 120px; display: flex; flex-direction: column; gap: 25px; }
.content-panel { flex: 1; padding: 40px; border-left: 4px solid var(--text-neon); min-height: 400px; }

.menu-title { color: var(--text-neon); font-size: 2rem; margin-top: 0; border-bottom: 1px solid rgba(57, 255, 20, 0.2); padding-bottom: 15px; text-shadow: 0 0 5px rgba(57, 255, 20, 0.4); }
.menu-quote { font-style: italic; color: var(--text-muted); margin-bottom: 25px; font-size: 1.1rem; }

/* 7. Card Price List untuk Sub-Menu */
.price-list { list-style: none; padding: 0; }
.price-list li {
    background: rgba(0, 15, 0, 0.4);
    margin-bottom: 12px; padding: 18px 24px;
    border-radius: 8px; display: flex;
    justify-content: space-between; items-center;
    border: 1px solid rgba(57, 255, 20, 0.15);
}
.price-list li strong { color: #fff; text-shadow: 0 0 3px rgba(57,255,20,0.5); }
.price-tag { color: var(--text-neon); font-weight: bold; font-size: 1.2rem; text-shadow: 0 0 8px rgba(57, 255, 20, 0.5); }

/* Fade-out otomatis untuk area bonus/sharer */
.fade-out { animation: fadeOut 1.2s forwards; animation-delay: 30s; }
@keyframes fadeOut {
    to { opacity: 0; transform: translateY(10px); visibility: hidden; height: 0; padding: 0; margin: 0; overflow: hidden; }
}

@media (max-width: 768px) {
    .header-banner { font-size: 2.5rem; }
    .store-container { flex-direction: column; }
    .nav-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .btn-float { width: 75px; height: 75px; font-size: 0.7rem; }
    .content-panel { padding: 20px; }
}