/* =========================================================================
   Nusa188 — style.css
   Tema kasino: merah / putih / hijau / kuning / biru / hitam
   Fully responsive, mobile-first, no horizontal overflow
   ========================================================================= */

/* ---------- 1. Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --red: #c8102e;          --red-dark: #9c0b22;   --red-deep: #6d0716;
  --gold: #f7b500;         --gold-2: #ffd65c;     --gold-dark: #d69414;
  --green: #0e9f6e;        --green-dark: #0a7a54;
  --blue: #1e6fd9;         --blue-dark: #1557a8;
  --ink: #14131a;          --ink-2: #1d1c26;      --ink-3: #262533;
  --paper: #ffffff;        --paper-2: #f6f6f9;    --line: #e6e5ee;
  --text: #23222d;         --muted: #6a6878;      --muted-2: #9a97a8;
  --shadow: 0 10px 30px rgba(20, 19, 26, .10);
  --shadow-lg: 0 18px 50px rgba(20, 19, 26, .18);
  --radius: 16px;          --radius-sm: 10px;
  --grad-gold: linear-gradient(180deg, #ffd65c 0%, #f0a90b 100%);
  --grad-red: linear-gradient(180deg, #e01338 0%, #a50d26 100%);
  --grad-dark: linear-gradient(160deg, #1b1a24 0%, #14131a 55%, #200a12 100%);
  --ff: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--paper);
  overflow-x: hidden; /* hard guard for floating decorations */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 999; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 2. Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--ff); padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--grad-gold); color: #241b04; box-shadow: 0 6px 20px rgba(240, 169, 11, .45), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { box-shadow: 0 8px 26px rgba(240, 169, 11, .6), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-1px); }
.btn-red { background: var(--grad-red); color: #fff; box-shadow: 0 6px 18px rgba(200, 16, 46, .35); }
.btn-red:hover { transform: translateY(-1px); }
.btn-green { background: linear-gradient(180deg, #12b57d, #0a7a54); color: #fff; box-shadow: 0 6px 18px rgba(14, 159, 110, .35); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.0); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 2px var(--gold-2); color: var(--gold-2); }
.btn-text { color: #fff; padding: 13px 10px; font-weight: 600; opacity: .9; }
.btn-text:hover { color: var(--gold-2); }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px;
  border-radius: 8px; padding: 2px 9px; letter-spacing: .5px;
}
.badge-18--big { font-size: 22px; padding: 6px 14px; border-radius: 12px; }
.lnk-gold { color: var(--gold-2); font-weight: 700; }

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120; background: rgba(20, 19, 26, .97);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.site-branding { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.custom-logo-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; }
.logo-mark { border-radius: 50%; box-shadow: 0 4px 14px rgba(247, 181, 0, .35); flex: none; }
.site-title-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.site-title { font-size: 23px; font-weight: 800; color: #fff; letter-spacing: .4px; }
.site-title span { color: var(--gold); }
.site-tagline { font-size: 10.5px; color: var(--muted-2); letter-spacing: .8px; text-transform: uppercase; font-weight: 600; }
.age-badge { margin-left: 4px; }

.main-navigation .primary-menu {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.primary-menu a {
  display: block; color: #cfccd9; font-size: 13.5px; font-weight: 600;
  padding: 9px 11px; border-radius: 8px; text-decoration: none !important;
  transition: color .15s, background .15s;
}
.primary-menu a:hover, .current-menu-item a { color: #fff; background: rgba(255, 255, 255, .08); }
.current-menu-item a { color: var(--gold-2); }
.menu-toggle { display: none; }
.menu-item--mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 2px 4px 2px 14px; }
.header-search input {
  background: transparent; border: 0; outline: none; color: #fff;
  font: 500 13px var(--ff); width: 128px; transition: width .2s ease; min-width: 0;
}
.header-search input::placeholder { color: var(--muted-2); }
.header-search input:focus { width: 170px; }
.header-search button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ink); border: 0; border-radius: 999px;
  width: 30px; height: 30px; cursor: pointer; flex: none;
}

/* ---------- 4. Breadcrumbs ---------- */
.breadcrumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  list-style: none; margin: 0; padding: 11px 0; font-size: 12.5px; color: var(--muted);
}
.breadcrumb-list li + li::before { content: "›"; margin-right: 8px; color: var(--muted-2); }
.breadcrumb-item--current { color: var(--ink); font-weight: 600; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; background: var(--grad-dark); color: #efedf5;
  overflow: hidden; padding: clamp(44px, 7vw, 84px) 0 30px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 85% -10%, rgba(200, 16, 46, .38), transparent 65%),
    radial-gradient(500px 300px at -10% 110%, rgba(247, 181, 0, .16), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold-2); background: rgba(247, 181, 0, .12);
  border: 1px solid rgba(247, 181, 0, .35); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px;
}
.hero__title { font-size: clamp(30px, 4.6vw, 52px); color: #fff; margin-bottom: 18px; letter-spacing: -.5px; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(15px, 1.6vw, 17.5px); color: #cfccd9; max-width: 560px; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 20px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  font-size: 12.5px; font-weight: 600; color: #e8e6f0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 6px 13px;
}
.hero__img-wrap { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.hero__float-card {
  position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center;
  background: rgba(20, 19, 26, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 181, 0, .4); border-radius: 14px; padding: 10px 14px;
}
.hero__float-num { font-size: 24px; font-weight: 800; color: var(--gold-2); }
.hero__float-txt { font-size: 11.5px; line-height: 1.35; color: #e8e6f0; }

/* tag cloud */
.tagcloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; position: relative; }
.tagcloud__label { color: var(--gold-2); font-weight: 700; font-size: 13px; }
.tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 6px 14px; text-decoration: none !important;
  transition: background .15s, color .15s, transform .15s;
}
.tag:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.tagcloud--page .tag { color: var(--ink); background: var(--paper-2); border-color: var(--line); }
.tagcloud--page .tag:hover { background: var(--red); color: #fff; border-color: var(--red); }
.tagcloud--page .tagcloud__label { color: var(--red); }

/* ---------- 6. Sections ---------- */
.section { padding: clamp(44px, 6vw, 78px) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--grad-dark); color: #d9d6e2; }
.section--dark .section-title, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: #b9b6c6; }
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 46px); text-align: center; }
.eyebrow {
  display: inline-block; color: var(--red); font-size: 12px; font-weight: 800;
  letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 10px;
}
.eyebrow--gold { color: var(--gold); }
.section-title { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -.3px; margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 15.5px; margin: 0 auto; max-width: 640px; }

