:root {
    --bg: #0c0c0e;
    --surface: #1a1a20;
    --accent: #ffd700;
    --accent2: #ff4d00;
    --text: #f8f8fa;
    --muted: #9a9aa5;
    --font-display: 'Bebas Neue', system-ui, sans-serif;
    --font-body: 'Sora', system-ui, sans-serif;
    --speedline: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 215, 0, 0.03) 10px, rgba(255, 215, 0, 0.03) 12px);
    --radius: 8px;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
}

h2 { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { color: var(--muted); font-size: 0.95rem; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--text); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 5rem 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Motif */
.motif-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--speedline);
    pointer-events: none;
    z-index: 0;
}
.relative-z { position: relative; z-index: 1; }

/* Buttons */
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transform: skewX(-15deg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn span { transform: skewX(15deg); display: inline-block; position: relative; z-index: 2; }
.btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s; z-index: 1;
}
.btn:hover::after { left: 100%; }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }
.btn-primary:hover { background: #ffed4a; box-shadow: 0 0 25px rgba(255, 215, 0, 0.5); color: var(--bg); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--accent2); }
.btn-secondary:hover { background: var(--accent2); color: var(--text); }

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(12, 12, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    padding: 1rem 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 2rem; color: var(--text); letter-spacing: 2px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--text); text-transform: uppercase; }
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
#hero { padding: 8rem 0 5rem; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(255, 77, 0, 0.1); border: 1px solid var(--accent2); color: var(--accent2); border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; }
#hero h1 { font-size: 4rem; color: var(--text); margin-bottom: 0.5rem; text-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
.hero-sub { font-size: 1.2rem; color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.hero-intro { margin-bottom: 2.5rem; font-size: 1.1rem; max-width: 90%; }
.hero-visual { position: relative; height: 500px; }
.hero-visual-bg { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 215, 0, 0.1); transform: skewX(-5deg); }
.hero-visual-bg::before { content: ''; position: absolute; inset: 0; background: var(--speedline); }
.floating-card { position: absolute; background: var(--bg); border: 1px solid var(--accent2); padding: 1rem; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.fc-1 { top: 20%; left: -10%; transform: rotate(-10deg); animation: float 6s ease-in-out infinite; }
.fc-2 { bottom: 20%; right: -5%; transform: rotate(5deg); animation: float 8s ease-in-out infinite reverse; border-color: var(--accent); }

@keyframes float { 0% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-20px) rotate(-5deg); } 100% { transform: translateY(0) rotate(-10deg); } }

/* Games */
#games { background: var(--surface); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.game-card { background: var(--bg); padding: 2rem; border-radius: var(--radius); border-left: 4px solid transparent; transition: var(--transition); position: relative; overflow: hidden; }
.game-card::before { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 50px; background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 0, 0.1) 50%); }
.game-card:hover { border-left-color: var(--accent); transform: translateX(5px); box-shadow: 5px 5px 20px rgba(0,0,0,0.3); }

/* RTP Live */
#rtp-live { background: linear-gradient(to right, var(--bg), #141418); border-top: 1px solid rgba(255, 215, 0, 0.1); border-bottom: 1px solid rgba(255, 215, 0, 0.1); text-align: center; }
#rtp-live .container { max-width: 800px; }

/* Jackpot Marquee */
#jackpot { padding: 2rem 0; background: var(--accent2); overflow: hidden; }
.marquee-wrapper { display: flex; width: 200%; animation: marquee 15s linear infinite; }
.marquee-item { flex: 1; text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--text); text-transform: uppercase; letter-spacing: 2px; padding: 0 2rem; white-space: nowrap; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Provider */
#provider { background: var(--surface); text-align: center; }
.provider-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.provider-tag { padding: 0.8rem 2rem; background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px; font-family: var(--font-display); font-size: 1.2rem; color: var(--muted); transition: var(--transition); }
.provider-tag:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.05); }

/* Keunggulan */
.keunggulan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.k-card { padding: 2rem; background: var(--surface); border-radius: var(--radius); position: relative; }
.k-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent2); transition: var(--transition); }
.k-card:hover::after { width: 100%; }
.k-card h3 { color: var(--accent); }

/* Langkah */
#langkah { background: var(--surface); }
.langkah-flex { display: flex; flex-direction: column; gap: 2rem; }
@media(min-width: 768px) { .langkah-flex { flex-direction: row; } }
.step-item { flex: 1; text-align: center; padding: 2rem; background: var(--bg); border-radius: var(--radius); position: relative; }
.step-num { font-family: var(--font-display); font-size: 4rem; color: rgba(255, 215, 0, 0.1); position: absolute; top: 10px; right: 20px; line-height: 1; }
.step-item h3 { position: relative; z-index: 2; margin-top: 1rem; }

/* Testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testi-card { background: var(--surface); padding: 2rem; border-radius: var(--radius); border-top: 3px solid var(--accent); }
.testi-text { font-style: italic; margin-bottom: 1.5rem; color: var(--text); }
.testi-author { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); }
.testi-city { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; }

/* Data Ringkas */
#data_ringkas { background: var(--surface); text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
@media(min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { padding: 2rem 1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.stat-val { font-family: var(--font-display); font-size: 3rem; color: var(--accent2); line-height: 1; margin-bottom: 0.5rem; }

/* Bengkel Ilmu */
.dl-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media(min-width: 768px) { .dl-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.dl-item { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); }
dt { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); margin-bottom: 0.5rem; }
dd { color: var(--muted); font-size: 0.95rem; }

/* Area */
#area { background: var(--surface); }
.area-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media(min-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-eyebrow { color: var(--accent2); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 0.5rem; display: block; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.area-tag { padding: 0.4rem 0.8rem; background: var(--bg); font-size: 0.8rem; border-radius: 4px; color: var(--muted); }
.map-fallback { width: 100%; height: 400px; background: var(--bg); border-radius: var(--radius); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.05); }
.map-fallback::before { content: ''; position: absolute; inset: 0; background: var(--speedline); opacity: 0.5; }
.map-marker { position: relative; z-index: 2; font-family: var(--font-display); font-size: 2rem; color: var(--accent); text-shadow: 0 0 10px rgba(0,0,0,0.8); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
summary { padding: 1.5rem; font-family: var(--font-body); font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
details[open] summary::after { transform: rotate(45deg); color: var(--accent2); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 1rem; padding-top: 1rem; }

/* Footer */
footer { background: #08080a; padding: 4rem 0 2rem; border-top: 1px solid rgba(255, 215, 0, 0.1); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 1fr 2fr; } }
.footer-brand .logo { margin-bottom: 1rem; display: block; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; max-width: 300px; }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media(min-width: 1024px) { .footer-links-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-links-grid a { color: var(--muted); font-size: 0.9rem; display: block; padding: 0.3rem 0; }
.footer-links-grid a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--muted); font-size: 0.8rem; }

/* Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: var(--bg); flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); z-index: 99; }
    .nav-links.active { left: 0; }
    #hero h1 { font-size: 2.8rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { height: 300px; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
}


/* 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; }
