/*
Theme Name: Sultan33
Theme URI: https://sultan33.games/
Description: Tema statis Sultan33 — struktur & penamaan kelas mengikuti konvensi tema WordPress (site-header, main-navigation, entry-content, site-footer) agar mudah dipindahkan ke WordPress.
Author: Sultan33 Dev Team
Version: 1.0.0
Text Domain: sultan33
*/

/* =========================================================
   1. Design tokens & reset
   ========================================================= */
:root {
  --red: #c8102e;
  --red-dark: #8e0c1f;
  --red-deep: #6d0a18;
  --gold: #f6b817;
  --gold-2: #ffd34d;
  --gold-dark: #b97e06;
  --green: #0e7c42;
  --green-dark: #0a5c31;
  --blue: #1454c9;
  --blue-dark: #0e3f96;
  --ink: #17141c;
  --dark: #161219;
  --dark-2: #211a26;
  --dark-3: #2b2331;
  --paper: #ffffff;
  --cream: #faf6ee;
  --line: #eae2d4;
  --muted: #6b6472;
  --shadow-sm: 0 2px 10px rgba(23, 20, 28, .08);
  --shadow-md: 0 10px 30px rgba(23, 20, 28, .14);
  --shadow-lg: 0 18px 50px rgba(23, 20, 28, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --grad-gold: linear-gradient(135deg, #ffd34d 0%, #f6b817 55%, #e09b06 100%);
  --grad-red: linear-gradient(135deg, #e01538 0%, #c8102e 45%, #8e0c1f 100%);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { padding-left: 1.25em; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, .95rem + .9vw, 1.45rem); }
p { margin: 0 0 1.05em; overflow-wrap: break-word; }

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

/* Utilities ala WordPress */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  border: 0; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 8px 16px; z-index: 100000; }
.skip-link:focus { left: 8px; top: 8px; }

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }

/* =========================================================
   2. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .78em 1.7em;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--grad-gold); color: #231a02; box-shadow: 0 8px 22px rgba(246, 184, 23, .38); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(246, 184, 23, .5); }
.btn--red { background: var(--grad-red); color: #fff; box-shadow: 0 8px 22px rgba(200, 16, 46, .35); }
.btn--red:hover { box-shadow: 0 12px 30px rgba(200, 16, 46, .48); }
.btn--ghost { border-color: rgba(246, 184, 23, .8); color: var(--gold-2); background: rgba(246, 184, 23, .06); }
.btn--ghost:hover { background: rgba(246, 184, 23, .16); color: #ffd97a; }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--sm { padding: .5em 1.15em; font-size: .85rem; }
.btn--lg { padding: .95em 2.2em; font-size: 1.05rem; }

/* =========================================================
   3. Site header (mirrors header.php)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(22, 18, 25, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 184, 23, .18);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-branding a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(246,184,23,.45)); }
.site-title { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.site-title em { font-style: normal; color: var(--gold); }
.brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

.main-navigation { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 9px 13px; border-radius: 10px;
  color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem;
  text-decoration: none !important; transition: color .15s, background .15s;
}
.nav-menu a:hover { color: var(--gold-2); background: rgba(246,184,23,.1); }
.nav-menu .current-menu-item a, .nav-menu a[aria-current="page"] { color: var(--gold); background: rgba(246,184,23,.12); }

.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.main-navigation + .header-actions { margin-left: 0; }

.search-toggle, .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #fff; cursor: pointer; transition: background .15s;
}
.search-toggle:hover, .nav-toggle:hover { background: rgba(246,184,23,.16); }
.nav-toggle { display: none; }

/* Search bar */
.search-bar { border-top: 1px solid rgba(246,184,23,.15); background: var(--dark-2); }
.search-bar[hidden] { display: none; }
.search-bar-inner { position: relative; padding: 14px 20px 18px; }
#searchInput {
  width: 100%; padding: 12px 18px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #fff; font: inherit; outline: none;
}
#searchInput:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,184,23,.2); }
#searchInput::placeholder { color: rgba(255,255,255,.45); }
.search-results {
  position: absolute; left: 20px; right: 20px; top: 62px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 50; display: none;
}
.search-results.is-open { display: block; }
.search-results a {
  display: block; padding: 12px 18px; color: var(--ink);
  border-bottom: 1px solid var(--line); text-decoration: none !important;
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a:focus { background: var(--cream); }
.search-results .sr-title { font-weight: 700; font-size: .95rem; }
.search-results .sr-desc { font-size: .8rem; color: var(--muted); }
.search-tags { margin-top: 10px; font-size: .8rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-tags a { color: var(--gold-2); text-decoration: none !important; border: 1px solid rgba(246,184,23,.35); padding: 2px 11px; border-radius: 999px; }
.search-tags a:hover { background: rgba(246,184,23,.15); }

/* =========================================================
   4. Hero
   ========================================================= */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, rgba(23,15,20,.94) 0%, rgba(109,10,24,.88) 55%, rgba(23,15,20,.96) 100%), url("../images/hero-casino.jpg") center 30%/cover no-repeat;
  color: #fff;
  padding: clamp(56px, 9vw, 110px) 0;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 300px at 82% 8%, rgba(246,184,23,.16), transparent 65%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-copy .kicker { margin-bottom: 14px; }
.hero-copy h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-copy h1 .hl { color: var(--gold); }
.hero-lead { font-size: clamp(1rem, .95rem + .35vw, 1.15rem); color: rgba(255,255,255,.88); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(246,184,23,.35); }
.hero-badge {
  position: absolute; top: -18px; right: -10px;
  background: var(--grad-gold); color: #231a02; font-weight: 800; font-size: .78rem;
  padding: 9px 15px; border-radius: 12px; box-shadow: var(--shadow-md);
  transform: rotate(3deg);
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark);
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.on-dark .kicker { color: var(--gold); }

/* =========================================================
   5. Sections
   ========================================================= */
.section { padding: clamp(54px, 7vw, 92px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #ece7ef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section--dark .section-head p { color: rgba(255,255,255,.72); }
.section-head.left { text-align: left; margin-left: 0; }

/* =========================================================
   6. Cards & grids
   ========================================================= */
.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); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tag--gold { background: rgba(246,184,23,.16); color: var(--gold-dark); }
.tag--red { background: rgba(200,16,46,.1); color: var(--red); }
.tag--green { background: rgba(14,124,66,.1); color: var(--green); }
.tag--blue { background: rgba(20,84,201,.1); color: var(--blue); }
.card__link { font-weight: 800; font-size: .9rem; color: var(--red); text-decoration: none !important; }
.card__link:hover { color: var(--red-dark); }

/* Category tiles (beranda) */
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); display: block; text-decoration: none !important; min-height: 250px; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .35s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(185deg, transparent 30%, rgba(16,10,16,.92) 100%); }
.cat-tile .cat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; color: #fff; }
.cat-tile .cat-info h3 { color: #fff; margin: 0 0 4px; }
.cat-tile .cat-info p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.82); }
.cat-tile .cat-arrow {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: var(--gold-2); font-weight: 800;
}

