:root {
    --bg-dark: #0a0000;     
    --bg-inner: #1a0505;    
    --primary-gold: #ff3e3e;    
    --cyan-glow: #ffffff;      
    --btn-gold: linear-gradient(to bottom, #ff0000, #8b0000);
    --border-blue: #440000; 
    --transition: all 0.3s ease;
}

/* RESET SUPAYA TIDAK ANCUR */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden; /* Mencegah scroll ke samping */
    scroll-behavior: smooth;
}

/* PEMBUNGKUS UTAMA (Ini yang bikin rapi di tengah) */
.wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-inner);
    box-shadow: 0 0 50px rgba(0,0,0,0.9);
    border-left: 1px solid var(--border-blue);
    border-right: 1px solid var(--border-blue);
    min-height: 100vh;
}

/* ANTI-GAMBAR RAKSASA */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #1a0505;
    border-bottom: 2px solid var(--border-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 40px; }

.btn-login {
    background: var(--btn-gold);
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-gold);
}

/* --- MENU IKON --- */
.nav-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 20px 10px;
    gap: 5px;
}

.icon-link {
    text-align: center;
    text-decoration: none;
    color: var(--cyan-glow);
    font-size: 11px;
    font-weight: 800;
}

.icon-circle {
    width: 55px;
    height: 55px;
    margin: 0 auto 8px;
    background: radial-gradient(circle, #222, #000);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(254, 200, 130, 0.2);
    transition: var(--transition);
}
.icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary-gold);
}

.icon-circle img { width: 30px; height: 30px; }

/* --- JACKPOT DIGITAL --- */
.jackpot-container { padding: 10px 20px 30px; text-align: center; }
.jp-label { color: var(--primary-gold); font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; }
.jp-box {
    border: 2px solid var(--cyan-glow);
    background: #000;
    padding: 15px;
    position: relative;
    box-shadow: inset 0 0 20px #440000;
}
.jp-box::before, .jp-box::after {
    content: "• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •";
    position: absolute; left: 0; right: 0; color: var(--cyan-glow); font-size: 10px; opacity: 0.5; overflow: hidden;
}
.jp-box::before { top: -10px; }
.jp-box::after { bottom: -10px; }
.jp-number {
    font-family: 'Courier New', monospace;
    font-size: 36px;
    font-weight: 900;
    color: var(--cyan-glow);
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--cyan-glow);
    animation: pulse 2s infinite; /* Tambahkan ini */
}


/* --- KONTEN ARTIKEL --- */
.article-section { padding: 0 20px; }
.article-section h1 { color: var(--primary-gold); font-size: 20px; margin-bottom: 15px; text-align: left; border-left: 4px solid var(--primary-gold); padding-left: 12px; }
.article-section h2 { color: var(--primary-gold); font-size: 18px; margin: 25px 0 10px; }

.article-body { font-size: 14px; color: #ced4da; text-align: justify; }
.article-body p { margin-bottom: 15px; }

.collapse-wrap { max-height: 400px; overflow: hidden; position: relative; transition: max-height 0.6s ease; }
.collapse-wrap.expanded { max-height: 10000px; }
.collapse-wrap:not(.expanded)::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
    background: linear-gradient(transparent, var(--bg-inner));
}

.btn-readmore {
    display: block; width: 100%; padding: 12px; margin: 20px 0;
    background: transparent; border: 1px solid #fff; color: var(--primary-gold);
    text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; border-radius: 5px; cursor: pointer;
}

/* --- BRAND LINKS --- */
.brand-box {
    text-align: center; font-size: 12px; margin: 30px 0; padding: 20px; 
    background: rgba(0,0,0,0.3); border: 1px solid #002d59; border-radius: 10px;
}
.brand-box a { color: #55aaff; text-decoration: none; margin: 0 6px; font-weight: 600; line-height: 2.2; display: inline-block; }

/* --- FIELDSET GAME TERPOPULER --- */
.popular-fieldset {
    margin: 25px; border: 1px solid var(--primary-gold); padding: 15px;
    position: relative; border-radius: 8px;
}
.popular-label {
    position: absolute; top: -12px; left: 15px; background: var(--bg-inner);
    padding: 0 10px; color: var(--primary-gold); font-size: 11px; font-weight: 800;
    display: flex; align-items: center; gap: 8px;
}

/* --- FAQ --- */
.faq-container { margin: 40px 20px; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border-blue); margin-bottom: 8px; border-radius: 6px; }
.faq-head { 
    width: 100%; padding: 15px; background: none; border: none; color: #fff; 
    text-align: left; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 700; font-size: 14px;
}
.faq-body { max-height: 0; overflow: hidden; transition: 0.3s ease; padding: 0 15px; color: var(--text-dim); font-size: 13px; }
.faq-item.active .faq-body { max-height: 500px; padding-bottom: 15px; }

/* --- FOOTER --- */
footer { padding: 40px 10px; text-align: center; background: #1a0505; border-top: 2px solid var(--border-blue); font-size: 11px; color: #fff; }
.f-nav { margin-bottom: 15px; }
.f-nav a { color: var(--cyan-glow); text-decoration: none; margin: 0 8px; }

@media (max-width: 600px) {
    .jp-number { font-size: 26px; }
    .icon-circle { width: 45px; height: 45px; }
    .icon-circle img { width: 25px; height: 25px; }
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; text-shadow: 0 0 20px var(--cyan-glow); }
    100% { opacity: 1; }
}
.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px 20px;
}
.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    border: 1px solid var(--primary-gold);
}
.btn-daftar {
    background: linear-gradient(to bottom, #ff0000, #8b0000);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}
.btn-login {
    background: #000;
    color: var(--primary-gold);
}
.btn-cta:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
}
@media (max-width: 600px) {
    .btn-cta { font-size: 12px; padding: 12px; }
}