/* ============================================================
   Gacor88 — Tema Situs Portal Informasi Permainan
   Gaya: kasino merah-emas, bersih, responsif penuh
   Struktur kelas mengikuti konvensi tema WordPress
   ============================================================ */

:root {
    --g-red: #e0202f;
    --g-red-dark: #a8121f;
    --g-green: #149e4a;
    --g-green-dark: #0c7234;
    --g-gold: #ffc53d;
    --g-gold-deep: #e8a317;
    --g-blue: #1565c0;
    --g-blue-deep: #0d47a1;
    --g-ink: #111827;
    --g-dark: #14100f;
    --g-dark-2: #1f1817;
    --g-body: #2a2a33;
    --g-muted: #6b7280;
    --g-line: #e9e4dd;
    --g-bg: #fbf9f6;
    --g-white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(20, 16, 15, .07);
    --shadow-md: 0 8px 28px rgba(20, 16, 15, .13);
    --radius: 14px;
    --wrap: 1200px;
    --header-h: 74px;
}

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

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

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--g-body);
    background: var(--g-bg);
    overflow-x: clip;
}

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

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

h1, h2, h3, h4, h5 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--g-ink);
    line-height: 1.28;
    margin: 0 0 .55em;
    overflow-wrap: break-word;
}
h1 { font-size: 2.15rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.12rem; }

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

