/* ==========================================================================
   Surya777 – surya777.games
   Tema: casino merah-emas-hijau-biru di atas dasar putih-hitam yang bersih.
   Struktur kelas mengikuti konvensi tema WordPress (style.css).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red: #c8102e;
  --red-dark: #9b0e24;
  --red-deep: #6f0817;
  --gold: #ffc845;
  --gold-soft: #ffe1a1;
  --gold-dark: #d9a420;
  --green: #0e9f6e;
  --blue: #1e63c6;
  --ink: #14161a;
  --ink-soft: #3d434d;
  --ink-mute: #6b7280;
  --paper: #ffffff;
  --paper-soft: #f8f6f1;
  --line: #e9e2d6;
  --shadow: 0 6px 24px rgba(20, 22, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 22, 26, 0.16);
  --radius: 14px;
  --header-h: 68px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-dark);
}

ul, ol {
  padding-left: 1.35em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.45em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 10000;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-daftar {
  background: linear-gradient(180deg, #ffd977 0%, var(--gold) 45%, #f0a92e 100%);
  color: #5a3c00;
  box-shadow: 0 6px 18px rgba(217, 164, 32, 0.45);
}

.btn-daftar:hover {
  color: #4a3000;
  box-shadow: 0 8px 24px rgba(217, 164, 32, 0.6);
  transform: translateY(-1px);
}

.btn-masuk {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}

.btn-masuk:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--red-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background: var(--gold-soft);
  color: var(--red-deep);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 30px;
}

.btn-block {
  display: block;
  width: 100%;
}

.text-link {
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}

.badge-18 {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.badge-rg {
  display: inline-block;
  border: 1.5px solid rgba(255, 200, 69, 0.7);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

/* ---------- Header (header.php) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 14px rgba(20, 22, 26, 0.06);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 6px rgba(255, 200, 69, 0.5));
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.logo-text em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-dark), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-navigation {
  margin-left: auto;
}

.primary-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 10px 13px;
  border-radius: 10px;
}

.primary-menu a:hover {
  color: var(--red);
  background: var(--paper-soft);
}

.primary-menu a.active {
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.search-toggle:hover {
  border-color: var(--gold);
  color: var(--red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--ink);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Menu seluler */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 890;
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-130%);
  transition: transform 0.3s ease;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 10px 16px 18px;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 13px 12px;
  border-radius: 10px;
  color: var(--ink);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--paper-soft);
  color: var(--red);
}

.mobile-menu-cta {
  margin-top: 10px;
}

.mobile-menu-cta a {
  margin-bottom: 8px;
}

/* ---------- Overlay pencarian ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(20, 22, 26, 0.66);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
}

.search-overlay[hidden] {
  display: none;
}

.search-panel {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  max-height: 76vh;
  overflow-y: auto;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  color: var(--ink-mute);
}

.search-bar:focus-within {
  border-color: var(--gold);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
}

.search-close {
  border: none;
  background: var(--paper-soft);
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}

.search-tags-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.search-tags a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.search-tags a:hover {
  border-color: var(--red);
  color: var(--red);
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results li {
  margin: 0;
}

.search-results a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
}

.search-results a:hover {
  background: var(--paper-soft);
}

.search-results .sr-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

.search-results .sr-desc {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding-top: 14px;
  padding-bottom: 6px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  margin-right: 6px;
  color: var(--ink-mute);
}

.breadcrumb-item a {
  color: var(--ink-mute);
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: var(--red);
}

.breadcrumb-item.active {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Hero (depan) ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 72px 0 64px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(111, 8, 23, 0.94) 0%, rgba(155, 14, 36, 0.88) 45%, rgba(20, 22, 26, 0.72) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  color: var(--gold-soft);
  border: 1.5px solid rgba(255, 200, 69, 0.55);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.hero-badge .badge-18 {
  background: var(--gold);
  color: #5a3c00;
}

.hero-title {
  color: #fff;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 900;
  text-wrap: balance;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  max-width: 760px;
  margin: 0 auto 26px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.hero-cats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cats a {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.hero-cats a:hover {
  background: rgba(255, 200, 69, 0.9);
  color: #5a3c00;
}

/* ---------- Tag cloud pencarian populer ---------- */
.tagcloud-section {
  background: var(--ink);
  padding: 14px 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag-cloud-label {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  margin-right: 4px;
}

.tag-cloud a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-cloud a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #5a3c00;
}

