:root {
    --bg: #0d0716;
    --surface: #1a0f2e;
    --accent: #d4af37;
    --accent2: #c026d3;
    --text: #f5f0ff;
    --muted: #9d94b8;
    --jade: #00a86b;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; text-shadow: 0 0 20px rgba(192, 38, 211, 0.3); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 2rem; color: var(--accent); }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text); }
p { margin-bottom: 1rem; color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: #e6c555;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent2);
    border: 1px solid var(--accent2);
    box-shadow: inset 0 0 10px rgba(192, 38, 211, 0.2), 0 0 10px rgba(192, 38, 211, 0.2);
}

.btn-secondary:hover {
    background: rgba(192, 38, 211, 0.1);
    box-shadow: inset 0 0 15px rgba(192, 38, 211, 0.4), 0 0 20px rgba(192, 38, 211, 0.5);
    transform: translateY(-2px);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 7, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 38, 211, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: lowercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

nav {
    display: none;
}

nav a {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 15px;
}

nav a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.header-ctas {
    display: none;
    gap: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav Active */
nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid rgba(192, 38, 211, 0.2);
    padding: 20px;
    gap: 15px;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.bg-alt {
    background-color: var(--surface);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    background: radial-gradient(circle at 80% 20%, rgba(0, 168, 107, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(192, 38, 211, 0.1) 0%, transparent 50%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content .sub {
    font-size: 1.2rem;
    color: var(--accent2);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content .intro {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-rain {
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background-image: radial-gradient(circle at 20% 30%, var(--accent) 1px, transparent 2px),
                      radial-gradient(circle at 80% 40%, var(--accent) 1.5px, transparent 3px),
                      radial-gradient(circle at 40% 80%, var(--accent) 1px, transparent 2px),
                      radial-gradient(circle at 70% 90%, var(--accent) 2px, transparent 3px);
    background-size: 120px 120px;
    opacity: 0.15;
    animation: rain 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rain {
    0% { transform: translateY(0); }
    100% { transform: translateY(120px); }
}

.mockup-card {
    position: absolute;
    width: 220px;
    height: 320px;
    background: linear-gradient(145deg, var(--surface), var(--bg));
    border: 1px solid rgba(192, 38, 211, 0.4);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(192, 38, 211, 0.2);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.mockup-card:nth-child(2) {
    transform: rotate(-10deg) translateX(-60px) translateY(20px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212, 175, 55, 0.15);
    z-index: 1;
}
.mockup-card:nth-child(3) {
    transform: rotate(15deg) translateX(60px) translateY(-20px);
}

.mockup-img {
    width: 80px;
    height: 80px;
    background: var(--bg);
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Card Grids */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(157, 148, 184, 0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent2);
    box-shadow: 0 10px 30px rgba(192, 38, 211, 0.15);
    transform: translateY(-5px);
}

/* Batik Corners */
.batik-tl, .batik-br {
    position: absolute;
    width: 25px;
    height: 25px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.batik-tl {
    top: 10px; left: 10px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}
.batik-br {
    bottom: 10px; right: 10px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}
.card:hover .batik-tl, .card:hover .batik-br {
    opacity: 1;
    border-color: var(--accent2);
}

/* Games Section */
#games .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* RTP Live Strip */
#rtp-live {
    background: linear-gradient(90deg, var(--surface) 0%, rgba(192, 38, 211, 0.1) 50%, var(--surface) 100%);
    border-top: 1px solid rgba(192, 38, 211, 0.2);
    border-bottom: 1px solid rgba(192, 38, 211, 0.2);
    text-align: center;
    padding: 60px 0;
}
#rtp-live h2 { margin-bottom: 1rem; color: var(--accent2); text-shadow: 0 0 10px rgba(192, 38, 211, 0.4); }
#rtp-live p { max-width: 700px; margin: 0 auto; color: var(--text); }

/* Jackpot Strip */
#jackpot {
    background: var(--bg);
    padding: 40px 0;
}
.jackpot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
}
.jackpot-item {
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
}

/* Provider Section */
#provider {
    text-align: center;
}
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}
.provider-logo {
    padding: 15px 25px;
    background: var(--surface);
    border: 1px solid rgba(157, 148, 184, 0.1);
    border-radius: 4px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.3s;
}
.provider-logo:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

/* Keunggulan */
#keunggulan .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Langkah */
.step-card {
    text-align: center;
    padding: 40px 20px;
}
.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Testimoni */
.testimoni-card {
    background: var(--bg);
    border: 1px solid rgba(192, 38, 211, 0.2);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}
.testimoni-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-family: 'Chakra Petch', sans-serif;
    color: rgba(192, 38, 211, 0.1);
    line-height: 1;
}
.testimoni-author {
    margin-top: 20px;
    font-family: 'Chakra Petch', sans-serif;
    color: var(--accent);
    font-weight: 600;
}
.testimoni-author span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--surface);
    margin-bottom: 15px;
    border: 1px solid rgba(157, 148, 184, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
summary {
    padding: 20px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s;
}
details[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent2);
}
details[open] summary {
    border-bottom: 1px solid rgba(157, 148, 184, 0.1);
}
.faq-content {
    padding: 20px;
    color: var(--muted);
}

/* Footer */
footer {
    background: #08040e;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 30px;
    text-align: center;
}
.footer-brand {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}
.footer-tagline {
    color: var(--muted);
    margin-bottom: 30px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 40px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--text);
}
.footer-links a:hover {
    color: var(--accent2);
}
.copyright {
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(157, 148, 184, 0.1);
    padding-top: 20px;
}

/* Responsive */
@media (min-width: 768px) {
    .grid-3, .jackpot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    nav {
        display: flex;
        gap: 5px;
    }
    .header-ctas {
        display: flex;
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .jackpot-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    section {
        padding: 120px 0;
    }
}
/* tentang & pusat panduan (tambahan konten) */
#tentang .about-prose { max-width: 820px; margin: 0 auto; }
#tentang .about-prose p { color: var(--muted); margin-bottom: 1.1em; font-size: 1.02rem; }
.hub-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hub-card { text-decoration: none; color: inherit; display: block; transition: transform 0.2s, border-color 0.2s; }
.hub-card h3 { color: var(--text); }
.hub-card:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--accent); }
.hub-card:hover h3 { color: var(--accent); }
/* modul area layanan (peta + kota) */
.area-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.area-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.area-copy h2 { margin-bottom: .9rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.area-tags span { font-size: .8rem; color: var(--text); border: 1px solid rgba(157, 148, 184, 0.25); border-radius: 999px; padding: 4px 13px; background: var(--surface); }
.area-map { width: 100%; height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(157, 148, 184, 0.2); }
.area-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.05fr 1fr; gap: 34px; } }


/* pipeline image & layout guards */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
/* 合规声明块（zb-disclaimer，全站 footer） */
.zb-disclaimer { margin-top: 18px !important; padding: 14px 0 0 0 !important; border-top: 1px solid rgba(128,128,128,.25) !important; font-size: .72rem !important; line-height: 1.7 !important; opacity: .85 !important; display: block !important; text-align: left !important; width: 100% !important; clear: both !important; }
.zb-disclaimer .zb-18 { display: inline-block !important; padding: 2px 10px !important; border: 1.5px solid currentColor !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: 1px !important; margin: 0 0 10px 0 !important; font-size: .78rem !important; }
.zb-disclaimer p { display: block !important; margin: 5px 0 !important; padding: 0 !important; color: inherit !important; font-size: .72rem !important; line-height: 1.7 !important; }
.zb-disclaimer p:last-child { margin-bottom: 0 !important; }
