/*
Theme Name: Mpo555
Theme URI: https://mpo555.games
Author: Mpo555 Editorial Team
Description: Tema WordPress-style untuk situs informasi hiburan Mpo555. Diprarender menjadi HTML statis (Googlebot tidak perlu menjalankan JS). Palet: merah, putih, hijau, kuning emas, biru, hitam.
Version: 1.0.0
Text Domain: mpo555
Tags: blog, news, one-column, custom-colors, responsive-layout
*/

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.7;
  color: #23222b;
  background: #f7f5f0;
  overflow-x: hidden;
}
img, video, svg, iframe { max-width: 100%; height: auto; }
a { color: #2065d1; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; color: #17161f; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
code, pre { font-family: Consolas, "Courier New", monospace; }
pre { overflow-x: auto; background: #17161f; color: #ffe9b0; padding: 1em; border-radius: 10px; }
hr { border: 0; border-top: 2px dashed #e4dfd3; margin: 2em 0; }

:root {
  --c-black: #0d0d14;
  --c-ink: #17161f;
  --c-red: #d2103e;
  --c-red-dark: #a60d30;
  --c-gold: #ffc53d;
  --c-gold-dark: #d99e00;
  --c-green: #0fa958;
  --c-green-dark: #0b7a41;
  --c-blue: #2065d1;
  --c-bg: #f7f5f0;
  --c-line: #e7e2d6;
  --wrap: 1180px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; background: #fff; color: #000; padding: 8px 16px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-daftar { background: linear-gradient(180deg, #17c46a, var(--c-green-dark)); color: #fff; box-shadow: 0 6px 18px rgba(15, 169, 88, .35); }
.btn-daftar:hover { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(15, 169, 88, .45); }
.btn-masuk { background: linear-gradient(180deg, var(--c-gold), var(--c-gold-dark)); color: #3a2a00; box-shadow: 0 6px 18px rgba(255, 197, 61, .3); }
.btn-masuk:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-red { background: linear-gradient(180deg, #e81244, var(--c-red-dark)); color: #fff; }
.btn-red:hover { filter: brightness(1.08); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, #14131c, #0d0d14);
  border-bottom: 3px solid var(--c-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.site-branding { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.site-logo {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: radial-gradient(circle at 30% 30%, #ff5c7a, var(--c-red-dark));
  border: 2px solid var(--c-gold);
  display: grid; place-items: center; color: var(--c-gold); font-weight: 900; font-size: 1.05rem;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25);
}
.site-title { color: #fff; font-size: 1.3rem; font-weight: 900; margin: 0; letter-spacing: .02em; }
.site-title .tld { color: var(--c-gold); }
.site-title small { display: block; font-size: .58rem; font-weight: 600; color: #b9b5c7; letter-spacing: .22em; text-transform: uppercase; }

.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-navigation a {
  color: #e9e6f2; font-weight: 700; font-size: .92rem; padding: 9px 12px; border-radius: 8px; display: block;
}
.main-navigation a:hover, .main-navigation .current-menu-item a { color: var(--c-gold); background: rgba(255, 197, 61, .1); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 9px 20px; font-size: .88rem; }
.search-toggle {
  background: transparent; border: 1.5px solid #4a4958; color: #e9e6f2; width: 40px; height: 40px;
  border-radius: 10px; cursor: pointer; font-size: 1.05rem; transition: border-color .15s;
}
.search-toggle:hover { border-color: var(--c-gold); }
.nav-toggle { display: none; background: transparent; border: 1.5px solid #4a4958; color: #fff; width: 42px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 1.1rem; }

.age-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid #fff; color: #fff; font-weight: 900; font-size: .95rem; background: radial-gradient(circle at 35% 30%, #ff5c7a, var(--c-red-dark));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .15);
}

/* ===== Search overlay ===== */
.search-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(13, 13, 20, .96); backdrop-filter: blur(4px); padding: 90px 20px 40px; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-box { max-width: 640px; margin: 0 auto; }
.search-box form { display: flex; gap: 10px; }
.search-box input[type="search"] {
  flex: 1; padding: 15px 20px; border-radius: 14px; border: 2px solid var(--c-gold); font-size: 1.05rem;
  background: #fff; color: #17161f; min-width: 0;
}
.search-box button { padding: 15px 24px; }
.search-close { position: absolute; top: 22px; right: 26px; background: transparent; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.search-hints { max-width: 640px; margin: 18px auto 0; }
.search-hints .hint-label { color: #b9b5c7; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.search-results { max-width: 640px; margin: 14px auto 0; list-style: none; padding: 0; }
.search-results li { background: #1d1c28; border: 1px solid #35333f; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.search-results a { color: var(--c-gold); font-weight: 700; }
.search-results p { color: #cfcbd9; margin: 4px 0 0; font-size: .9rem; }
.search-empty { color: #cfcbd9; text-align: center; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 13, 20, .92), rgba(166, 13, 48, .55)), url("../img/hero.jpg") center 30% / cover no-repeat;
}
.hero-inner { padding: clamp(48px, 8vw, 96px) 0; max-width: 720px; }
.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(--c-gold); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.hero h1 em { font-style: normal; color: var(--c-gold); }
.hero p.lead { color: #eeeaf5; font-size: 1.06rem; max-width: 58ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); color: #f2eff8; border-radius: 999px;
  padding: 6px 14px; font-size: .82rem; font-weight: 600;
}
.hero-18 { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #d9d5e4; font-size: .85rem; max-width: 52ch; }

/* ===== Sections ===== */
.site-main section { padding: clamp(44px, 6vw, 74px) 0; }
.section-light { background: #fff; }
.section-warm { background: var(--c-bg); }
.section-dark { background: linear-gradient(180deg, #14131c, #1c1b26); color: #d9d5e4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: inline-block; color: var(--c-red); font-weight: 800; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px;
}
.section-dark .section-head .kicker { color: var(--c-gold); }
.section-head p { color: #5c5a68; }
.section-dark .section-head p { color: #b9b5c7; }
.section-title-underline { position: relative; padding-bottom: 12px; }
.section-title-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
}
.section-head.center .section-title-underline::after { left: 50%; transform: translateX(-50%); }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23, 22, 31, .12); border-color: var(--c-gold); }
.card-body { padding: 22px; flex: 1; }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: inherit; }
.card .card-tag {
  position: absolute; top: 12px; left: 12px; background: var(--c-red); color: #fff; font-size: .72rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.card .card-meta { color: #8a8794; font-size: .82rem; margin-bottom: 10px; }
.card p { color: #4c4a56; font-size: .95rem; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* ===== Steps ===== */
.step-card {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 26px 22px 22px;
  counter-increment: step;
}
.step-card::before {
  content: "0" counter(step); position: absolute; top: -16px; left: 18px; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 900; color: #fff; font-size: 1rem;
  background: linear-gradient(160deg, var(--c-red), #7d0a24); border: 2px solid var(--c-gold);
}
.step-card:nth-child(2)::before { background: linear-gradient(160deg, #17c46a, var(--c-green-dark)); }
.step-card:nth-child(3)::before { background: linear-gradient(160deg, #3f82f0, #123f8f); }
.step-card:nth-child(4)::before { background: linear-gradient(160deg, var(--c-gold), #9a7000); color: #2c2000; }
.steps-grid { counter-reset: step; display: grid; gap: 26px 22px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); padding-top: 16px; }
.step-card h3 { margin-top: 10px; font-size: 1.08rem; }
.step-card p { color: #4c4a56; font-size: .93rem; margin: 0; }

/* ===== Feature cards ===== */
.feature-card { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-gold); border-radius: 12px; padding: 22px; }
.feature-card:nth-child(2n) { border-left-color: var(--c-red); }
.feature-card:nth-child(3n) { border-left-color: var(--c-green); }
.feature-card:nth-child(5n) { border-left-color: var(--c-blue); }
.feature-icon { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: #4c4a56; font-size: .93rem; margin: 0; }

/* ===== Split media section ===== */
.split { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: center; }
.split figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(13, 13, 20, .25); border: 3px solid rgba(255, 255, 255, .9); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding: 7px 0 7px 34px; position: relative; color: #4c4a56; }
.checklist li::before {
  content: "✔"; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: #e2f6ea; color: var(--c-green-dark); font-size: .78rem; display: grid; place-items: center; font-weight: 900;
}
.section-dark .checklist li { color: #cfcbd9; }

/* ===== Testimonials ===== */
.testi-card { background: #17161f; border: 1px solid #35333f; border-radius: 16px; padding: 24px; color: #d9d5e4; position: relative; }
.testi-card::before { content: "“"; position: absolute; top: 2px; right: 18px; font-size: 4rem; color: rgba(255, 197, 61, .25); font-family: Georgia, serif; line-height: 1; }
.testi-stars { color: var(--c-gold); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.testi-card p { font-size: .95rem; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.testi-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem; background: linear-gradient(160deg, #3f82f0, #123f8f); flex: 0 0 auto; }
.testi-who strong { color: #fff; display: block; font-size: .92rem; }
.testi-who span { color: #9a96a8; font-size: .78rem; }
.testi-note { text-align: center; color: #8a8794; font-size: .8rem; margin-top: 18px; }

/* ===== Glossary (innovatief) ===== */
.glossary-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.glossary-item { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.glossary-item summary {
  cursor: pointer; padding: 14px 18px; font-weight: 800; color: var(--c-ink); list-style: none;
  display: flex; align-items: center; gap: 10px; font-size: .95rem;
}
.glossary-item summary::-webkit-details-marker { display: none; }
.glossary-item summary::before { content: "🎰"; filter: grayscale(.4); transition: transform .2s; }
.glossary-item[open] summary::before { transform: rotate(90deg); filter: none; }
.glossary-item summary::after { content: "＋"; margin-left: auto; color: var(--c-red); font-weight: 900; }
.glossary-item[open] summary::after { content: "－"; }
.glossary-item .glossary-body { padding: 0 18px 16px; color: #4c4a56; font-size: .92rem; border-top: 1px dashed var(--c-line); padding-top: 12px; }
.glossary-term-en { color: #8a8794; font-size: .8rem; font-weight: 600; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--c-ink); list-style: none; display: flex; gap: 12px; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "▾"; margin-left: auto; color: var(--c-red); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: #4c4a56; }
.faq-q-tag { color: var(--c-gold-dark); font-size: .8rem; font-weight: 900; letter-spacing: .1em; flex: 0 0 auto; }

/* ===== Tag cloud ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: #fff; border: 1.5px solid var(--c-line); color: #3f3d49; transition: all .15s;
}
.tag-cloud a:hover { border-color: var(--c-red); color: var(--c-red); text-decoration: none; transform: translateY(-2px); }
.tag-cloud a.hot { border-color: var(--c-gold); background: #fff7e0; color: #7a5b00; }
.section-dark .tag-cloud a { background: #1d1c28; border-color: #35333f; color: #cfcbd9; }
.section-dark .tag-cloud a:hover { border-color: var(--c-gold); color: var(--c-gold); }
.section-dark .tag-cloud a.hot { background: rgba(255, 197, 61, .12); border-color: var(--c-gold); color: var(--c-gold); }

/* ===== Breadcrumbs ===== */
.breadcrumbs { font-size: .84rem; color: #6d6a79; padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #a5a1b0; }
.breadcrumbs a { color: #2065d1; font-weight: 600; }
.breadcrumbs [aria-current] { color: #3f3d49; font-weight: 700; }

/* ===== Article layout ===== */
.page-hero { background: linear-gradient(160deg, #14131c, #26123a); color: #fff; padding: clamp(36px, 5vw, 58px) 0 clamp(30px, 4vw, 44px); }
.page-hero h1 { color: #fff; max-width: 21ch; }
.page-hero .breadcrumbs a { color: var(--c-gold); }
.page-hero .breadcrumbs [aria-current] { color: #d9d5e4; }
.page-hero .entry-meta { color: #b9b5c7; font-size: .86rem; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.entry-meta .meta-item::before { content: attr(data-icon) " "; }
.article-layout { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; padding: clamp(34px, 5vw, 56px) 0; }
.entry-content { background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); overflow-wrap: break-word; }
.entry-featured { margin: 0 0 1.4em; border-radius: 14px; overflow: hidden; }
.entry-featured img { display: block; width: 100%; }
.entry-featured figcaption { font-size: .8rem; color: #8a8794; padding: 10px 4px 0; text-align: center; }
.entry-content h2 { margin-top: 1.6em; padding-bottom: .25em; border-bottom: 2px solid #f0ecdf; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content > p:first-of-type { font-size: 1.05em; }
.entry-content a { font-weight: 600; }
.notice {
  border-radius: 12px; padding: 16px 18px; margin: 0 0 1.2em; font-size: .93rem; border: 1px solid; background: #fff; display: flex; gap: 10px;
}
.notice-info { background: #eef4fe; border-color: #bcd4f7; color: #1c3d74; }
.notice-warn { background: #fff5f6; border-color: #f5c2cb; color: #7a1226; }
.notice-safe { background: #eafaf1; border-color: #b9e8cf; color: #0b5c34; }

/* TOC */
.toc { background: #f7f5f0; border: 1px solid var(--c-line); border-radius: 12px; padding: 18px 22px; margin-bottom: 1.5em; }
.toc strong { display: block; margin-bottom: 8px; color: var(--c-ink); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
.toc li { margin-bottom: 4px; font-size: .92rem; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border-radius: 12px; border: 1px solid var(--c-line); -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; background: #fff; }
.table-scroll th { background: var(--c-ink); color: #ffd97a; text-align: left; padding: 12px 14px; white-space: nowrap; }
.table-scroll td { padding: 11px 14px; border-top: 1px solid var(--c-line); vertical-align: top; }
.table-scroll tr:nth-child(even) td { background: #faf8f3; }

/* ===== Sidebar widgets ===== */
.sidebar .widget { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 22px; margin-bottom: 22px; }
.widget-title { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--c-gold); display: inline-block; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--c-line); font-size: .92rem; }
.widget li:last-child { border-bottom: 0; }
.widget-cta { background: linear-gradient(160deg, #1c1b26, #26123a); color: #d9d5e4; text-align: center; }
.widget-cta .widget-title { color: #fff; border-color: var(--c-red); }
.widget-cta p { font-size: .9rem; }
.widget-cta .btn { width: 100%; margin-top: 8px; }

/* ===== Forms ===== */
.form-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.form-card form { display: grid; gap: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d8d3c6; font-size: .95rem;
  background: #fdfcf9; color: #17161f; min-width: 0;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(32, 101, 209, .15); }
.form-field .hint { font-size: .78rem; color: #8a8794; margin-top: 4px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #4c4a56; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.form-error { display: none; background: #fff5f6; border: 1px solid #f5c2cb; color: #7a1226; padding: 10px 14px; border-radius: 10px; font-size: .86rem; }
.form-actions { display: grid; gap: 10px; }
.form-actions .btn { width: 100%; padding: 14px; font-size: 1rem; }
.form-alt { text-align: center; font-size: .88rem; margin-top: 14px; }
.form-note { font-size: .8rem; color: #8a8794; text-align: center; margin-top: 16px; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #a60d30, #d2103e 45%, #ffc53d 130%); color: #fff; border-radius: 20px;
  padding: clamp(28px, 5vw, 48px); text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: " ♦ ♥ ♣ ♠ "; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 7rem; color: rgba(255, 255, 255, .07); letter-spacing: 1rem; pointer-events: none;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #ffe9ec; max-width: 56ch; margin: 0 auto 1.2em; }
.cta-banner .btn { margin: 4px; }

/* ===== Promo cards ===== */
.promo-card { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23, 22, 31, .12); }
.promo-card .promo-ribbon {
  background: linear-gradient(90deg, var(--c-red), #ff5c7a); color: #fff; font-weight: 800; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px;
}
.promo-card .promo-val { font-size: 1.5rem; font-weight: 900; color: var(--c-red); padding: 16px 22px 0; }
.promo-card .promo-val small { font-size: .85rem; color: #6d6a79; font-weight: 700; display: block; }
.promo-card .card-body { padding: 16px 22px 22px; }
.promo-facts { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.promo-facts span { background: #f4f1e8; border: 1px solid var(--c-line); color: #3f3d49; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* ===== Footer ===== */
.site-footer { background: #0d0d14; color: #b9b5c7; border-top: 3px solid var(--c-red); }
.footer-widgets { display: grid; gap: 30px; grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: clamp(36px, 5vw, 56px) 0 30px; }
.footer-widgets h4 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li { margin-bottom: 9px; }
.footer-widgets a { color: #b9b5c7; font-size: .9rem; }
.footer-widgets a:hover { color: var(--c-gold); }
.footer-about .site-title { font-size: 1.15rem; margin-bottom: 10px; }
.footer-about p { font-size: .88rem; color: #9a96a8; }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-pay span {
  background: #1d1c28; border: 1px solid #35333f; color: #d9d5e4; font-size: .74rem; font-weight: 700;
  padding: 5px 12px; border-radius: 8px; letter-spacing: .04em;
}
.footer-legal { border-top: 1px solid #26242f; padding: 20px 0 26px; font-size: .8rem; color: #8a8794; }
.footer-legal p { margin: 0 0 10px; }
.footer-legal .footer-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-legal .footer-badges .age-badge { width: 38px; height: 38px; min-width: 38px; font-size: .8rem; }
.badge-18-note { color: #b9b5c7; font-weight: 600; }
.footer-nav-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav-legal a { color: #b9b5c7; }

/* ===== Floating CTA bar (slot style) ===== */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(13, 13, 20, .88), rgba(13, 13, 20, .97));
  border-top: 2px solid var(--c-gold);
  backdrop-filter: blur(6px);
}
.slot-reels { display: flex; gap: 5px; flex: 0 0 auto; }
.slot-reel {
  width: 34px; height: 34px; border-radius: 8px; overflow: hidden; background: #fff;
  border: 2px solid var(--c-gold); box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
.slot-reel .reel-track { display: flex; flex-direction: column; animation: reelspin 2.4s linear infinite; }
.slot-reel .reel-track span { height: 34px; display: grid; place-items: center; font-size: 1.05rem; line-height: 1; }
.slot-reel:nth-child(2) .reel-track { animation-delay: .2s; animation-duration: 2.7s; }
.slot-reel:nth-child(3) .reel-track { animation-delay: .4s; animation-duration: 2.1s; }
@keyframes reelspin { 0% { transform: translateY(0); } 100% { transform: translateY(-136px); } }
@media (prefers-reduced-motion: reduce) { .slot-reel .reel-track { animation: none; } .coin { display: none; } }

.float-cta .btn { position: relative; padding: 12px 30px; font-size: 1rem; letter-spacing: .04em; }
.coin {
  position: absolute; width: 18px; height: 18px; border-radius: 50%; top: -6px;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #d99e00);
  border: 2px solid #b8860b; box-shadow: 0 0 8px rgba(255, 197, 61, .8);
  animation: coinup 1.6s ease-out infinite; pointer-events: none; z-index: 91;
}
.coin::after { content: "Rp"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 7px; font-weight: 900; color: #7a5b00; }
@keyframes coinup {
  0% { transform: translateY(6px) scale(.6); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-46px) scale(1) rotate(30deg); opacity: 0; }
}
.float-cta .cta-wrap { position: relative; }
.float-cta .cta-wrap .coin.c1 { left: 14%; animation-delay: 0s; }
.float-cta .cta-wrap .coin.c2 { left: 48%; animation-delay: .5s; }
.float-cta .cta-wrap .coin.c3 { left: 82%; animation-delay: 1s; }

/* ===== Helper ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4em; }
.muted { color: #6d6a79; font-size: .9rem; }
.section-dark .muted { color: #9a96a8; }
.lead-sm { font-size: .95rem; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; order: 3; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #14131c; border-bottom: 3px solid var(--c-gold); box-shadow: 0 18px 30px rgba(0, 0, 0, .5); margin: 0; }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; padding: 10px 16px 16px; gap: 2px; }
  .main-navigation a { padding: 12px 10px; font-size: 1rem; }
  .header-actions .btn-masuk { display: none; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .header-actions .btn-daftar { padding: 9px 14px; font-size: .82rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .footer-widgets { grid-template-columns: 1fr; }
  .float-cta { gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .slot-reel { width: 28px; height: 28px; }
  .slot-reel .reel-track span { height: 28px; font-size: .9rem; }
  @keyframes reelspin { 0% { transform: translateY(0); } 100% { transform: translateY(-112px); } }
  .float-cta .btn { padding: 11px 20px; font-size: .92rem; }
  .entry-content { padding: 20px 16px; }
  .toc ol { padding-left: 1.1em; }
}
@media (max-width: 480px) {
  .slot-reels { display: none; }
  .float-cta .btn { padding: 12px 24px; font-size: .98rem; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .header-inner { gap: 10px; }
  .site-logo { width: 36px; height: 36px; font-size: .9rem; }
  .site-title { font-size: 1.05rem; }
  .site-title small { display: none; }
  .header-actions { gap: 6px; }
  .search-toggle { width: 36px; height: 38px; }
  .nav-toggle { width: 38px; height: 38px; }
  .header-actions .btn-daftar { padding: 8px 12px; font-size: .78rem; }
}

/* Print: hide interactive-only elements */
@media print {
  .site-header, .float-cta, .search-overlay, .header-actions, .breadcrumbs { display: none !important; }
  body { background: #fff; }
}