/* ---------- Section umum ---------- */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-head.left {
  text-align: left;
  margin: 0 0 20px;
}

.section-head.light h2 {
  color: #fff;
}

.kicker {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.rg-band .kicker,
.section-head.light .kicker {
  color: var(--gold);
}

.section-sub {
  color: var(--ink-mute);
  font-size: 1.02rem;
}

.section-head.light .section-sub {
  color: rgba(255, 255, 255, 0.78);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

/* ---------- Panduan 4 langkah ---------- */
.steps-section {
  background: var(--paper-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:nth-child(2) {
  border-top-color: var(--red);
}

.step-card:nth-child(3) {
  border-top-color: var(--green);
}

.step-card:nth-child(4) {
  border-top-color: var(--blue);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(140deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.35);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.08rem;
}

.step-card p {
  font-size: 0.93rem;
  color: var(--ink-mute);
}

/* ---------- Kartu promosi ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.promo-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.promo-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.promo-card:hover .promo-card-media img {
  transform: scale(1.05);
}

.promo-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.promo-tag {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 12px;
  border-radius: 999px;
}

.promo-card:nth-child(2n) .promo-tag {
  background: var(--green);
}

.promo-card:nth-child(3n) .promo-tag {
  background: var(--blue);
}

.promo-card h3 {
  font-size: 1.12rem;
  margin: 2px 0 0;
}

.promo-card p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin-bottom: 10px;
  flex: 1;
}

.promo-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-mute);
  background: var(--paper-soft);
  border: 1px dashed var(--gold-dark);
  border-radius: 10px;
  padding: 12px 18px;
  margin: 28px auto 0;
  max-width: 720px;
}

/* ---------- Mengapa memilih kami ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1.05rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--ink-mute);
}

/* ---------- Split (seluler & keamanan) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.split-media-small {
  position: absolute;
  right: -14px;
  bottom: -26px;
  width: 44%;
  border: 5px solid #fff;
  border-radius: 12px;
}

.mobile-section {
  background: var(--paper-soft);
}

.feature-list,
.security-list {
  list-style: none;
  padding: 0;
}

.feature-list li,
.security-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
}

.security-list li::before {
  content: "\1F512";
  background: none;
  width: auto;
  height: auto;
  font-size: 1rem;
}

/* ---------- Testimoni ---------- */
.reviews-section {
  background: linear-gradient(180deg, #fff 0%, var(--paper-soft) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  margin: 0;
  border-bottom: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-stars {
  color: var(--gold-dark);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.review-card blockquote {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  flex: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-meta strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.95rem;
}

.review-meta small {
  color: var(--ink-mute);
  font-size: 0.8rem;
}

.avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--red), var(--red-dark));
}

.review-card:nth-child(2n) .avatar {
  background: linear-gradient(140deg, var(--green), #0a7a54);
}

.review-card:nth-child(3n) .avatar {
  background: linear-gradient(140deg, var(--blue), #14488f);
}

/* ---------- Kalkulator anggaran ---------- */
.calc-section {
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(255, 200, 69, 0.16), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(30, 99, 198, 0.10), transparent 60%),
    var(--ink);
}

.calc-section h2,
.calc-section .kicker {
  color: #fff;
}

.calc-section .kicker {
  color: var(--gold);
}

.calc-section .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.calc-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}

.calc-field {
  margin-bottom: 16px;
}

.calc-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.calc-field input {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.calc-field input:focus {
  border-color: var(--gold);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.result-card {
  background: linear-gradient(160deg, #fff, var(--paper-soft));
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid var(--line);
}

.result-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--red);
  overflow-wrap: anywhere;
}

.result-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-top: 4px;
}

.calc-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  text-align: center;
  max-width: 760px;
  margin: 22px auto 0;
}

/* ---------- Band perjudian tanggung jawab ---------- */
.rg-band {
  background:
    linear-gradient(140deg, rgba(111, 8, 23, 0.96), rgba(155, 14, 36, 0.92)),
    var(--red-deep);
}

.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rg-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.rg-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 10px;
}

.rg-card h3 {
  color: #fff;
  font-size: 1.02rem;
}

.rg-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.rg-cta {
  text-align: center;
  margin-top: 30px;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--paper-soft);
}

.faq-wrap {
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  padding: 17px 20px;
  font-size: 0.99rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--red);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  background: var(--red);
  color: #fff;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0;
}