ul, ol { padding-left: 1.35em; margin: 0 0 1.05em; }
li { margin-bottom: .4em; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--g-gold); outline-offset: 2px; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
    font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
    color: #3d2b00;
    background: linear-gradient(180deg, #ffd970 0%, var(--g-gold) 45%, var(--g-gold-deep) 100%);
    box-shadow: 0 5px 16px rgba(232, 163, 23, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-gold:hover { color: #3d2b00; filter: brightness(1.05); }
.btn-red {
    color: #fff;
    background: linear-gradient(180deg, #f0424f 0%, var(--g-red) 55%, var(--g-red-dark) 100%);
    box-shadow: 0 5px 16px rgba(224, 32, 47, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-red:hover { color: #fff; filter: brightness(1.06); }
.btn-green {
    color: #fff;
    background: linear-gradient(180deg, #1cb85a 0%, var(--g-green) 55%, var(--g-green-dark) 100%);
    box-shadow: 0 5px 16px rgba(20, 158, 74, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-green:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost {
    color: var(--g-ink); background: transparent;
    border: 2px solid var(--g-line);
}
.btn-ghost:hover { border-color: var(--g-red); color: var(--g-red); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: linear-gradient(180deg, #1c1512 0%, #14100f 100%);
    border-bottom: 3px solid var(--g-gold);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .35);
}
.header-inner {
    display: flex; align-items: center; gap: 20px;
    min-height: var(--header-h);
}
.site-branding { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.site-logo {
    width: 44px; height: 44px; border-radius: 11px;
    background: linear-gradient(145deg, var(--g-gold), var(--g-gold-deep));
    color: #3d2b00; font-family: Georgia, serif; font-weight: 700; font-size: 1.32rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 3px 8px rgba(0, 0, 0, .4);
}
.site-title { margin: 0; font-size: 1.5rem; letter-spacing: .4px; }
.site-title a { color: #fff; font-family: Georgia, serif; font-weight: 700; }
.site-title a span { color: var(--g-gold); }
.site-title a:hover { color: var(--g-gold); text-decoration: none; }
.site-tagline { margin: -4px 0 0; color: #b9a58c; font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase; }

/* Navigasi utama */
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-navigation a {
    display: block; padding: 9px 13px; color: #f0e6d8; font-weight: 600; font-size: .93rem;
    border-radius: 8px;
}
.main-navigation a:hover { color: var(--g-gold); background: rgba(255, 197, 61, .1); text-decoration: none; }
.main-navigation .current-menu-item a { color: var(--g-gold); }

.header-actions { display: flex; gap: 10px; flex-shrink: 0; }
.header-actions .btn { padding: 9px 20px; font-size: .88rem; }

.nav-toggle {
    display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block; width: 25px; height: 3px; margin: 5px 0;
    background: var(--g-gold); border-radius: 2px; transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        linear-gradient(115deg, rgba(17, 10, 9, .93) 0%, rgba(64, 12, 18, .82) 55%, rgba(20, 12, 10, .55) 100%),
        url("../images/hero-casino.jpg") center/cover no-repeat, #191211;
}
.hero-inner {
    display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center;
    padding: 66px 0 74px;
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 197, 61, .14); border: 1px solid rgba(255, 197, 61, .5);
    color: var(--g-gold); font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: 2.7rem; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--g-gold); }
.hero p.lead { color: #e9ddd0; font-size: 1.08rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-note { display: flex; align-items: center; gap: 9px; color: #cdbfae; font-size: .85rem; }
.badge-18 {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px; border-radius: 50%;
    border: 2px solid var(--g-gold); color: var(--g-gold);
    font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.hero-card {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 197, 61, .35);
    border-radius: 18px; padding: 26px; backdrop-filter: blur(4px);
    box-shadow: var(--shadow-md);
}
.hero-card h2 { color: var(--g-gold); font-size: 1.22rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card li {
    display: flex; gap: 10px; align-items: flex-start; color: #f0e6d8;
    font-size: .93rem; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12);
}
.hero-card li:last-child { border-bottom: 0; }
.tick {
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
    background: var(--g-green); color: #fff; font-size: .72rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}

/* Pita pencarian populer */
.search-strip { background: var(--g-dark-2); border-top: 1px solid rgba(255, 197, 61, .25); }
.search-strip-inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px 0;
}
.search-strip label { color: #c8b99f; font-size: .82rem; font-weight: 700; letter-spacing: .5px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    display: inline-block; padding: 5px 13px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    color: #f0e6d8; font-size: .8rem; font-weight: 600;
}
.tag-cloud a:hover { background: var(--g-gold); border-color: var(--g-gold); color: #3d2b00; text-decoration: none; }

/* Form pencarian di header */
.search-form { display: flex; max-width: 260px; }
.search-form input[type="search"] {
    flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid #3a312c; border-radius: 9px 0 0 9px;
    background: #241d19; color: #f0e6d8; font-size: .88rem; border-right: 0;
}
.search-form input[type="search"]::placeholder { color: #8d7f70; }
.search-form button {
    padding: 9px 14px; border: 0; border-radius: 0 9px 9px 0; cursor: pointer;
    background: linear-gradient(180deg, var(--g-gold), var(--g-gold-deep));
    color: #3d2b00; font-weight: 700; font-size: .88rem;
}

/* ---------- Bagian umum ---------- */
.site-main { padding: 0; }
.section { padding: 58px 0; }
.section-alt { background: var(--g-white); }
.section-dark { background: var(--g-dark); color: #e5d9c9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 .sec-sub, .section-dark .sec-sub { color: #b9a58c; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.sec-kicker {
    display: inline-block; color: var(--g-red); font-weight: 800; font-size: .78rem;
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-dark .sec-kicker { color: var(--g-gold); }
.sec-sub { color: var(--g-muted); font-size: 1rem; margin: 0; }

/* ---------- Langkah pemula ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
    background: var(--g-white); border-radius: var(--radius); padding: 26px 22px;
    border: 1px solid var(--g-line); box-shadow: var(--shadow-sm);
    position: relative; counter-increment: step; transition: transform .18s, box-shadow .18s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
    width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, var(--g-red), var(--g-red-dark));
    box-shadow: 0 4px 10px rgba(168, 18, 31, .35);
}
.step-card:nth-child(2) .step-num { background: linear-gradient(145deg, var(--g-gold), var(--g-gold-deep)); color: #3d2b00; }
.step-card:nth-child(3) .step-num { background: linear-gradient(145deg, #1cb85a, var(--g-green-dark)); }
.step-card:nth-child(4) .step-num { background: linear-gradient(145deg, #3b82d6, var(--g-blue-deep)); }
.step-card h3 { font-size: 1.08rem; }
.step-card p { font-size: .92rem; color: var(--g-muted); margin: 0; }

/* ---------- Kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
    background: var(--g-white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--g-line); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.cat-card:hover { transform: translateY(-4px); 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; }
.cat-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 12, 10, .68));
}
.cat-badge {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase;
}
.cat-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin-bottom: 8px; }
.cat-body p { font-size: .92rem; color: var(--g-muted); flex: 1; }
.cat-body .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Blok daftar/masuk ---------- */
.auth-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto;
}
.auth-card {
    border-radius: var(--radius); padding: 34px 30px; text-align: center;
    box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.auth-card.register {
    background: linear-gradient(160deg, #7e0e1a 0%, #4a0a11 100%);
    color: #f7e9e5;
}
.auth-card.login {
    background: linear-gradient(160deg, #0c5136 0%, #07301f 100%);
    color: #e6f4ec;
}
.auth-card::before {
    content: ""; position: absolute; top: -60px; right: -60px; width: 190px; height: 190px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .3), transparent 70%);
}
.auth-card h3 { color: #fff; font-size: 1.45rem; }
.auth-card p { font-size: .93rem; opacity: .92; }
.auth-card .btn { margin-top: 10px; position: relative; }

/* ---------- Sorotan merek ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
    background: #fff; border-radius: var(--radius); padding: 26px 24px;
    border-top: 4px solid var(--g-gold); border-bottom: 1px solid var(--g-line);
    border-left: 1px solid var(--g-line); border-right: 1px solid var(--g-line);
    box-shadow: var(--shadow-sm);
}
.feat-card:nth-child(2) { border-top-color: var(--g-red); }
.feat-card:nth-child(3) { border-top-color: var(--g-green); }
.feat-card:nth-child(4) { border-top-color: var(--g-blue); }
.feat-card:nth-child(5) { border-top-color: var(--g-gold-deep); }
.feat-card:nth-child(6) { border-top-color: var(--g-red-dark); }
.feat-ico {
    width: 50px; height: 50px; border-radius: 14px; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    background: #fdf3df;
}
.feat-card h3 { font-size: 1.05rem; }
.feat-card p { font-size: .92rem; color: var(--g-muted); margin: 0; }

/* ---------- Seluler ---------- */
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mobile-split .mobile-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid #fff; }
.mobile-points { list-style: none; padding: 0; margin: 22px 0 0; }
.mobile-points li {
    display: flex; gap: 12px; align-items: flex-start; padding: 11px 0;
    border-bottom: 1px dashed var(--g-line); color: #d9cdbc;
}
.mobile-points li:last-child { border-bottom: 0; }
.section-dark .mobile-points .tick { background: var(--g-gold); color: #3d2b00; }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
    background: #fff; border-radius: var(--radius); padding: 26px 24px;
    border: 1px solid var(--g-line); box-shadow: var(--shadow-sm); position: relative;
}
.testi-card::before {
    content: "\201C"; position: absolute; top: 2px; left: 16px;
    font-family: Georgia, serif; font-size: 4.2rem; line-height: 1; color: rgba(224, 32, 47, .16);
}
.testi-stars { color: var(--g-gold-deep); letter-spacing: 3px; margin-bottom: 10px; font-size: .95rem; }
.testi-card blockquote { margin: 0 0 16px; font-style: italic; color: var(--g-body); }
.testi-card figcaption { font-weight: 700; font-size: .9rem; color: var(--g-ink); }
.testi-card figcaption span { display: block; font-weight: 400; font-size: .8rem; color: var(--g-muted); }

/* ---------- Kamus istilah ---------- */
.gloss-featured { max-width: 900px; margin: 0 auto; }
.gloss-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gloss-item {
    background: #fff; border: 1px solid var(--g-line); border-left: 4px solid var(--g-green);
    border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.gloss-item:nth-child(3n+2) { border-left-color: var(--g-gold); }
.gloss-item:nth-child(3n) { border-left-color: var(--g-blue); }
.gloss-item dt { font-weight: 800; color: var(--g-ink); margin-bottom: 4px; }
.gloss-item dd { margin: 0; font-size: .88rem; color: var(--g-muted); }

/* ---------- Keamanan & tanggung jawab ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--g-white); border-radius: var(--radius); padding: 24px;
    border: 1px solid var(--g-line); box-shadow: var(--shadow-sm);
}
.duo-card img { width: 108px; height: 108px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.duo-card h3 { font-size: 1.06rem; }
.duo-card p { font-size: .92rem; color: var(--g-muted); margin-bottom: 12px; }
.duo-card a { font-weight: 700; font-size: .9rem; }

/* ---------- Membaca bonus / transparansi ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; box-shadow: var(--shadow-sm); }
table.terms { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; min-width: 620px; }
table.terms th {
    background: linear-gradient(180deg, #221a17, #17110f); color: var(--g-gold);
    text-align: left; padding: 13px 16px; font-family: Georgia, serif;
}
table.terms td { padding: 12px 16px; border-bottom: 1px solid var(--g-line); vertical-align: top; }
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { font-weight: 700; color: var(--g-ink); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid var(--g-line); border-radius: 12px;
    margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
    list-style: none; cursor: pointer; padding: 17px 52px 17px 20px;
    font-weight: 700; color: var(--g-ink); position: relative; font-size: .99rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #fdf3df; color: var(--g-gold-deep); font-weight: 800; transition: .2s;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--g-red); color: #fff; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--g-body); font-size: .94rem; margin: 0; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Cerita merek ---------- */
.brand-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.brand-split img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 6px solid #fff; }

/* ---------- CTA ---------- */
.cta-band {
    background:
        radial-gradient(1100px 400px at 15% -10%, rgba(255, 197, 61, .16), transparent 60%),
        linear-gradient(120deg, #200d10 0%, #4a0a11 60%, #170f0d 100%);
    border-top: 3px solid var(--g-gold); border-bottom: 3px solid var(--g-gold);
    text-align: center; color: #f0e6d8;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 24px; font-size: 1.02rem; }
.cta-band .btn { margin: 0 6px 10px; }

/* ---------- Halaman artikel ---------- */
.page-hero {
    background: linear-gradient(120deg, #1c1512 0%, #3d0d14 70%, #14100f 100%);
    color: #fff; padding: 44px 0;
    border-bottom: 3px solid var(--g-gold);
}
.page-hero h1 { color: #fff; font-size: 2.1rem; margin: 10px 0 8px; }
.page-hero .sec-sub { color: #d8c9b8; }
.crumb { font-size: .84rem; color: #c9b7a2; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumb a { color: var(--g-gold); }
.crumb a:hover { color: #fff; }
.crumb .sep { color: #7d6a57; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding: 46px 0 60px; align-items: start; }
.entry-content {
    background: #fff; border: 1px solid var(--g-line); border-radius: var(--radius);
    padding: 34px 34px 26px; box-shadow: var(--shadow-sm); min-width: 0;
}
.entry-meta {
    display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
    font-size: .82rem; color: var(--g-muted); margin-bottom: 18px;
    padding-bottom: 16px; border-bottom: 1px solid var(--g-line);
}
.entry-meta .tag {
    display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700;
    background: #fdeaea; color: var(--g-red); font-size: .76rem; letter-spacing: .8px;
}
.entry-content .featured-img { border-radius: 12px; overflow: hidden; margin: 0 0 22px; }
.entry-content h2 { margin-top: 1.6em; padding-top: .6em; border-top: 1px dashed var(--g-line); }
.entry-content h2:first-of-type { border-top: 0; padding-top: 0; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content .toc {
    background: #fbf6ec; border: 1px solid #f0e3c6; border-radius: 12px;
    padding: 18px 22px; margin: 0 0 24px;
}
.entry-content .toc strong { display: block; margin-bottom: 8px; color: var(--g-ink); }
.entry-content .toc ul { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.entry-content .toc a { color: var(--g-red-dark); }
.note-box {
    border-left: 4px solid var(--g-blue); background: #eef4fc;
    padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .93rem; margin: 18px 0;
}
.warn-box {
    border-left: 4px solid var(--g-gold-deep); background: #fdf6e3;
    padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .93rem; margin: 18px 0;
}
.safe-box {
    border-left: 4px solid var(--g-green); background: #edf9f1;
    padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .93rem; margin: 18px 0;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--g-line); }
.article-tags a {
    font-size: .78rem; font-weight: 700; padding: 4px 13px; border-radius: 999px;
    background: #f4f1ec; color: var(--g-muted); border: 1px solid var(--g-line);
}
.article-tags a:hover { background: var(--g-gold); color: #3d2b00; text-decoration: none; }

/* Bilah sisi */
.sidebar .widget {
    background: #fff; border: 1px solid var(--g-line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.sidebar .widget h2, .sidebar .widget h3 { font-size: 1.05rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--g-gold); display: block; }
.sidebar ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.sidebar ul li { padding: 8px 0; border-bottom: 1px dashed var(--g-line); }
.sidebar ul li:last-child { border-bottom: 0; }
.sidebar .widget-cta {
    background: linear-gradient(160deg, #7e0e1a, #4a0a11); border: 0; text-align: center; color: #f7e9e5;
}
.sidebar .widget-cta h3 { color: #fff; border-bottom-color: rgba(255, 197, 61, .5); }
.sidebar .widget-cta p { font-size: .88rem; }
.sidebar .widget-cta .btn { width: 100%; margin-top: 8px; }

/* ---------- Promosi ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--g-line); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promo-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-flag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--g-red); color: #fff; font-size: .72rem; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.promo-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.promo-body h3 { font-size: 1.1rem; }
.promo-body p { font-size: .9rem; color: var(--g-muted); flex: 1; }
.promo-terms-mini {
    font-size: .78rem; color: var(--g-muted); background: #f8f5f0;
    border: 1px dashed var(--g-line); border-radius: 8px; padding: 9px 12px; margin: 10px 0 12px;
}
.promo-terms-mini strong { color: var(--g-ink); }

/* ---------- Formulir auth ---------- */
.auth-page { max-width: 920px; margin: 0 auto; padding: 50px 0 70px; }
.auth-box {
    display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-md); background: #fff;
}
.auth-side {
    background:
        linear-gradient(160deg, rgba(30, 8, 12, .88), rgba(74, 10, 17, .88)),
        url("../images/hero-casino.jpg") center/cover no-repeat;
    color: #f0e6d8; padding: 38px 32px;
}
.auth-side h2 { color: #fff; font-size: 1.5rem; }
.auth-side ul { list-style: none; padding: 0; font-size: .93rem; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.auth-form-wrap { padding: 38px 34px; }
.auth-form-wrap h1 { font-size: 1.6rem; }
.auth-form-wrap .sub { color: var(--g-muted); font-size: .92rem; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--g-ink); }
.form-field input {
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--g-line); border-radius: 10px;
    font-size: .95rem; background: #fcfbf9; color: var(--g-ink);
}
.form-field input:focus { outline: none; border-color: var(--g-gold-deep); background: #fff; box-shadow: 0 0 0 3px rgba(255, 197, 61, .25); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--g-muted); margin: 4px 0 18px; }
.form-check input { margin-top: 3px; width: auto; }
.form-check a { font-weight: 700; }
.form-note { font-size: .78rem; color: var(--g-muted); margin-top: 14px; text-align: center; }
.auth-alt { text-align: center; margin-top: 18px; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g-dark); color: #c9b7a2; margin-top: 0; }
.footer-top { padding: 46px 0 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-brand .site-title { margin-bottom: 8px; }
.footer-brand p { font-size: .88rem; color: #a6937d; margin-bottom: 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-badges span {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid #3d322b; border-radius: 8px; padding: 6px 12px;
    font-size: .76rem; font-weight: 700; color: #d8c9b8; letter-spacing: .5px;
}
.footer-grid h3 {
    color: #fff; font-size: .95rem; letter-spacing: 1.4px; text-transform: uppercase;
    font-family: "Segoe UI", system-ui, sans-serif; margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer-grid ul li { padding: 5px 0; }
.footer-grid ul a { color: #c9b7a2; }
.footer-grid ul a:hover { color: var(--g-gold); }
.footer-18 { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: #a6937d; }
.footer-18 .badge-18 { width: 34px; height: 34px; min-width: 34px; font-size: .72rem; }
.footer-disclaimer {
    margin-top: 26px; padding: 16px 18px; border: 1px dashed #3d322b; border-radius: 10px;
    font-size: .78rem; line-height: 1.65; color: #a6937d;
}
.footer-bottom {
    border-top: 1px solid #2c241f; margin-top: 26px; padding: 18px 0;
    display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
    font-size: .8rem; color: #8d7c6b;
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: #a6937d; }
.footer-bottom a:hover { color: var(--g-gold); }
/* ruang agar isi footer bawah tidak tertutup bar melayang (di dalam footer, bukan area kosong) */
.footer-clear { height: 66px; }

/* ---------- Bar melayang bawah (gaya mesin slot) ---------- */
.float-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    background: linear-gradient(180deg, #241511 0%, #120b09 100%);
    border-top: 2px solid var(--g-gold);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .5);
    padding: 7px 0 calc(7px + env(safe-area-inset-bottom, 0px));
}
.float-bar-inner {
    max-width: var(--wrap); margin: 0 auto; padding: 0 14px;
    display: flex; align-items: center; gap: 14px;
}
.slot-reels { display: flex; gap: 5px; flex-shrink: 0; }
.reel {
    width: 34px; height: 44px; border-radius: 8px; overflow: hidden; position: relative;
    background: linear-gradient(180deg, #fff7e0, #ffe9ad 18%, #f7d672 50%, #e8a317 100%);
    border: 2px solid #8a5a00; box-shadow: inset 0 0 8px rgba(120, 70, 0, .35);
}
.reel-track { position: absolute; left: 0; right: 0; top: 0; animation: reelspin 2.4s linear infinite; }
.reel:nth-child(2) .reel-track { animation-delay: .5s; }
.reel:nth-child(3) .reel-track { animation-delay: 1.1s; }
.reel-track span { display: block; height: 44px; line-height: 44px; text-align: center; font-size: 1.25rem; }
@keyframes reelspin {
    0% { transform: translateY(0); }
    78% { transform: translateY(-264px); }
    100% { transform: translateY(-352px); }
}
.float-copy { flex: 1; min-width: 0; color: #ffe9ad; font-weight: 800; font-size: .92rem; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-copy small { display: block; color: #b9a58c; font-weight: 600; font-size: .68rem; letter-spacing: 1.2px; }
.float-cta { display: flex; gap: 9px; flex-shrink: 0; }
.float-cta .btn {
    position: relative; padding: 10px 22px; font-size: .92rem; letter-spacing: .6px;
    animation: pulseglow 2.2s ease-in-out infinite;
}
.float-cta .btn-green { animation-delay: 1.1s; }
@keyframes pulseglow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 197, 61, .55), 0 5px 16px rgba(0, 0, 0, .4); }
    50% { box-shadow: 0 0 0 7px rgba(255, 197, 61, 0), 0 5px 16px rgba(0, 0, 0, .4); }
}
/* efek koin jatuh */
.coin { position: absolute; top: -26px; width: 18px; height: 18px; border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #ffe9a8, #f2b632 55%, #a86e00);
    box-shadow: 0 0 6px rgba(255, 213, 79, .8); opacity: 0;
    animation: coinfall 2.6s ease-in infinite; pointer-events: none;
}
.coin::after { content: "Rp"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .55rem; font-weight: 800; color: #7a4d00; }
.float-cta .btn:nth-child(1) .coin.c1 { left: 12%; animation-delay: 0s; }
.float-cta .btn:nth-child(1) .coin.c2 { left: 55%; animation-delay: .9s; }
.float-cta .btn:nth-child(2) .coin.c1 { left: 20%; animation-delay: .45s; }
.float-cta .btn:nth-child(2) .coin.c2 { left: 68%; animation-delay: 1.5s; }
@keyframes coinfall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    12% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateY(72px) rotate(320deg); opacity: 0; }
}

/* ---------- Halaman 404 ---------- */
.error-404 { text-align: center; padding: 90px 0 100px; }
.error-404 .code { font-family: Georgia, serif; font-size: 5.5rem; font-weight: 700; color: var(--g-red); line-height: 1; }
.error-404 h1 { font-size: 1.7rem; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
    .main-navigation a { padding: 9px 9px; font-size: .88rem; }
    .header-actions .btn-masuk-header { display: none; }
    .steps-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .header-inner { gap: 12px; }
    .site-title { font-size: 1.25rem; }
    .site-logo { width: 40px; height: 40px; font-size: 1.15rem; }
    .main-navigation {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #1a1310; border-bottom: 3px solid var(--g-gold);
        box-shadow: 0 14px 26px rgba(0, 0, 0, .5);
    }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; gap: 0; padding: 8px 14px 14px; }
    .main-navigation a { padding: 12px 10px; border-bottom: 1px solid #2c241f; border-radius: 6px; }
    .header-actions .btn { display: none; }
    .header-actions .btn-keep { display: inline-flex; padding: 8px 14px; font-size: .8rem; }
    .hero-inner { grid-template-columns: 1fr; padding: 48px 0 54px; }
    .hero h1 { font-size: 2.15rem; }
    .mobile-split, .brand-split, .auth-panel, .duo-grid { grid-template-columns: 1fr; }
    .auth-box { grid-template-columns: 1fr; }
    .auth-side { order: 2; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .gloss-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.42rem; }
    .section { padding: 44px 0; }
    .header-inner { gap: 10px; }
    .site-branding { min-width: 0; }
    .nav-toggle { padding: 8px; }
    .slot-reels { display: none; }
    .steps-grid, .cat-grid, .testi-grid, .promo-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .gloss-row { grid-template-columns: 1fr; }
    .search-form { display: none; }
    .entry-content { padding: 24px 20px 20px; }
    .sidebar { grid-template-columns: 1fr; }
    .float-copy { display: none; }
    .float-bar-inner { justify-content: center; gap: 10px; }
    .float-cta { width: 100%; }
    .float-cta .btn { flex: 1; padding: 12px 10px; font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .header-inner { gap: 8px; }
    .site-logo { width: 34px; height: 34px; font-size: 1rem; }
    .site-title { font-size: 1.05rem; }
    .site-tagline { display: none; }
    .header-actions .btn-keep { padding: 7px 12px; font-size: .75rem; }
    .hero h1 { font-size: 1.7rem; }
    .hero-cta .btn { width: 100%; }
    .duo-card { flex-direction: column; }
    .duo-card img { width: 100%; height: 170px; }
    .float-cta .btn { padding: 11px 8px; font-size: .95rem; }
    .footer-clear { height: 62px; }
}

/* Cetak */
@media print {
    .site-header, .float-bar, .header-actions, .nav-toggle, .sidebar, .footer-clear { display: none !important; }
    body { background: #fff; color: #000; }
}
