/*
Theme Name: Mpo500 Info
Theme URI: https://mpo500.games/
Author: Mpo500
Description: Tema portal informasi perjudian daring Mpo500. Struktur markup mengikuti konvensi tema WordPress (site-header, site-main, entry-content, widget-area, site-footer) dan dirender sebagai HTML statis untuk kecepatan maksimal.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mpo500
Tags: casino-information, news-portal, responsive, seo-friendly
*/

/* =====================================================
   0. Variabel & Reset
   ===================================================== */
:root {
    --c-red: #C8102E;
    --c-red-d: #8E0B20;
    --c-red-xd: #5E0714;
    --c-gold: #F5C342;
    --c-gold-l: #FFDD7A;
    --c-gold-d: #A9761A;
    --c-green: #0E9F6E;
    --c-green-d: #0B7A55;
    --c-blue: #1E6FD9;
    --c-blue-d: #15539F;
    --c-navy: #101A2E;
    --c-black: #14060B;
    --c-ink: #1F2733;
    --c-muted: #5B6472;
    --c-bg: #FFFFFF;
    --c-bg-alt: #F8F5EF;
    --c-line: #E8E2D7;
    --shadow-sm: 0 2px 8px rgba(20, 6, 11, .08);
    --shadow-md: 0 8px 24px rgba(20, 6, 11, .12);
    --shadow-lg: 0 16px 40px rgba(20, 6, 11, .18);
    --radius: 14px;
    --radius-sm: 10px;
    --header-h: 72px;
    --float-h: 78px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-ink);
    background: var(--c-bg);
    overflow-x: hidden;
    padding-bottom: calc(var(--float-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-red); text-decoration: none; }
a:hover { color: var(--c-red-d); text-decoration: underline; }

h1, h2, h3, h4, h5 {
    line-height: 1.25;
    color: var(--c-black);
    font-weight: 800;
    margin: 0 0 .5em;
    overflow-wrap: break-word;
}

p { margin: 0 0 1em; overflow-wrap: break-word; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .45em; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-gold);
    color: var(--c-black);
    padding: 10px 18px;
    font-weight: 700;
    z-index: 300;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Aksesibilitas fokus */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 3px solid var(--c-blue);
    outline-offset: 2px;
}

/* =====================================================
   1. Tombol (buttons)
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .3px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    line-height: 1.2;
}

.btn-primary { background: linear-gradient(180deg, var(--c-red), var(--c-red-d)); color: #fff !important; box-shadow: 0 6px 18px rgba(200, 16, 46, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 16, 46, .45); }

.btn-gold { background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold)); color: var(--c-black) !important; box-shadow: 0 6px 18px rgba(245, 195, 66, .4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245, 195, 66, .55); }

.btn-green { background: linear-gradient(180deg, #14B37C, var(--c-green-d)); color: #fff !important; box-shadow: 0 6px 18px rgba(14, 159, 110, .35); }
.btn-green:hover { transform: translateY(-2px); }

.btn-outline { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .75); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.btn-ghost { background: #fff; color: var(--c-red) !important; border-color: var(--c-line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--c-red); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }

/* =====================================================
   2. Site Header (template-parts/header)
   ===================================================== */
