/* ==================================================
   PALLZYY LIGHT MODE (CLEAN & FIX KLIK)
   ================================================== */

body {
    background-color: #f8fafc; /* Putih Kebiruan dikit biar bersih */
    color: #334155;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center; /* Tengah Layar */
    min-height: 100vh;
}

/* KONTAINER UTAMA (Seperti Aplikasi) */
#view-dashboard, #view-produk {
    width: 100%;
    max-width: 480px; /* Lebar HP */
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* HEADER BIRU (Melengkung) */
.hero-header {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 50px 20px 40px 20px;
    border-radius: 0 0 35px 35px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2; /* Di atas konten */
}
.hero-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 5px; letter-spacing: 1px; }
.hero-subtitle { font-size: 0.85rem; opacity: 0.9; line-height: 1.6; }

/* MENU DASHBOARD */
.dashboard-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1; /* Isi ruang kosong */
    position: relative;
    z-index: 10; /* Agar BISA DIKLIK */
}

/* KARTU MENU (FIX KLIK) */
.menu-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); /* Shadow Empuk */
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s;
    user-select: none; /* Biar enak dipencet di HP */
    -webkit-tap-highlight-color: transparent; /* Hapus kotak biru saat klik */
}
.menu-card:active { transform: scale(0.97); background: #f8fafc; }

.menu-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: white; margin-right: 15px;
}
.bg-blue { background: #3b82f6; }
.bg-purple { background: #a855f7; }
.bg-orange { background: #f97316; }

/* GRID INFO (Server & Proses) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}
.info-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    text-align: center;
}
.info-title { font-size: 0.85rem; font-weight: 700; display: block; margin-top: 5px; color: #1e293b; }
.info-sub { font-size: 0.7rem; color: #94a3b8; }

/* PEMBAYARAN (Lebih Rapi) */
.payment-box {
    margin-top: 10px;
    text-align: center;
    padding: 15px;
}
.pay-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pay-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* FOOTER (Teks Biasa, Bukan Tombol) */
.footer-area {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    color: #94a3b8;
    font-size: 0.75rem;
}
.footer-links a { color: #64748b; text-decoration: none; font-weight: 500; }

/* --- BAGIAN PRODUK & NAVBAR --- */
.sticky-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #f1f5f9;
    padding: 15px 20px;
    display: flex; align-items: center;
}
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 15px; }
.item-produk {
    background: #fff; padding: 12px; border-radius: 12px;
    border: 1px solid #e2e8f0; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.btn-primary {
    background: #3b82f6; color: white; text-decoration: none;
    padding: 8px; border-radius: 8px; display: block; font-size: 0.85rem; margin-top: 8px;
}
.filter-scroll { overflow-x: auto; white-space: nowrap; padding: 10px 20px; position: sticky; top: 60px; background: #fff; z-index: 90; }
.filter-btn { padding: 6px 16px; margin-right: 8px; border-radius: 20px; background: #f1f5f9; color: #64748b; text-decoration: none; font-size: 0.8rem; }
.filter-btn.active { background: #3b82f6; color: white; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 15px; }
.game-card { display: block; text-align: center; text-decoration: none; color: #333; font-size: 0.75rem; background: #fff; padding: 10px; border-radius: 10px; border: 1px solid #eee; }
.game-card img { width: 100%; border-radius: 8px; }