/* ==========================================================================
   Pandora88 — Casino Information Portal Theme
   Palet: merah (primer), putih (dasar), emas/kuning (aksen),
   hijau (keamanan & tanggung jawab), biru (kepercayaan), hitam (teks/footer)
   WordPress-style static theme — fully responsive
   ========================================================================== */

:root {
  --red: #b3122e;
  --red-dark: #7a1024;
  --red-deeper: #4d0a17;
  --red-bright: #e0243f;
  --gold: #f5b301;
  --gold-soft: #ffd766;
  --gold-deep: #c98a00;
  --green: #0e8a4d;
  --green-dark: #0a5c35;
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --black: #16181d;
  --ink: #23262e;
  --muted: #6b6f7b;
  --line: #e8e2d6;
  --bg-warm: #faf6ee;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(24, 10, 14, 0.10);
  --shadow-lg: 0 18px 48px rgba(24, 10, 14, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --font: 'Poppins', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base & reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 88px; /* ruang untuk floating CTA bar (tidak menambah area kosong di bawah footer) */
}

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

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--black);
  line-height: 1.28;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

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

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

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

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

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

.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:focus {
  position: fixed !important;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  z-index: 100000;
  background: var(--gold);
  color: var(--red-deeper);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Top age ribbon
   -------------------------------------------------------------------------- */
.age-ribbon {
  background: var(--red-deeper);
  color: #ffe9c9;
  font-size: 0.78rem;
  line-height: 1.5;
}

.age-ribbon__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.age-ribbon__badge {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--red-deeper);
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 11px;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
}

.age-ribbon p { margin: 0; }

/* --------------------------------------------------------------------------
   Header & navigation (WordPress-style #masthead)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(122, 16, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--red-dark);
  line-height: 1;
  white-space: nowrap;
}

.site-title em {
  font-style: normal;
  color: var(--gold-deep);
}

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

.main-navigation .menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
}

.main-navigation .menu a:hover {
  background: rgba(179, 18, 46, 0.08);
  color: var(--red);
}

.main-navigation .current-menu-item > a {
  background: var(--red);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover { background: #fff3dd; transform: translateY(-1px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn:hover { transform: translateY(-2px); }

.btn--sm { padding: 9px 18px; font-size: 0.87rem; }

.btn--gold {
  background: linear-gradient(180deg, #ffd766 0%, #f5b301 55%, #dd9900 100%);
  color: var(--red-deeper);
  box-shadow: 0 6px 18px rgba(201, 138, 0, 0.4);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #ffe08f 0%, #ffc531 55%, #e8a400 100%);
  color: var(--red-deeper);
}

.btn--red {
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 60%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(122, 16, 36, 0.35);
}

.btn--red:hover { color: #fff; filter: brightness(1.08); }

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

.btn--ghost:hover { background: rgba(179, 18, 46, 0.07); color: var(--red); }

/* Ghost buttons on dark backgrounds need light text/border */
.hero .btn--ghost,
.section--dark .btn--ghost,
.section--green .btn--ghost,
.section--blue .btn--ghost {
  color: #ffd766;
  border-color: rgba(255, 215, 102, 0.75);
}

.hero .btn--ghost:hover,
.section--dark .btn--ghost:hover,
.section--green .btn--ghost:hover,
.section--blue .btn--ghost:hover {
  background: rgba(255, 215, 102, 0.14);
  color: #ffe3a3;
}

.btn--green {
  background: linear-gradient(180deg, #17a05e 0%, var(--green) 60%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 92, 53, 0.35);
}

.btn--green:hover { color: #fff; filter: brightness(1.07); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2.5px;
  background: var(--red-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fffdf8;
  padding: 12px 22px 20px;
}

.mobile-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px;
}

.mobile-nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.mobile-nav__menu a:hover { background: rgba(179, 18, 46, 0.08); color: var(--red); }

.mobile-nav__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.mobile-nav__actions .btn { flex: 1; }

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(38, 8, 16, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 40px;
  overflow-y: auto;
}

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

.search-panel {
  width: 100%;
  max-width: 640px;
  background: #fffdf8;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
}

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

.search-form__ico { font-size: 1.05rem; }

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 0.98rem;
  padding: 6px 2px;
  background: transparent;
  color: var(--ink);
}