.topbar {
    background: var(--c-black);
    color: #F3E7C8;
    font-size: 13px;
    text-align: center;
    padding: 7px 16px;
}
.topbar strong { color: var(--c-gold-l); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: linear-gradient(180deg, #1B0810, #14060B);
    border-bottom: 3px solid var(--c-gold);
    box-shadow: 0 4px 18px rgba(20, 6, 11, .45);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.site-branding:hover { text-decoration: none; }

.logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: radial-gradient(circle at 32% 28%, var(--c-gold-l), var(--c-gold) 55%, var(--c-gold-d));
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 21px;
    color: var(--c-red-xd);
    box-shadow: 0 4px 12px rgba(245, 195, 66, .45), inset 0 -3px 6px rgba(120, 80, 10, .4);
    border: 2px solid #FFE9A8;
}

.site-title {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    letter-spacing: .5px;
    line-height: 1;
}
.site-title .dot { color: var(--c-gold); }
.site-description {
    color: #C9A24A;
    font-size: 11.5px;
    margin: 2px 0 0;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-navigation a {
    display: block;
    padding: 10px 13px;
    color: #F2E9DA;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
}
.main-navigation a:hover { background: rgba(245, 195, 66, .14); color: var(--c-gold-l); text-decoration: none; }
.main-navigation .current-menu-item a { background: rgba(200, 16, 46, .85); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search-form { display: flex; }
.header-search-form input {
    width: 168px;
    padding: 9px 14px;
    border-radius: 999px 0 0 999px;
    border: 2px solid #3A2530;
    border-right: 0;
    background: #241119;
    color: #fff;
    font-size: 13.5px;
    font-family: inherit;
}
.header-search-form input::placeholder { color: #8E7B66; }
.header-search-form button {
    border-radius: 0 999px 999px 0;
    border: 2px solid #3A2530;
    background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold));
    color: var(--c-black);
    padding: 0 14px;
    cursor: pointer;
    font-size: 15px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid #3A2530;
    border-radius: 10px;
    color: var(--c-gold-l);
    font-size: 22px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    line-height: 1;
}

.nav-cta-mobile { display: none; }

/* =====================================================
   3. Hero
   ===================================================== */
.hero {
    position: relative;
    background: var(--c-black);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(200, 16, 46, .5), transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(245, 195, 66, .28), transparent 50%),
        linear-gradient(180deg, rgba(20, 6, 11, .55), rgba(20, 6, 11, .92));
}
.hero-inner {
    position: relative;
    padding: 86px 0 92px;
    max-width: 860px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, .22);
    border: 1px solid rgba(245, 195, 66, .5);
    color: var(--c-gold-l);
    font-weight: 700;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 999px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 52px);
    margin-bottom: 18px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .5);
}
.hero h1 em { font-style: normal; color: var(--c-gold-l); }
.hero-sub {
    color: #EFE6D6;
    font-size: clamp(15.5px, 2vw, 18.5px);
    max-width: 640px;
    margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--c-red);
    color: #fff;
    font-weight: 900;
    border: 2px solid #FFD3DB;
    font-size: 14px;
}
.hero-badges .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #F0E9DC;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* Tag cloud pencarian populer */
.hot-search { padding: 26px 0 34px; background: linear-gradient(180deg, #FFF9EA, var(--c-bg)); border-bottom: 1px solid var(--c-line); }
.hot-search .label { font-weight: 800; font-size: 14px; color: var(--c-red-d); margin-right: 6px; text-transform: uppercase; letter-spacing: .8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.tag-cloud a {
    background: #fff;
    border: 1.5px solid var(--c-line);
    color: var(--c-ink);
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}
.tag-cloud a:hover { border-color: var(--c-red); color: var(--c-red); background: #FFF3F4; text-decoration: none; transform: translateY(-1px); }
.tag-cloud a.hot { border-color: var(--c-gold-d); background: linear-gradient(180deg, #FFF8E1, #FFEFC1); }

/* =====================================================
   4. Section umum
   ===================================================== */
.section { padding: 64px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: linear-gradient(160deg, #1B0810, #14060B 60%, #22091A); color: #EDE4D5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-red { background: linear-gradient(150deg, var(--c-red-d), var(--c-red-xd) 70%); color: #FBEFE4; }
.section-red h2, .section-red h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
    display: inline-block;
    color: var(--c-red);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-dark .section-head .kicker, .section-red .section-head .kicker { color: var(--c-gold-l); }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--c-muted); font-size: 16px; margin: 0; }
.section-dark .section-head p, .section-red .section-head p { color: rgba(255, 255, 255, .78); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================
   5. Kartu kategori
   ===================================================== */
.cat-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-thumb .cat-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(20, 6, 11, .82);
    color: var(--c-gold-l);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 195, 66, .55);
    text-transform: uppercase;
}
.cat-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 20px; margin-bottom: 8px; }
.cat-body h3 a { color: inherit; text-decoration: none; }
.cat-body h3 a:hover { color: var(--c-red); }
.cat-body p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 14px; flex: 1; }
.cat-body .more { font-weight: 800; font-size: 14px; color: var(--c-red); text-decoration: none; }
.cat-body .more:hover { text-decoration: underline; }

/* =====================================================
   6. Langkah / steps
   ===================================================== */
.step-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 26px 22px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.step-1 .step-num { background: linear-gradient(160deg, var(--c-red), var(--c-red-d)); }
.step-2 .step-num { background: linear-gradient(160deg, var(--c-gold), var(--c-gold-d)); color: var(--c-black); }
.step-3 .step-num { background: linear-gradient(160deg, #14B37C, var(--c-green-d)); }
.step-4 .step-num { background: linear-gradient(160deg, #3E8BE8, var(--c-blue-d)); }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* =====================================================
   7. Ikon keunggulan
   ===================================================== */
.icon-box {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(245, 195, 66, .28);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: background .2s ease, transform .2s ease;
}
.icon-box:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.icon-round {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 14px;
    background: linear-gradient(160deg, rgba(245, 195, 66, .25), rgba(245, 195, 66, .08));
    border: 1px solid rgba(245, 195, 66, .45);
}
.icon-box h3 { font-size: 17.5px; color: #fff; margin-bottom: 7px; }
.icon-box p { color: rgba(255, 255, 255, .75); font-size: 14.5px; margin: 0; }

/* Varian terang untuk section putih */
.icon-box.light {
    background: #fff;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
}
.icon-box.light:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-box.light h3 { color: var(--c-black); }
.icon-box.light p { color: var(--c-muted); }
.icon-box.light .icon-round { background: linear-gradient(160deg, #FFF3F4, #FFE3E7); border-color: #F3C3CB; }

/* =====================================================
   8. Promo cards
   ===================================================== */
.promo-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.promo-thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold));
    color: var(--c-black);
    font-weight: 900;
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    letter-spacing: .5px;
}
.promo-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.promo-body h3 { font-size: 18px; margin-bottom: 7px; }
.promo-body h3 a { color: inherit; text-decoration: none; }
.promo-body h3 a:hover { color: var(--c-red); }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.promo-meta span {
    font-size: 12px;
    font-weight: 700;
    background: #F3F0E9;
    border: 1px solid var(--c-line);
    color: var(--c-muted);
    padding: 3.5px 10px;
    border-radius: 6px;
}
.promo-body p { font-size: 14px; color: var(--c-muted); margin-bottom: 14px; flex: 1; }

/* =====================================================
   9. Mobile section
   ===================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split .visual { position: relative; }
.split .visual > img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.float-chip {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--c-ink);
    border: 1px solid var(--c-line);
}
.float-chip .ic { font-size: 20px; }
.float-chip.fc-1 { left: -14px; top: 24px; animation: floaty 4.5s ease-in-out infinite; }
.float-chip.fc-2 { right: -10px; bottom: 34px; animation: floaty 5.2s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; }
.check-list .tick {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(160deg, #14B37C, var(--c-green-d));
    margin-top: 2px;
}

/* =====================================================
   10. Testimoni
   ===================================================== */
.testi-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.testi-stars { color: var(--c-gold-d); font-size: 17px; letter-spacing: 2px; }
.testi-card blockquote { margin: 0; font-size: 15px; color: var(--c-ink); flex: 1; }
.testi-card blockquote::before { content: "\201C"; font-size: 40px; color: var(--c-gold); display: block; line-height: .6; margin-bottom: 10px; font-family: Georgia, serif; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
.testi-who .name { font-weight: 800; font-size: 14.5px; color: var(--c-black); line-height: 1.2; }
.testi-who .loc { font-size: 12.5px; color: var(--c-muted); }

/* =====================================================
   11. Glosarium (section inovatif)
   ===================================================== */
.gloss-filter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 26px; }
.gloss-filter button {
    border: 1.5px solid rgba(245, 195, 66, .4);
    background: rgba(255, 255, 255, .05);
    color: #F0E8D9;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s ease;
}
.gloss-filter button:hover { border-color: var(--c-gold-l); }
.gloss-filter button.active { background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold)); color: var(--c-black); border-color: var(--c-gold-l); }

.gloss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.term-card {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 16px 18px;
}
.term-card dt { color: var(--c-gold-l); font-weight: 800; font-size: 15px; margin-bottom: 5px; }
.term-card dd { margin: 0; color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.6; }
.term-card.hidden { display: none; }

/* =====================================================
   12. Keamanan & tanggung jawab
   ===================================================== */
.sec-panel {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.sec-panel h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sec-panel .big-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 21px;
    flex-shrink: 0;
}
.bg-blue { background: #E8F1FE; }
.bg-red { background: #FDEBEE; }
.bg-green { background: #E6F6EF; }
.bg-gold { background: #FFF6DF; }

.rg-box {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: 24px;
}
.rg-box h3 { color: var(--c-gold-l); font-size: 17px; margin-bottom: 9px; }
.rg-box p { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0; }

/* =====================================================
   13. FAQ
   ===================================================== */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 52px 17px 20px;
    font-weight: 800;
    font-size: 15.5px;
    color: var(--c-black);
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold));
    color: var(--c-black);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 17px;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; transform: translateY(-50%) rotate(180deg); }
.faq-item[open] summary { color: var(--c-red); border-bottom: 1px dashed var(--c-line); }
.faq-answer { padding: 15px 20px 18px; color: var(--c-muted); font-size: 14.5px; }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 10px; }
.section-dark .faq-item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .15); }
.section-dark .faq-item summary { color: #fff; }
.section-dark .faq-item[open] summary { color: var(--c-gold-l); border-bottom-color: rgba(255, 255, 255, .15); }
.section-dark .faq-answer { color: rgba(255, 255, 255, .78); }

/* =====================================================
   14. Breadcrumb & layout artikel
   ===================================================== */
.breadcrumbs { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); font-size: 13px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 11px 0; margin: 0; gap: 4px; }
.breadcrumbs li { margin: 0; color: var(--c-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "\203A"; color: var(--c-gold-d); font-weight: 900; margin: 0 6px 0 2px; font-size: 15px; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--c-red); }
.breadcrumbs [aria-current] { color: var(--c-red-d); font-weight: 700; }

.page-hero {
    background:
        radial-gradient(ellipse at 20% 25%, rgba(200, 16, 46, .5), transparent 55%),
        radial-gradient(ellipse at 82% 78%, rgba(245, 195, 66, .25), transparent 50%),
        linear-gradient(160deg, #22091A, #14060B 65%);
    color: #fff;
    padding: 54px 0 58px;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 760px; font-size: clamp(14.5px, 1.8vw, 17px); margin: 0; }
.page-hero .meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--c-gold-l); }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }

.content-area { padding: 54px 0 64px; }
.page-narrow { max-width: 880px; margin: 0 auto; }

.entry-content { font-size: 16.5px; color: #2A3140; }
.entry-content h2 {
    font-size: clamp(21px, 2.6vw, 27px);
    margin: 1.6em 0 .6em;
    padding-left: 14px;
    border-left: 5px solid var(--c-gold);
    line-height: 1.3;
}
.entry-content h2:first-child { margin-top: .4em; }
.entry-content h3 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--c-red-d); }
.entry-content p { margin-bottom: 1.05em; }
.entry-content ul li, .entry-content ol li { margin-bottom: .55em; }
.entry-content strong { color: var(--c-black); }