.faq-more {
  text-align: center;
  margin-top: 26px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(255, 200, 69, 0.28), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 56px 0 34px;
  text-align: center;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 6px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-band-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  text-align: center;
  margin: 26px 0 0;
}

/* ---------- Halaman artikel (page.php) ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--red-deep), var(--red-dark));
  color: #fff;
  padding: 44px 0 38px;
  margin-bottom: 34px;
}

.page-hero .kicker {
  color: var(--gold);
}

.entry-title {
  color: #fff;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  font-weight: 900;
  max-width: 900px;
  text-wrap: balance;
}

.entry-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  margin: 0;
}

.entry-wrap {
  max-width: 880px;
}

.entry-wrap.narrow {
  max-width: 860px;
}

.entry-figure {
  margin: 0 0 26px;
}

.entry-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.entry-figure.inline {
  margin: 10px 0 22px;
}

.entry-figure figcaption {
  font-size: 0.83rem;
  color: var(--ink-mute);
  margin-top: 8px;
  text-align: center;
}

.entry-content {
  font-size: 1.02rem;
}

.entry-content h2 {
  margin-top: 1.9em;
  padding-bottom: 0.25em;
  border-bottom: 2px solid var(--gold-soft);
}

.lead {
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin: 1.2em 0;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 520px;
  font-size: 0.93rem;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-wrap thead th {
  font-family: var(--font-head);
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 0.88rem;
  letter-spacing: 0.4px;
}

.table-wrap tbody tr:nth-child(even) {
  background: var(--paper-soft);
}

.minifaq {
  margin-top: 40px;
}

.related-box {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 34px;
}

.related-box h2 {
  font-size: 1.15rem;
  border: none;
  margin-top: 0;
}

.related-box ul {
  margin-bottom: 0;
}

.article-cta {
  margin-top: 38px;
  background:
    radial-gradient(500px 220px at 12% 0%, rgba(255, 200, 69, 0.25), transparent 60%),
    var(--ink);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.article-cta h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 4px;
  border: none;
  padding: 0;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.selfcheck li {
  margin-bottom: 8px;
}

/* ---------- Halaman auth ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1040px;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 30px 28px;
}

.auth-card h2 {
  margin-bottom: 6px;
}

.auth-note {
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.req {
  color: var(--red);
}

.form-field input {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-field input:focus {
  border-color: var(--gold-dark);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 0.88rem;
}

.form-check input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.form-msg {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-msg.error {
  background: #fdecec;
  color: var(--red-dark);
  border: 1px solid #f5c2c9;
}

.form-msg.success {
  background: #e8f7f0;
  color: #0a6b48;
  border: 1px solid #bce5d4;
}

.auth-alt {
  text-align: center;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.auth-help {
  text-align: center;
  font-size: 0.83rem;
  color: var(--ink-mute);
  margin: 12px 0 0;
}

.auth-side {
  display: grid;
  gap: 20px;
}

.auth-benefit {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.auth-benefit h2 {
  font-size: 1.08rem;
  border: none;
  padding: 0;
  margin-top: 0;
}

.auth-benefit ul,
.auth-benefit .feature-list {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.auth-benefit.warn {
  border-color: #f0d9a8;
  background: #fdf8ec;
}

/* ---------- Footer (footer.php) ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 54px;
  /* ruang untuk floating CTA tanpa menambah area kosong putih */
  padding-bottom: 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col .site-logo {
  margin-bottom: 14px;
}