.search-results { margin-top: 14px; }

.search-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.search-results__list a {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.search-results__list a:hover { border-color: var(--gold); background: #fffaf0; }

.search-results__list .sr-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red-dark);
}

.search-results__list .sr-desc {
  font-size: 0.83rem;
  color: var(--muted);
  display: block;
}

.search-results__empty {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdeef1;
  color: var(--red-dark);
  font-size: 0.9rem;
}

.search-hint {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 16px 0 2px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--gold-deep);
  font-weight: 700;
}

.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--red-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(245, 179, 1, 0.16), transparent 60%),
    linear-gradient(160deg, #5c0d1d 0%, #7a1024 45%, #3d0812 100%);
  color: #fff7e6;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 215, 102, 0.12) 1px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 62px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero__badges .badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 102, 0.45);
  color: #ffe3a3;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 13px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 0.4em;
}

.hero h1 .accent { color: var(--gold-soft); }

.hero__lead {
  font-size: 1.02rem;
  color: #ffe9cd;
  max-width: 54ch;
  margin-bottom: 22px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.87rem;
  color: #ffd98f;
}

.hero__points li { display: flex; align-items: center; gap: 7px; }

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: 18px;
  border: 3px solid rgba(245, 179, 1, 0.8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__chip {
  position: absolute;
  background: linear-gradient(180deg, #fffdf6, #ffe9b8);
  color: var(--red-deeper);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero__chip--1 { top: -14px; left: -8px; }
.hero__chip--2 { bottom: -14px; right: -6px; animation: floaty 3.4s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Category quick chips under hero */
.hero__cats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 215, 102, 0.25);
  padding-top: 18px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero__cats span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffd98f;
  margin-right: 4px;
}

.hero__cats a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 102, 0.4);
  color: #ffefc9;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__cats a:hover {
  background: var(--gold);
  color: var(--red-deeper);
}

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */
.section { padding: 58px 0; }
.section--alt { background: var(--bg-warm); }
.section--dark {
  background: linear-gradient(150deg, #2a0a14 0%, #45101f 100%);
  color: #f6e9d4;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--green { background: linear-gradient(150deg, #0a5c35, #0e8a4d); color: #eafff2; }
.section--green h2, .section--green h3 { color: #fff; }
.section--blue { background: linear-gradient(150deg, #0d47a1, #1565c0); color: #e8f1ff; }
.section--blue h2, .section--blue h3 { color: #fff; }

.section-head { max-width: 780px; margin-bottom: 34px; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(179, 18, 46, 0.09);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.section--green .kicker,
.section--blue .kicker { color: #fff; background: rgba(255, 255, 255, 0.15); }

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.section-head--center .section-title::after { margin-left: auto; margin-right: auto; }

.section-lead { color: var(--muted); font-size: 0.98rem; margin-top: 14px; }
.section--dark .section-lead,
.section--green .section-lead,
.section--blue .section-lead { color: rgba(255, 255, 255, 0.85); }

/* Steps (4 langkah) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.step-card__num {
  position: absolute;
  top: -16px;
  left: 18px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--red-deeper);
  background: linear-gradient(180deg, #ffe08f, var(--gold));
  box-shadow: 0 8px 18px rgba(201, 138, 0, 0.45);
}

.step-card__ico { font-size: 1.7rem; margin-bottom: 8px; }

.step-card h3 { font-size: 1.02rem; margin: 6px 0 8px; }

.step-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Advantage cards */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}

.adv-card:hover { transform: translateY(-4px); }

.adv-card__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(160deg, rgba(179, 18, 46, 0.1), rgba(245, 179, 1, 0.18));
  margin-bottom: 14px;
}

.adv-card h3 { font-size: 1.02rem; }

.adv-card p { font-size: 0.89rem; color: var(--muted); margin: 0; }

/* Pillars (mengapa memilih kami) */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 102, 0.35);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.pillar__ico { font-size: 1.6rem; margin-bottom: 10px; }

.pillar h3 { font-size: 1rem; color: var(--gold-soft); }

.pillar p { font-size: 0.87rem; color: rgba(255, 244, 220, 0.85); margin: 0; }

/* Split section (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split__media figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
}

.check-list .tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  margin-top: 4px;
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testi-card__stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 0.9rem; }

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

.testi-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  flex: 0 0 auto;
}

.avatar--gold { background: linear-gradient(160deg, var(--gold), var(--gold-deep)); color: var(--red-deeper); }
.avatar--green { background: linear-gradient(160deg, #17a05e, var(--green-dark)); }
.avatar--blue { background: linear-gradient(160deg, #1e88e5, var(--blue-dark)); }

.testi-card__who strong { display: block; font-size: 0.9rem; color: var(--black); }
.testi-card__who span { font-size: 0.76rem; color: var(--muted); }

.testi-note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Glossary (kamus istilah) — details/summary accordions */
.glossary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

details.faq-item,
details.gloss-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

details.gloss-item { border-left: 4px solid var(--gold); }
details.faq-item { border-left: 4px solid var(--red); }

details.gloss-item[open],
details.faq-item[open] { border-color: var(--gold); }

details.faq-item summary,
details.gloss-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 46px 15px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  user-select: none;
}

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

details.faq-item summary::after,
details.gloss-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(179, 18, 46, 0.09);
  color: var(--red);
  transition: transform 0.2s ease;
}

details[open].faq-item summary::after,
details[open].gloss-item summary::after {
  content: "–";
  transform: translateY(-50%) rotate(180deg);
}

details.faq-item .faq-answer,
details.gloss-item .gloss-answer {
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

details.faq-item .faq-answer p,
details.gloss-item .gloss-answer p { margin: 0; }

.faq-list { display: grid; gap: 12px; max-width: 860px; }

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag-cloud a {
  display: inline-block;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}

.tag-cloud a:hover {
  border-color: var(--gold);
  background: #fffaf0;
  color: var(--red);
  transform: translateY(-2px);
}

.tag-cloud .tag--lg { font-size: 1.02rem; padding: 10px 22px; }
.tag-cloud .tag--sm { font-size: 0.82rem; padding: 6px 14px; }

/* Teaser duo (promo & vip transparency) */
.teaser-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.teaser-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.teaser-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }

.teaser-card ul { margin: 12px 0 18px; }

.teaser-card li { font-size: 0.9rem; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Article / page layout (entry-content)
   -------------------------------------------------------------------------- */
.entry { max-width: 880px; margin: 0 auto; }

.entry-header { padding-top: 26px; }

.entry-title {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.82rem;
  color: var(--muted);
  align-items: center;
}

.entry-meta .dot { color: var(--gold-deep); }

.post-thumb {
  margin: 24px 0 8px;
}

.post-thumb img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.post-thumb figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}

.entry-content { padding-bottom: 10px; }

.entry-content h2 {
  font-size: 1.35rem;
  margin-top: 1.6em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(245, 179, 1, 0.5);
}

.entry-content h3 { font-size: 1.12rem; margin-top: 1.4em; }

.entry-content p { font-size: 0.97rem; }

.entry-content ul li,
.entry-content ol li { margin-bottom: 6px; font-size: 0.95rem; }

.entry-content img { border-radius: var(--radius-sm); margin: 18px 0; }

/* Notice boxes */
.note-box,
.warn-box,
.legal-box {
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 48px;
  font-size: 0.9rem;
  margin: 18px 0;
  position: relative;
}

.note-box::before,
.warn-box::before,
.legal-box::before {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 1.15rem;
}

.note-box {
  background: #eef6ff;
  border: 1px solid #c7ddf8;
  color: #11427e;
}

.note-box::before { content: "ℹ️"; }

.warn-box {
  background: #fff8e6;
  border: 1px solid #f2dd9e;
  color: #6d5410;
}

.warn-box::before { content: "⚠️"; }

.legal-box {
  background: #fdeef1;
  border: 1px solid #f3c3cd;
  color: #6b1226;
}

.legal-box::before { content: "🔞"; }

.legal-box p:last-child,
.warn-box p:last-child,
.note-box p:last-child { margin-bottom: 0; }

/* Tables inside content */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

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

.entry-content table th {
  background: var(--red-dark);
  color: #ffefc9;
  font-size: 0.85rem;
  white-space: nowrap;
}

.entry-content table tr:nth-child(even) td { background: var(--bg-warm); }

.entry-content table td:first-child { font-weight: 600; white-space: nowrap; }

/* Article footer & related */
.entry-footer { margin-top: 26px; border-top: 1px dashed var(--line); padding-top: 20px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.related-card .rc-ico { font-size: 1.3rem; }

.related-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--black);
  margin: 6px 0 4px;
}

.related-card span { font-size: 0.8rem; color: var(--muted); }

/* Category card grid (promosi hub, etc.) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.pcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
  letter-spacing: 0.4px;
}

.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.pcard__body h3 { font-size: 1.02rem; margin: 0; }

.pcard__body h3 a { color: var(--black); }
.pcard__body h3 a:hover { color: var(--red); }

.pcard__excerpt { font-size: 0.86rem; color: var(--muted); margin: 0; flex: 1; }

.pcard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  background: #f4efe4;
  color: #6d5410;
  border: 1px solid #eadfc4;
  white-space: nowrap;
}

.chip--green { background: #e8f8ef; color: var(--green-dark); border-color: #c6e9d5; }
.chip--blue { background: #e8f1ff; color: var(--blue-dark); border-color: #c7ddf8; }
.chip--red { background: #fdeef1; color: var(--red-dark); border-color: #f3c3cd; }

.pcard .btn { align-self: flex-start; }

/* VIP tier table etc. handled by .table-scroll */

/* Auth (login/register) */
.auth-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 56px;
}

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

.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }

.auth-card .auth-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
}

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

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fffdf8;
  transition: border-color 0.15s ease;
}

.field input:focus { outline: none; border-color: var(--gold); background: #fff; }

.field .field-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 5px;
}

.field.is-error input { border-color: var(--red-bright); background: #fff5f6; }
.field.is-error .field-msg { display: block; }

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
  margin: 4px 0 18px;
}

.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: 0 0 auto; }

.field-check a { font-weight: 600; }

.auth-card .btn { width: 100%; }

.auth-alt {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 16px 0 0;
}

.auth-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}

.auth-aside {
  position: sticky;
  top: 100px;
}

.auth-aside img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.auth-aside h2 { font-size: 1.15rem; }

.auth-aside .check-list li { font-size: 0.88rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255, 215, 102, 0.18), transparent 60%),
    linear-gradient(135deg, #6d0f22, #7a1024 55%, #3d0812);
  border-radius: var(--radius);
  color: #ffefc9;
  padding: 40px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 0.92rem; color: #ffd98f; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #1d0b12 0%, #12060b 100%);
  color: #d9c8b4;
  font-size: 0.88rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 34px;
}

.widget__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.widget__brand .site-title { font-size: 1.2rem; color: #fff; }
.widget__brand .site-title em { color: var(--gold-soft); }

.widget--about p { font-size: 0.85rem; color: #c9b49b; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
}

.badge--18 { background: var(--gold); color: var(--red-deeper); }
.badge--green { background: rgba(23, 160, 94, 0.25); color: #9fe6c3; border: 1px solid rgba(23, 160, 94, 0.5); }

.widget__title {
  color: var(--gold-soft);
  font-size: 0.92rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.widget ul a {
  color: #d9c8b4;
  font-size: 0.87rem;
}

.widget ul a:hover { color: var(--gold-soft); }

.footer-legal {
  border-top: 1px solid rgba(245, 179, 1, 0.18);
  padding-top: 18px;
  padding-bottom: 20px;
}

.footer-legal p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.7;
  color: #a5917c;
}

/* --------------------------------------------------------------------------
   Floating CTA bar (slot machine style + coins)
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9800;
  height: 74px;
  background:
    linear-gradient(180deg, rgba(20, 4, 9, 0.92), rgba(10, 2, 5, 0.97)),
    repeating-linear-gradient(90deg, #241016 0 34px, #1a0a0f 34px 68px);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.float-cta__reels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 1.5rem;
  opacity: 0.28;
  white-space: nowrap;
  animation: reel-spin 16s linear infinite;
  will-change: transform;
}

@keyframes reel-spin {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.float-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: center;
}

.fbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 168px;
  padding: 13px 30px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 1.2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.fbtn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); }

.fbtn__ico { font-size: 1.15rem; }

.fbtn--daftar {
  background: linear-gradient(180deg, #ffd766 0%, #f5b301 50%, #dd9900 100%);
  color: #5d0a18;
  box-shadow:
    0 0 0 2px rgba(255, 240, 200, 0.65) inset,
    0 8px 22px rgba(201, 138, 0, 0.55);
  animation: cta-pulse 2.1s ease-in-out infinite;
}

.fbtn--login {
  background: linear-gradient(180deg, #23c375 0%, #0e8a4d 55%, #0a5c35 100%);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(190, 255, 220, 0.4) inset,
    0 8px 22px rgba(10, 92, 53, 0.55);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 240, 200, 0.65) inset, 0 8px 22px rgba(201, 138, 0, 0.55), 0 0 0 0 rgba(245, 179, 1, 0.55); }
  55% { box-shadow: 0 0 0 2px rgba(255, 240, 200, 0.65) inset, 0 8px 22px rgba(201, 138, 0, 0.55), 0 0 0 14px rgba(245, 179, 1, 0); }
}

/* shimmer sweep */
.fbtn--daftar::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 34px;
  left: -50px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: rotate(18deg);
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 55% { left: -60px; }
  100% { left: calc(100% + 60px); }
}

/* rising coins */
.coin {
  position: absolute;
  bottom: 8px;
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  animation: coin-rise 2.6s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes coin-rise {
  0% { transform: translateY(0) rotate(0deg) scale(0.7); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { transform: translateY(-92px) rotate(340deg) scale(1.05); opacity: 0; }
}

.coin--1 { left: calc(50% - 140px); animation-delay: 0s; }
.coin--2 { left: calc(50% - 116px); animation-delay: 0.5s; font-size: 0.8rem; }
.coin--3 { left: calc(50% + 96px); animation-delay: 0.9s; }
.coin--4 { left: calc(50% + 122px); animation-delay: 0.3s; font-size: 0.78rem; }
.coin--5 { left: calc(50% - 12px); animation-delay: 1.4s; font-size: 0.7rem; }
.coin--6 { left: calc(50% + 34px); animation-delay: 1.8s; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }

.eyebrow-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
}

.eyebrow-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1260px) {
  .main-navigation .menu a { padding: 9px 9px; font-size: 0.85rem; }
  .header-actions .btn--sm { padding: 9px 13px; font-size: 0.8rem; }
}

@media (max-width: 1080px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .main-navigation { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 40px; }
  .hero__media { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .testi-grid { grid-template-columns: 1fr; }
  .glossary { grid-template-columns: 1fr; }
  .teaser-duo { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { position: static; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header-actions .btn--ghost { display: none; }
  .header-inner { min-height: 62px; gap: 10px; }
  .site-title { font-size: 1.12rem; }
  .logo-mark { width: 36px; height: 36px; }
  .section { padding: 42px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 24px; }
  .hero__chip { display: none; }
  .age-ribbon__inner { font-size: 0.72rem; }
  .fbtn { min-width: 0; flex: 1; padding: 12px 10px; font-size: 0.98rem; letter-spacing: 0.6px; }
  .float-cta__inner { width: 100%; padding: 0 14px; gap: 10px; }
  .float-cta { height: 66px; }
  .auth-card { padding: 26px 20px; }
  .cta-band { padding: 28px 20px; }
  .search-overlay { padding-top: 8vh; }
  .coin { display: none; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .fbtn__ico { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .float-cta__reels { animation: none; }
}