.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.entry-content figcaption { text-align: center; font-size: 13px; color: var(--c-muted); margin-top: 10px; }

.info-box, .warn-box, .ok-box {
    border-radius: 12px;
    padding: 18px 20px;
    margin: 1.4em 0;
    font-size: 15px;
    border: 1px solid;
}
.info-box { background: #EFF5FE; border-color: #C7DAF7; color: #1D3E70; }
.warn-box { background: #FDF0F2; border-color: #F2C4CC; color: #7A1024; }
.ok-box { background: #E9F7F0; border-color: #BEE5D2; color: #0B5E41; }

.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content th { background: var(--c-black); color: var(--c-gold-l); text-align: left; padding: 12px 14px; white-space: nowrap; }
.entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: var(--c-bg-alt); }

.article-cta {
    margin: 2.2em 0 0;
    background: linear-gradient(150deg, #2A0A18, #14060B);
    border: 1px solid rgba(245, 195, 66, .4);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.article-cta h3 { color: var(--c-gold-l); font-size: 19px; margin: 0 0 6px; }
.article-cta p { color: rgba(255, 255, 255, .75); margin: 0; font-size: 14px; flex: 1 1 320px; }

/* Navigasi antar artikel */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a {
    display: block;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease;
}
.post-nav a:hover { transform: translateY(-3px); text-decoration: none; }
.post-nav .dir { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--c-muted); text-transform: uppercase; display: block; margin-bottom: 5px; }
.post-nav .ttl { font-weight: 800; color: var(--c-black); font-size: 15px; }
.post-nav .next { text-align: right; }

/* =====================================================
   15. Formulir (daftar / masuk)
   ===================================================== */
.auth-wrap { padding: 60px 0 70px; }
.auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-line);
    max-width: 980px;
    margin: 0 auto;
}
.auth-side {
    position: relative;
    min-height: 420px;
    background: var(--c-black);
}
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.auth-side .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(94, 7, 20, .72), rgba(20, 6, 11, .88));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}
.auth-side h2 { color: #fff; font-size: 24px; }
.auth-side p { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin: 0; }
.auth-form { padding: 40px 38px 44px; }
.auth-form h1 { font-size: 26px; margin-bottom: 6px; }
.auth-form .sub { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--c-black); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid var(--c-line);
    font-size: 15px;
    font-family: inherit;
    color: var(--c-ink);
    background: #FDFCF9;
    transition: border-color .15s ease;
}
.field input:focus, .field select:focus { border-color: var(--c-blue); outline: none; }
.field .hint { font-size: 12px; color: var(--c-muted); margin-top: 5px; }
.field-error { border-color: var(--c-red) !important; }