.footer-col .logo-text {
  color: #fff;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 0.98rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-col p {
  font-size: 0.9rem;
}

.footer-about p {
  margin-bottom: 14px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.footer-bottom {
  padding-top: 20px;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 940px;
  margin: 0 auto 10px;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-copy a {
  color: var(--gold);
}

/* ---------- Floating CTA gaya mesin slot ---------- */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 960;
  background: linear-gradient(180deg, #1d1016 0%, #2a1119 55%, #170b10 100%);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  padding: 8px 12px;
}

.float-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.fcta-reels {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.fcta-reel {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(180deg, #fff 15%, #ffe9b8 50%, #d9b26a 100%);
  border: 2px solid #3a2a12;
  border-radius: 9px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: reel-spin 1.1s ease-in-out infinite;
}

.fcta-reel:nth-child(2) {
  animation-delay: 0.18s;
}

.fcta-reel:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes reel-spin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-4px) rotate(-6deg); }
  60% { transform: translateY(1px) rotate(4deg); }
}

.fcta-btn {
  flex: 1;
  max-width: 240px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 1rem;
  padding: 13px 18px;
  border-radius: 12px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.fcta-daftar {
  background: linear-gradient(180deg, #ffdf8e 0%, var(--gold) 40%, #f0a92e 100%);
  color: #4a3000;
  box-shadow: 0 0 0 2px #5a3c00, 0 6px 18px rgba(255, 200, 69, 0.5);
  animation: pulse-gold 2.2s ease-in-out infinite;
}

.fcta-daftar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  left: -60px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 2.6s ease-in-out infinite;
}

.fcta-masuk {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 0 0 2px #ffb3c0, 0 6px 16px rgba(200, 16, 46, 0.45);
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes shine {
  0% { left: -60px; }
  45%, 100% { left: 120%; }
}

/* Efek koin */
.coin-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 959;
  overflow: hidden;
}

.coin {
  position: absolute;
  bottom: 54px;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  animation: coin-rise 2.4s ease-out forwards;
}

@keyframes coin-rise {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-46vh) rotate(320deg) scale(1.05); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .primary-menu a {
    padding: 10px 9px;
    font-size: 0.86rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-masuk {
    display: none;
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media-small {
    right: 8px;
    bottom: -18px;
  }

  .calc-box {
    grid-template-columns: 1fr;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
  }

  .steps-grid,
  .promo-grid,
  .why-grid,
  .reviews-grid,
  .rg-grid,
  .calc-results,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-daftar {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .search-overlay {
    padding-top: 8vh;
  }

  .cta-band-inner {
    text-align: center;
    justify-content: center;
  }

  .cta-band-actions {
    width: 100%;
  }

  .cta-band-actions .btn {
    flex: 1;
  }

  .article-cta {
    text-align: center;
    justify-content: center;
  }

  .article-cta .cta-band-actions {
    width: 100%;
  }

  .article-cta .cta-band-actions .btn {
    flex: 1;
  }

  .float-cta {
    padding: 8px 10px;
  }

  .float-cta-inner {
    gap: 10px;
  }

  .fcta-reel {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    border-radius: 7px;
  }

  .fcta-btn {
    font-size: 0.92rem;
    padding: 12px 10px;
    max-width: none;
  }

  .site-footer {
    padding-bottom: 86px;
  }

  .tag-cloud {
    justify-content: center;
    text-align: center;
  }

  .entry-content {
    font-size: 0.99rem;
  }
}

@media (max-width: 400px) {
  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1.12rem;
  }

  .search-toggle {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn-daftar {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}

@media (max-width: 380px) {
  .fcta-reels {
    display: none;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 14px 20px;
  }
}

/* ---------- Cetak ---------- */
@media print {
  .site-header,
  .float-cta,
  .coin-layer,
  .search-overlay,
  .mobile-nav,
  .tagcloud-section,
  .cta-band,
  .article-cta {
    display: none !important;
  }

  body {
    color: #000;
  }
}