/* ---------- 7. Steps ---------- */
.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: 24px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 4px solid var(--gold);
}
.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__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.step-num {
  font-size: 30px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.6px rgba(20, 19, 26, .25); line-height: 1;
}
.step-ico { font-size: 26px; }
.step-title { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { font-size: 13.8px; color: var(--muted); flex: 1; }
.step-link { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none !important; }
.step-link:hover { color: var(--red-dark); }

/* ---------- 8. Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 22px 20px; box-shadow: var(--shadow);
}
.adv-card--red { border-left-color: var(--red); }
.adv-card--green { border-left-color: var(--green); }
.adv-card--gold { border-left-color: var(--gold); }
.adv-ico { font-size: 26px; display: inline-block; margin-bottom: 10px; }
.adv-card h3 { font-size: 16px; margin-bottom: 6px; }
.adv-card p { font-size: 13.8px; color: var(--muted); margin: 0; }

/* ---------- 9. Why ---------- */
.why-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.why-media { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.why-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.why-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(14, 159, 110, .18);
  color: #2fd499; font-size: 13px; font-weight: 800; margin-top: 3px;
}
.why-item strong { color: #fff; font-size: 15px; display: block; margin-bottom: 3px; }
.why-item p { margin: 0; color: #b9b6c6; font-size: 13.8px; }

/* ---------- 10. Mobile section ---------- */
.mob-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.mob-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; font-size: 14.5px; }
.mob-features li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.mob-media { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mob-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }

/* ---------- 11. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.testi-text { margin: 0; font-size: 14.2px; color: var(--text); flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad-red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex: none;
}
.testi-card:nth-child(2) .avatar { background: linear-gradient(180deg, #1e6fd9, #1557a8); }
.testi-card:nth-child(3) .avatar { background: linear-gradient(180deg, #12b57d, #0a7a54); }
.testi-who strong { display: block; font-size: 14px; line-height: 1.2; }
.testi-who em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- 12. Calculator ---------- */
.section--calc { background: var(--grad-dark); }
.section--calc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 110% 0%, rgba(247, 181, 0, .14), transparent 60%);
}
.section--calc .container { position: relative; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.calc-form, .calc-result, .calc-check {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 24px 22px;
}
.calc-form label { display: block; font-weight: 700; font-size: 13.5px; color: #e8e6f0; margin-bottom: 8px; }
.calc-field { margin-bottom: 16px; }
.calc-hint { font-size: 12px; color: var(--muted-2); margin: 6px 0 0; }
.calc-field input, .calc-field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(20, 19, 26, .6); color: #fff; font: 600 15px var(--ff); outline: none;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--gold); }
.calc-result h3, .calc-check h3 { color: #fff; font-size: 15.5px; }
.calc-out-label { font-size: 12.5px; color: var(--muted-2); margin: 14px 0 4px; }
.calc-out {
  font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; color: var(--gold-2); margin: 0 0 14px;
}
.calc-notes { margin: 0; padding-left: 1.2em; color: #c9c6d4; font-size: 13.2px; display: grid; gap: 6px; }
.calc-check ol { margin: 0 0 12px; padding-left: 1.2em; color: #d9d6e2; font-size: 13.5px; display: grid; gap: 7px; }
.calc-check p { color: #b9b6c6; font-size: 13px; margin: 0; }

/* ---------- 13. Security tips ---------- */
.sec-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.sec-media { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.sec-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.sec-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.mini-tip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mini-tip__ico { font-size: 20px; }
.mini-tip strong { display: block; font-size: 14px; margin: 6px 0 3px; }
.mini-tip p { margin: 0; font-size: 12.8px; color: var(--muted); }

/* ---------- 14. Responsible gaming ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); text-align: center;
}
.rg-ico { font-size: 32px; }
.rg-card h3 { font-size: 16px; margin: 10px 0 8px; }
.rg-card p { font-size: 13.8px; color: var(--muted); margin: 0; }
.rg-note { text-align: center; font-size: 13px; color: var(--muted); margin: 26px auto 0; max-width: 720px; }
.section-head .badge-18--big { margin-bottom: 12px; }

/* ---------- 15. FAQ ---------- */
.faq-list { display: grid; gap: 12px; text-align: left; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .15s;
}
.faq-item[open] { border-color: rgba(200, 16, 46, .45); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; font-weight: 700; font-size: 14.8px; cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q span { flex: 1; }
.faq-ico {
  flex: none; width: 22px; height: 22px; border-radius: 50%; position: relative;
  background: var(--paper-2); border: 1px solid var(--line);
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--red);
  transform: translate(-50%, -50%); transition: transform .2s;
}
.faq-ico::before { width: 10px; height: 2px; }
.faq-ico::after { width: 2px; height: 10px; }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { padding: 0 20px 18px; font-size: 14.2px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.faq-more { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- 16. CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(200, 16, 46, .5), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(247, 181, 0, .22), transparent 60%),
    var(--ink);
  color: #fff;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band .section-title { margin-bottom: 8px; }
.cta-band .section-lead { color: #cfccd9; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band__age { font-size: 12.5px; color: var(--muted-2); width: 100%; }

/* ---------- 17. Article layout ---------- */
.site-content { padding: clamp(28px, 4vw, 48px) 20px clamp(44px, 6vw, 72px); }
.hentry .entry-title { font-size: clamp(25px, 3.4vw, 38px); letter-spacing: -.3px; margin-bottom: 10px; }
.entry-meta { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.entry-meta strong { color: var(--ink); }
.entry-featured { margin: 0 0 28px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.entry-content { font-size: 15.6px; }
.entry-lead { font-size: 17px; color: #43414f; font-weight: 500; }
.entry-content h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 34px 0 12px; padding-left: 14px; border-left: 5px solid var(--gold); }
.entry-content h3 { font-size: 18px; margin: 24px 0 10px; }
.entry-content a { font-weight: 600; }
.entry-content ul li, .entry-content ol li { margin-bottom: 7px; }
.entry-content strong { color: var(--ink); }

.toc {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin: 0 0 28px;
}
.toc h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 10px; border: 0; padding: 0; color: var(--red); }
.toc ol { margin: 0; padding-left: 1.25em; font-size: 14px; display: grid; gap: 6px; }
.toc a { font-weight: 600; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 560px; }
.table-scroll th {
  background: var(--ink); color: #fff; text-align: left; padding: 12px 14px;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; white-space: nowrap;
}
.table-scroll td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-scroll tbody tr:nth-child(even) { background: var(--paper-2); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; border-radius: 12px;
  padding: 15px 18px; margin: 20px 0; font-size: 13.8px;
}
.notice__tag {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px; margin-top: 2px;
}
.notice--info { background: #eaf2fd; border: 1px solid #c5daf7; }
.notice--info .notice__tag { background: var(--blue); color: #fff; }
.notice--warn { background: #fdf3e4; border: 1px solid #f5d9a8; }
.notice--warn .notice__tag { background: var(--gold-dark); color: #fff; }
.notice--safe { background: #e9f8f1; border: 1px solid #bfe8d5; }
.notice--safe .notice__tag { background: var(--green); color: #fff; }
.notice--age { background: #fdecee; border: 1px solid #f5c2cb; }
.notice--age .notice__tag { background: var(--red); color: #fff; }
.notice__body p { margin: 0; }

.entry-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 8px; }
.entry-faq h2 { border-left-color: var(--red); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.entry-tags .tag { color: var(--ink); background: var(--paper-2); border-color: var(--line); }
.entry-tags .tag:hover { background: var(--red); color: #fff; border-color: var(--red); }

.related { margin-top: 40px; }
.related-title { font-size: 19px; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.related-ico { font-size: 24px; flex: none; }
.related-card strong { display: block; font-size: 14.5px; color: var(--ink); }
.related-card em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------- 18. Promo hub & landing ---------- */
.promo-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 34px; box-shadow: var(--shadow); }
.promo-steps__list { margin: 10px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none !important;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card__media { position: relative; margin: 0; }
.promo-card__media img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.promo-card__emoji {
  position: absolute; right: 12px; bottom: -18px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-gold); display: inline-flex; align-items: center; justify-content: center;
  font-size: 21px; box-shadow: 0 6px 16px rgba(20,19,26,.25); border: 2px solid #fff;
}
.promo-card__body { padding: 24px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.promo-card__body h3 { font-size: 16.5px; margin-bottom: 6px; }
.promo-card__body p { font-size: 13.6px; color: var(--muted); flex: 1; margin-bottom: 12px; }
.promo-card__cta { color: var(--red); font-weight: 700; font-size: 13.5px; }

.terms-table td:first-child { white-space: normal; min-width: 150px; }

.landing-hero {
  background: var(--grad-dark); color: #efedf5; overflow: hidden; position: relative;
  padding: clamp(40px, 6vw, 76px) 0;
}
.landing-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 300px at 88% -10%, rgba(200, 16, 46, .42), transparent 65%),
    radial-gradient(460px 280px at -8% 110%, rgba(247, 181, 0, .17), transparent 60%);
}
.landing-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.landing-hero__title { font-size: clamp(27px, 4vw, 44px); color: #fff; margin-bottom: 16px; }
.landing-hero__copy .hero__lead { color: #cfccd9; }
.landing-hero__media { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg); }
.landing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.landing-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.landing-card:nth-child(2) { border-top-color: var(--red); }
.landing-card--steps { border-top-color: var(--green); }
.landing-card__badge {
  position: absolute; top: -13px; left: 20px; background: var(--ink); color: var(--gold-2);
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.landing-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.landing-card__num { font-size: 40px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 10px; }
.landing-card__num small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.landing-card p { font-size: 13.8px; color: var(--muted); }
.landing-card ol { font-size: 13.8px; padding-left: 1.2em; }

/* ---------- 19. Auth pages ---------- */
.auth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); max-width: 1020px; margin: 0 auto;
}
.auth-hero {
  background: var(--grad-dark); color: #e8e6f0; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center;
}
.auth-title { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.auth-lead { color: #c9c6d4; font-size: 14.5px; }
.auth-points { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; font-size: 14px; color: #efedf5; }
.auth-age { display: flex; gap: 14px; align-items: flex-start; background: rgba(200,16,46,.16); border: 1px solid rgba(200,16,46,.4); border-radius: 12px; padding: 14px 16px; font-size: 12.6px; color: #e3d9dc; }
.auth-age p { margin: 0; }
.auth-form-wrap { padding: clamp(26px, 4vw, 46px); }
.auth-form .form-field { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13.2px; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--red); }
.auth-form input[type="text"], .auth-form input[type="tel"], .auth-form input[type="password"], .auth-form input[type="search"] {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper-2); font: 500 15px var(--ff); outline: none; transition: border-color .15s, background .15s;
}
.auth-form input:focus { border-color: var(--gold-dark); background: #fff; }
.auth-form small { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.2px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.form-link { font-size: 13px; font-weight: 600; }
.form-msg { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; margin: 0 0 10px; }
.form-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.auth-note { text-align: center; font-size: 12px; color: var(--muted-2); margin: 14px 0 0; }
.auth-after { border-top: 1px solid var(--line); }
.auth-steps { font-size: 14.8px; display: grid; gap: 10px; margin-bottom: 26px; }
.auth-faq h2 { font-size: 20px; margin-bottom: 14px; }
.auth-faq--pad { padding-bottom: 40px; }

/* ---------- 20. Search page ---------- */
.search-page { max-width: 760px; margin: 0 auto; text-align: center; }
.search-page .entry-title { font-size: clamp(26px, 3.4vw, 36px); }
.search-page .auth-lead { color: var(--muted); }
.search-big { display: flex; gap: 10px; max-width: 560px; margin: 26px auto 10px; }
.search-big input {
  flex: 1; min-width: 0; padding: 15px 18px; border-radius: 999px; border: 2px solid var(--line);
  font: 600 15px var(--ff); outline: none; background: var(--paper-2);
}
.search-big input:focus { border-color: var(--gold-dark); background: #fff; }
.tagcloud--page { justify-content: center; margin: 22px 0 8px; }
.search-results { text-align: left; margin-top: 34px; }
.search-empty { color: var(--muted); background: var(--paper-2); border: 1px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; }
.search-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 12px; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.search-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.search-item strong { color: var(--ink); font-size: 15.5px; }
.search-item em { display: block; font-style: normal; color: var(--muted); font-size: 13.4px; margin-top: 4px; }
.search-item .u { color: var(--green); font-size: 12px; font-weight: 600; }

/* ---------- 21. Footer ---------- */
.site-footer {
  background: var(--ink); color: #b4b1c0; padding: clamp(40px, 5vw, 64px) 0 0;
  /* clearance for the fixed bottom bar (not blank space, content still flows) */
  padding-bottom: 96px;
  font-size: 13.8px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.widget--about p { margin: 14px 0; }
.widget__title-row { display: flex; align-items: center; gap: 10px; }
.widget__title-row strong { color: #fff; font-size: 18px; letter-spacing: .5px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge-rg, .badge-ssl {
  font-size: 12px; font-weight: 700; color: #e8e6f0; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 5px 12px;
}
.widget-title { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px; margin: 0 0 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.widget a { color: #b4b1c0; }
.widget a:hover { color: var(--gold-2); }
.pay-list { color: #cfccd9; font-weight: 600; margin: 8px 0 6px; }
.pay-note { font-size: 11.8px; color: var(--muted-2); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding: 22px 0 10px; }
.footer-disclaimer { font-size: 11.8px; color: var(--muted-2); line-height: 1.75; margin-bottom: 10px; }
.footer-disclaimer strong { color: #b4b1c0; }
.footer-copy { font-size: 12.2px; color: var(--muted-2); }
.footer-copy a { color: #b4b1c0; text-decoration: underline; }

/* ---------- 22. Floating CTA (slot style + coins) ---------- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; justify-content: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none; /* only buttons catch clicks */
}
.float-cta__inner {
  display: flex; gap: 10px; width: 100%; max-width: 460px; pointer-events: auto;
}
.float-btn {
  position: relative; overflow: hidden; text-decoration: none !important;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 14px; font-weight: 900; letter-spacing: 1px;
}
.float-btn--daftar {
  flex: 1.6; background: var(--grad-gold); color: #241b04;
  padding: 10px 16px; font-size: 17px;
  border: 2px solid #fff3cf;
  box-shadow: 0 8px 26px rgba(240, 169, 11, .55), inset 0 2px 0 rgba(255,255,255,.6);
  animation: fabGlow 2.4s ease-in-out infinite;
}
.float-btn--masuk {
  flex: 1; background: var(--grad-red); color: #fff; padding: 10px 14px; font-size: 15px;
  border: 2px solid rgba(255, 255, 255, .28);
  box-shadow: 0 8px 22px rgba(200, 16, 46, .45);
}
.float-btn--masuk::before {
  content: "🔑"; font-size: 15px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3));
}
@keyframes fabGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(240,169,11,.55), 0 0 0 0 rgba(255, 214, 92, .55), inset 0 2px 0 rgba(255,255,255,.6); }
  55% { box-shadow: 0 8px 30px rgba(240,169,11,.7), 0 0 0 12px rgba(255, 214, 92, 0), inset 0 2px 0 rgba(255,255,255,.6); }
}

/* mini slot reels inside the DAFTAR button */
.float-btn__reels { display: inline-flex; gap: 3px; background: rgba(36, 27, 4, .85); padding: 3px 4px; border-radius: 7px; border: 1px solid rgba(255, 243, 207, .8); }
.reel { width: 17px; height: 20px; overflow: hidden; border-radius: 4px; background: #fff; position: relative; }
.reel__strip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; animation: reelSpin 1.2s linear infinite; }
.reel__strip i { font-style: normal; font-size: 14px; line-height: 20px; height: 20px; flex: none; }
.reel--2 .reel__strip { animation-duration: .9s; }
.reel--3 .reel__strip { animation-duration: 1.5s; }
@keyframes reelSpin { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

/* rising gold coins */
.float-btn__coin {
  position: absolute; bottom: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f0a90b 68%, #a66f06);
  box-shadow: inset 0 0 0 2.5px rgba(255, 243, 207, .85), 0 2px 5px rgba(0,0,0,.28);
  opacity: 0; animation: coinRise 2.6s ease-in infinite; pointer-events: none;
}
.float-btn__coin::after {
  content: "Rp"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: 700 7.5px/1 var(--ff); color: #6d4a03;
}
.float-btn__coin.c1 { left: 14%; animation-delay: 0s; }
.float-btn__coin.c2 { left: 48%; animation-delay: .9s; width: 13px; height: 13px; }
.float-btn__coin.c3 { left: 76%; animation-delay: 1.7s; width: 12px; height: 12px; }
@keyframes coinRise {
  0% { transform: translateY(0) scale(.6) rotate(0deg); opacity: 0; }
  14% { opacity: 1; }
  100% { transform: translateY(-64px) scale(1.15) rotate(28deg); opacity: 0; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .primary-menu a { padding: 9px 8px; font-size: 13px; }
}
@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0;
    cursor: pointer; padding: 8px; color: #fff;
  }
  .menu-toggle__box { display: inline-flex; flex-direction: column; gap: 5px; width: 24px; }
  .menu-toggle__box span { height: 2.6px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
  body.nav-open .menu-toggle__box span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
  body.nav-open .menu-toggle__box span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle__box span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
  #primary-menu {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: var(--ink-2); border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open #primary-menu { display: flex; }
  .primary-menu a { padding: 12px 10px; font-size: 15px; border-radius: 8px; }
  .menu-item--mobile-only { display: list-item; }
  .main-navigation { margin-right: 4px; }

  .hero__grid, .why-wrap, .mob-wrap, .sec-wrap, .landing-hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .steps-grid, .adv-grid, .testi-grid, .rg-grid, .promo-grid, .landing-cards, .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; max-width: 560px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .header-login { display: none; }
  .header-inner { gap: 10px; }
  .site-tagline { display: none; }
  .site-title { font-size: 19px; }
  .logo-mark { width: 36px; height: 36px; }
  .header-cta { padding: 9px 16px; }
  .steps-grid, .adv-grid, .testi-grid, .rg-grid, .promo-grid, .landing-cards, .calc-grid,
  .sec-tips, .related-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn-text { width: 100%; text-align: center; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .search-big { flex-direction: column; border-radius: 16px; }
  .search-big input { border-radius: 12px; }
  .search-big .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .site-footer { padding-bottom: 104px; }
  .float-cta__inner { max-width: 100%; }
  .float-btn--daftar { font-size: 16px; padding: 12px 12px; }
  .float-btn--masuk { padding: 12px 10px; }
  .entry-content { font-size: 15.2px; }
  .table-scroll table { min-width: 480px; }
  .hero__float-card { padding: 8px 10px; }
  .hero__float-num { font-size: 20px; }
}

/* ---------- 24. Motion & misc ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
::selection { background: var(--gold); color: var(--ink); }