.form-note { font-size: 12.5px; color: var(--c-muted); margin: 14px 0 20px; line-height: 1.6; }
.form-note a { font-weight: 700; }
.auth-alt { text-align: center; font-size: 14px; color: var(--c-muted); margin-top: 18px; }
.form-msg {
    display: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}
.form-msg.err { display: block; background: #FDF0F2; border: 1px solid #F2C4CC; color: #7A1024; }
.form-msg.ok { display: block; background: #E9F7F0; border: 1px solid #BEE5D2; color: #0B5E41; }

.wide-btn { width: 100%; padding: 15px; font-size: 16px; }

/* =====================================================
   16. Site Footer (template-parts/footer)
   ===================================================== */
.site-footer {
    background: linear-gradient(180deg, #1B0810, #14060B);
    color: #CFC3AE;
    border-top: 3px solid var(--c-gold);
    padding: 56px 0 0;
    margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .site-title { font-size: 26px; }
.footer-brand p { font-size: 13.5px; color: #A2957F; margin: 14px 0 18px; }
.footer-badges { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-badges .chip {
    border: 1px solid rgba(245, 195, 66, .4);
    color: var(--c-gold-l);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
}
.site-footer h4 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 195, 66, .3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #CFC3AE; font-size: 14px; text-decoration: none; }
.site-footer ul a:hover { color: var(--c-gold-l); text-decoration: underline; }
.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0 26px;
    font-size: 12.5px;
    color: #8E826D;
    text-align: center;
    line-height: 1.8;
}
.footer-legal strong { color: #CFC3AE; }

/* =====================================================
   17. Floating CTA (slot machine style)
   ===================================================== */
.float-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background:
        repeating-linear-gradient(45deg, rgba(245, 195, 66, .07) 0 14px, transparent 14px 28px),
        linear-gradient(180deg, #2A0A18, #14060B);
    border-top: 3px solid var(--c-gold);
    box-shadow: 0 -10px 34px rgba(20, 6, 11, .55);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
}
.float-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
}
.float-slot {
    display: flex;
    gap: 6px;
    background: #0B0307;
    border: 2px solid #3A2530;
    border-radius: 12px;
    padding: 6px 10px;
    flex-shrink: 0;
}
.float-slot .reel {
    width: 30px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 21px;
    background: linear-gradient(180deg, #FFF6DF, #FFD98A 45%, #C8932B);
    border-radius: 7px;
    animation: reelspin 2.4s ease-in-out infinite;
    box-shadow: inset 0 -3px 5px rgba(120, 80, 10, .5);
}
.float-slot .reel:nth-child(2) { animation-delay: .35s; }
.float-slot .reel:nth-child(3) { animation-delay: .7s; }
@keyframes reelspin {
    0%, 26% { transform: translateY(0); filter: brightness(1); }
    38% { transform: translateY(-7px); filter: brightness(1.35); }
    52%, 100% { transform: translateY(0); filter: brightness(1); }
}

.float-btn {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 17.5px;
    letter-spacing: 1.2px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.float-btn .btn-18 {
    font-size: 10.5px;
    background: rgba(0, 0, 0, .3);
    border-radius: 6px;
    padding: 2px 7px;
    letter-spacing: .5px;
}
.float-btn--daftar {
    background: linear-gradient(180deg, #FFE59A, var(--c-gold) 55%, #D89C22);
    color: #2A0A18 !important;
    border: 2px solid #FFE9A8;
    box-shadow: 0 6px 20px rgba(245, 195, 66, .5), inset 0 -4px 8px rgba(150, 100, 10, .45);
    animation: pulsebtn 1.7s ease-in-out infinite;
}
.float-btn--masuk {
    background: linear-gradient(180deg, #17BE85, var(--c-green-d));
    color: #fff !important;
    border: 2px solid #7CE0B8;
    box-shadow: 0 6px 20px rgba(14, 159, 110, .45), inset 0 -4px 8px rgba(6, 84, 58, .5);
}
.float-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
    animation: shine 2.8s ease-in-out infinite;
}
.float-btn--masuk::before { animation-delay: 1.4s; }
@keyframes shine { 0%, 55% { left: -80%; } 85%, 100% { left: 130%; } }
@keyframes pulsebtn { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

/* Koin emas melayang naik */
.coin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #FFEEB0, var(--c-gold) 55%, #B78A1E);
    border: 2px solid #FFE9A8;
    box-shadow: 0 2px 6px rgba(245, 195, 66, .6);
    opacity: 0;
    pointer-events: none;
    animation: coinrise 3.2s linear infinite;
}
.coin::after {
    content: "Rp";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 8.5px;
    font-weight: 900;
    color: #8A6410;
}
.coin.c1 { left: 7%; bottom: 4px; animation-delay: 0s; }
.coin.c2 { left: 20%; bottom: 4px; animation-delay: .9s; width: 14px; height: 14px; }
.coin.c3 { left: 45%; bottom: 4px; animation-delay: 1.7s; }
.coin.c4 { right: 26%; bottom: 4px; animation-delay: .5s; width: 15px; height: 15px; }
.coin.c5 { right: 10%; bottom: 4px; animation-delay: 2.2s; }
.coin.c6 { left: 62%; bottom: 4px; animation-delay: 2.7s; width: 13px; height: 13px; }
@keyframes coinrise {
    0% { transform: translateY(0) rotate(0deg) scale(.7); opacity: 0; }
    12% { opacity: .95; }
    75% { opacity: .8; }
    100% { transform: translateY(-86px) rotate(340deg) scale(1.08); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .coin, .float-slot .reel, .float-btn, .float-btn::before { animation: none; }
    html { scroll-behavior: auto; }
}

/* =====================================================
   18. Halaman pencarian
   ===================================================== */
.search-big { max-width: 720px; margin: 0 auto 30px; }
.search-big .searchbar { display: flex; }
.search-big input {
    flex: 1;
    padding: 15px 22px;
    border: 2px solid var(--c-line);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    font-size: 16px;
    font-family: inherit;
}
.search-big input:focus { outline: none; border-color: var(--c-blue); }
.search-big button {
    padding: 0 26px;
    border: 2px solid var(--c-red);
    border-radius: 0 14px 14px 0;
    background: linear-gradient(180deg, var(--c-red), var(--c-red-d));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}
.result-item {
    display: block;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.result-item:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.result-item .r-ttl { font-weight: 800; color: var(--c-red-d); font-size: 16.5px; margin-bottom: 4px; }
.result-item .r-url { font-size: 12.5px; color: var(--c-green-d); margin-bottom: 5px; }
.result-item .r-desc { font-size: 14px; color: var(--c-muted); }
.result-item mark { background: #FFF0C2; padding: 0 3px; border-radius: 3px; }

/* =====================================================
   19. Responsif
   ===================================================== */
@media (max-width: 1080px) {
    .main-navigation a { padding: 10px 9px; font-size: 13.5px; }
    .header-search-form input { width: 120px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .nav-toggle { display: block; order: 3; }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #14060B;
        border-bottom: 3px solid var(--c-gold);
        padding: 10px 20px 18px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    }
    .main-navigation.open { display: block; }
    .main-navigation ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-navigation a { padding: 12px 14px; font-size: 15px; }
    .nav-cta-mobile { display: flex; gap: 10px; padding: 12px 14px 4px; }
    .nav-cta-mobile .btn { flex: 1; }
    .header-actions { margin-left: auto; }
    .header-search-form { display: none; }
    .header-actions .btn { padding: 10px 16px; font-size: 13px; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gloss-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .float-chip.fc-1 { left: 6px; }
    .float-chip.fc-2 { right: 6px; }
    .auth-card { grid-template-columns: 1fr; max-width: 560px; }
    .auth-side { min-height: 210px; }
    .auth-side .overlay { padding: 22px; }
    .auth-side h2 { font-size: 20px; }
    .auth-side p { display: none; }
}

@media (max-width: 640px) {
    :root { --float-h: 74px; }
    .section { padding: 44px 0; }
    .header-actions .btn { display: none; }
    .site-description { display: none; }
    .site-title { font-size: 21px; }
    .header-inner { gap: 10px; }
    .hero-inner { padding: 56px 0 62px; }
    .hero-cta .btn { flex: 1 1 auto; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .gloss-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { text-align: left; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .entry-content { font-size: 15.5px; }
    .auth-form { padding: 30px 22px 36px; }
    .float-slot { display: none; }
    .float-btn { font-size: 16px; letter-spacing: 1px; padding: 12px 12px; }
    .float-inner { gap: 10px; }
    .step-card { padding: 22px 18px; }
    .sec-panel { padding: 22px 18px; }
    .article-cta { padding: 22px; }
    .btn { padding: 11px 20px; font-size: 14px; }
    .btn-lg { padding: 13px 26px; font-size: 15px; }
}

@media (max-width: 400px) {
    .site-title { font-size: 20px; }
    .site-description { font-size: 10px; letter-spacing: 1.1px; }
    .logo-badge { width: 40px; height: 40px; font-size: 18px; }
    .float-btn { font-size: 14.5px; min-height: 46px; }
    .float-btn .btn-18 { display: none; }
    .topbar { font-size: 11.5px; padding: 6px 10px; }
}

/* Cetak */
@media print {
    .site-header, .float-cta, .topbar, .breadcrumbs, .hot-search { display: none !important; }
    body { padding: 0; }
}