/* =========================================================
   7. Steps (panduan 4 langkah)
   ========================================================= */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-gold); color: #231a02; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(246,184,23,.4); margin-bottom: 14px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* =========================================================
   8. Feature / why-us cards
   ========================================================= */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.feature .f-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
}
.f-icon--gold { background: rgba(246,184,23,.15); }
.f-icon--red { background: rgba(200,16,46,.1); }
.f-icon--green { background: rgba(14,124,66,.1); }
.f-icon--blue { background: rgba(20,84,201,.1); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

/* =========================================================
   9. Payment methods
   ========================================================= */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pay-chip {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.pay-chip .p-icon {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  background: var(--cream);
}
.pay-chip b { display: block; font-size: .92rem; }
.pay-chip span { display: block; font-size: .74rem; color: var(--muted); }

/* =========================================================
   10. Testimonials
   ========================================================= */
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.t-card .t-quote { font-size: .95rem; color: var(--ink); margin: 0; flex: 1; }
.t-card .t-quote::before { content: "“"; color: var(--gold); font-size: 1.6em; font-weight: 800; line-height: 0; margin-right: 2px; }
.t-foot { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .95rem;
}
.t-avatar--a { background: var(--grad-red); }
.t-avatar--b { background: linear-gradient(135deg, #1454c9, #0e3f96); }
.t-avatar--c { background: linear-gradient(135deg, #0e7c42, #0a5c31); }
.t-foot b { display: block; font-size: .9rem; }
.t-foot span { display: block; font-size: .76rem; color: var(--muted); }
.t-note { text-align: center; font-size: .78rem; color: var(--muted); margin: 18px 0 0; }

/* =========================================================
   11. Calculator (alat perencanaan anggaran)
   ========================================================= */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; background: var(--dark-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(246,184,23,.22); }
.calc-wrap h3 { color: #fff; }
.calc-wrap label { display: block; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.85); margin: 16px 0 6px; }
.calc-wrap input {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07);
  color: #fff; font: inherit; outline: none;
}
.calc-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,184,23,.2); }
.calc-note { font-size: .78rem; color: rgba(255,255,255,.55); margin: 4px 0 0; }
.calc-out { background: rgba(246,184,23,.08); border: 1px dashed rgba(246,184,23,.45); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.calc-out .co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 12px; }
.calc-out .co-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.calc-out .co-label { font-size: .82rem; color: rgba(255,255,255,.75); }
.calc-out .co-value { font-weight: 800; color: var(--gold-2); font-size: 1.15rem; white-space: nowrap; }
.calc-warn { font-size: .8rem; color: #ffd9a1; background: rgba(200,16,46,.22); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 0; }

/* =========================================================
   12. Info panels (keamanan / RG)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel .check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 11px; font-size: .93rem; }
.check-list li::before {
  content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(14,124,66,.12); color: var(--green); font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 3px;
}
.panel .warn-list li::before { content: "!"; background: rgba(200,16,46,.1); color: var(--red); }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* =========================================================
   13. FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 22px; cursor: pointer; font-weight: 700; font-size: .98rem;
  list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-gold); color: #231a02; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease; font-size: 1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .93rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* =========================================================
   14. Tag cloud
   ========================================================= */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: .86rem; font-weight: 600; text-decoration: none !important;
  box-shadow: var(--shadow-sm); transition: all .16s ease;
}
.tag-cloud a:hover { background: var(--grad-gold); color: #231a02; border-color: transparent; transform: translateY(-2px); }
.tag-cloud a b { color: var(--red); }
.tag-cloud a:hover b { color: #231a02; }

/* =========================================================
   15. Breadcrumbs
   ========================================================= */
.breadcrumbs { font-size: .8rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--gold-dark); }
.breadcrumbs a { color: var(--muted); text-decoration: none !important; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* =========================================================
   16. Article / entry-content
   ========================================================= */
.page-head {
  background: linear-gradient(160deg, rgba(23,15,20,.95) 0%, rgba(109,10,24,.9) 60%, rgba(23,15,20,.96) 100%), url("../images/gold-texture.jpg") center/cover no-repeat;
  color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(34px, 5vw, 58px);
}
.page-head h1 { color: #fff; max-width: 20em; }
.page-head .entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 12px; }
.page-head .entry-meta span { display: inline-flex; gap: 6px; align-items: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: clamp(40px, 5vw, 70px) 0; align-items: start; }
.entry-content { font-size: 1.01rem; min-width: 0; }
.entry-content h2 {
  margin-top: 1.9em; padding-bottom: .3em; position: relative;
  border-bottom: 1px solid var(--line);
}
.entry-content h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px;
  border-radius: 3px; background: var(--grad-gold);
}
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.15em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--gold-dark); font-weight: 800; }
.entry-content img.rounded { border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 1.4em 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content strong { color: var(--ink); }
blockquote {
  margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--gold);
  background: var(--cream); border-radius: 0 12px 12px 0; color: #4d4657; font-style: italic;
}
.note-box {
  background: rgba(20,84,201,.06); border: 1px solid rgba(20,84,201,.22); border-radius: 12px;
  padding: 16px 20px; font-size: .92rem; margin: 1.4em 0;
}
.note-box--warn { background: rgba(200,16,46,.05); border-color: rgba(200,16,46,.25); }
.note-box b { display: block; margin-bottom: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; background: #fff; }
.table-wrap th { background: var(--dark); color: var(--gold-2); text-align: left; padding: 12px 16px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: var(--cream); }

/* Sidebar (mirrors sidebar.php) */
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.widget h2, .widget h3 { font-size: 1.02rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.widget ul a { color: var(--ink); text-decoration: none !important; font-weight: 600; font-size: .92rem; }
.widget ul a:hover { color: var(--red); }
.widget .badge-18 { margin-top: 6px; }

/* =========================================================
   17. CTA banner
   ========================================================= */
.cta-banner {
  background: var(--grad-red); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 12% 0%, rgba(246,184,23,.3), transparent 60%),
              radial-gradient(420px 220px at 88% 100%, rgba(246,184,23,.22), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 46em; margin-left: auto; margin-right: auto; }
.cta-banner .btn--ghost { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

/* =========================================================
   18. Forms (daftar / login)
   ========================================================= */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding: clamp(40px, 5vw, 72px) 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md); }
.form-card h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.form-card .form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.form-field input {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s;
}
.form-field input:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(246,184,23,.22); }
.form-field .hint { font-size: .74rem; color: var(--muted); margin-top: 5px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 18px 0; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: 0 0 auto; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(14,124,66,.1); color: var(--green-dark); font-size: .88rem; font-weight: 600; }
.form-msg.is-visible { display: block; }

/* =========================================================
   19. Site footer (mirrors footer.php)
   ========================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.78); padding-top: clamp(44px, 5vw, 70px); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 34px; padding-bottom: 36px; }
.footer-col h3 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.72); text-decoration: none !important; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: .86rem; color: rgba(255,255,255,.62); margin: 14px 0; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 50%;
  border: 2.5px solid var(--red); color: #ff5d75; font-weight: 800; font-size: .85rem;
}
.badge-rg {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid rgba(246,184,23,.55); color: var(--gold-2);
  border-radius: 999px; padding: 8px 14px; font-size: .72rem; font-weight: 700;
}
.footer-pay { border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.footer-pay .fp-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-right: 6px; }
.fp-chip { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 5px 12px; font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); }
.footer-legal { padding: 22px 0 96px; font-size: .76rem; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0 0 10px; }
.legal-warn {
  border-left: 3px solid var(--gold); background: rgba(200,16,46,.14);
  padding: 12px 16px; border-radius: 0 10px 10px 0; line-height: 1.7;
}

/* =========================================================
   20. Floating CTA (slot machine style + gold coins)
   ========================================================= */
.floating-cta {
  position: fixed;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  z-index: 9995;
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a2130 0%, #17111c 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(23,17,28,.85), 0 10px 34px rgba(246,184,23,.42), 0 6px 22px rgba(0,0,0,.5);
  overflow: hidden;
  max-width: calc(100vw - 16px);
  animation: ctaGlow 2.6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(23,17,28,.85), 0 8px 30px rgba(246,184,23,.32), 0 6px 22px rgba(0,0,0,.5); }
  50% { box-shadow: 0 0 0 3px rgba(23,17,28,.85), 0 10px 44px rgba(246,184,23,.62), 0 6px 22px rgba(0,0,0,.5); }
}
.floating-cta .reels { display: flex; gap: 3px; padding: 0 10px 0 12px; align-items: center; }
.floating-cta .reel {
  width: 17px; height: 30px; overflow: hidden; border-radius: 6px;
  background: linear-gradient(180deg, #fef3d0 0%, #f6b817 100%);
  border: 1.5px solid #B97E06; box-shadow: inset 0 2px 4px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
}
.floating-cta .reel i {
  font-style: normal; font-size: 13px; line-height: 30px;
  display: block; animation: reelSpin 1.15s linear infinite;
  text-align: center;
}
@keyframes reelSpin { from { transform: translateY(0); } to { transform: translateY(-240px); } }
.floating-cta .reel:nth-child(2) i { animation-duration: .95s; }
.floating-cta .reel:nth-child(3) i { animation-duration: 1.35s; }
.fcta {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 22px;
  font-weight: 800; font-size: .98rem; letter-spacing: .03em;
  text-decoration: none !important; white-space: nowrap;
  position: relative;
}
.fcta--daftar { background: var(--grad-gold); color: #231a02; }
.fcta--login { color: var(--gold-2); }
.fcta--login:hover { color: #ffe08a; }
.floating-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaShine { 0% { left: -60px; } 55%, 100% { left: calc(100% + 40px); } }
.floating-cta .coin {
  position: absolute; bottom: -14px; font-size: 13px; opacity: 0;
  animation: coinUp 2.8s ease-in infinite; pointer-events: none;
}
@keyframes coinUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: .95; }
  100% { transform: translateY(-46px) rotate(340deg); opacity: 0; }
}
.floating-cta .coin:nth-child(1) { left: 14%; animation-delay: .2s; }
.floating-cta .coin:nth-child(2) { left: 38%; animation-delay: 1.1s; font-size: 11px; }
.floating-cta .coin:nth-child(3) { left: 62%; animation-delay: .7s; }
.floating-cta .coin:nth-child(4) { left: 84%; animation-delay: 1.7s; font-size: 11px; }
.floating-cta .coin:nth-child(5) { left: 50%; animation-delay: 2.2s; }

/* =========================================================
   21. Misc blocks
   ========================================================= */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.notice-strip {
  background: var(--dark); color: rgba(255,255,255,.85);
  font-size: .8rem; text-align: center; padding: 10px 16px;
}
.notice-strip b { color: var(--gold); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.hero-stats .hs { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px; text-align: center; }
.hero-stats b { display: block; color: var(--gold-2); font-size: 1.25rem; }
.hero-stats span { font-size: .76rem; color: rgba(255,255,255,.7); }

.legal-page .entry-content { max-width: 820px; }

/* Reveal on scroll (gated behind .js so content always visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   22. Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; }
  .grid--4, .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-navigation {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-2); border-bottom: 1px solid rgba(246,184,23,.2);
    box-shadow: var(--shadow-lg); margin: 0; padding: 10px 14px 16px;
  }
  .main-navigation.is-open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-menu a { padding: 12px 14px; font-size: 1rem; }
  .header-actions .btn--ghost { display: none; }
  .brand-tag { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .auth-layout, .split, .calc-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .header-actions .btn--sm span { display: none; }
  .floating-cta .reels { display: none; }
  .fcta { padding: 12px 18px; font-size: .9rem; }
  .footer-legal { padding-bottom: 92px; }
  .table-wrap table { min-width: 480px; }
}

@media (max-width: 400px) {
  .grid--2, .grid--4, .pay-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
