/* ==========================================================================
   Gacor33 — gacor33.games
   Tema: merah / putih / hijau / kuning / biru / hitam — casino rapi & responsif
   ========================================================================== */

:root {
  --red: #d81f2a;
  --red-dark: #a5131d;
  --red-deep: #7e0e16;
  --black: #14151a;
  --ink: #1e2128;
  --green: #0e8a3e;
  --green-dark: #0a6830;
  --green-soft: #e9f7ee;
  --gold: #ffb400;
  --gold-soft: #ffd34d;
  --gold-pale: #fff4d6;
  --blue: #1746a2;
  --blue-soft: #e9eefb;
  --bg: #f6f6f8;
  --card: #ffffff;
  --line: #e5e6ec;
  --muted: #5b6069;
  --shadow: 0 10px 30px rgba(20, 21, 26, 0.10);
  --shadow-sm: 0 4px 14px rgba(20, 21, 26, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
p { margin-bottom: 0.9rem; overflow-wrap: break-word; }
h1, h2, h3, h4 { line-height: 1.25; overflow-wrap: break-word; }

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

/* ---------- utilitas ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.4px;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge-18 { background: var(--black); color: var(--gold); border: 1px solid var(--gold); }
.badge-red { background: var(--red); color: #fff; }
.badge-green { background: var(--green); color: #fff; }
.badge-gold { background: var(--gold); color: var(--black); }
.badge-blue { background: var(--blue); color: #fff; }
.badge-soft { background: var(--gold-pale); color: #7a5600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  max-width: 100%;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(216, 31, 42, 0.35); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(14, 138, 62, 0.30); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 6px 16px rgba(255, 180, 0, 0.35); }
.btn-gold:hover { background: var(--gold-soft); color: var(--black); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline-red { background: #fff; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: #fdf1f2; color: var(--red-dark); }
.btn-block { width: 100%; }

.section { padding: 46px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--black); color: #f2f3f7; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.section-dark .kicker { color: var(--gold); }
.section-head h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); color: var(--ink); }
.section-head .sub { color: var(--muted); margin-top: 10px; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--black); color: #c9ccd6; font-size: 0.78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.topbar .tb-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar a { color: var(--gold); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 120; background: #fff; border-bottom: 3px solid var(--red); box-shadow: 0 4px 18px rgba(20, 21, 26, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: var(--gold); font-weight: 900; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .lt-name { font-size: 1.3rem; font-weight: 900; color: var(--black); letter-spacing: 0.5px; }
.logo-text .lt-name b { color: var(--red); }
.logo-text .lt-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: 0.92rem;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); background: #fdf1f2; text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 9px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; color: var(--ink);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero beranda ---------- */
.hero { position: relative; background: radial-gradient(1100px 500px at 85% -10%, rgba(255, 180, 0, 0.16), transparent 60%), linear-gradient(150deg, #1a1b21 0%, #14151a 55%, #20090c 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; padding: 54px 0 60px; }
.hero-copy .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); font-weight: 900; letter-spacing: 0.3px; }
.hero h1 .hl { color: var(--gold); }
.hero .lead { color: #c9ccd6; margin: 16px 0 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.82rem; color: #aeb2bd; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot-gold { background: var(--gold); }
.dot-green { background: #37c26e; }
.dot-blue { background: #6f9bff; }

.hero-media { position: relative; }
.hero-media .frame { border-radius: 18px; overflow: hidden; border: 3px solid rgba(255, 180, 0, 0.55); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-chip {
  position: absolute; bottom: -16px; left: -8px;
  background: #fff; color: var(--ink); border-radius: 12px;
  padding: 8px 14px; font-size: 0.8rem; font-weight: 700;
  box-shadow: var(--shadow); border-left: 4px solid var(--green);
  max-width: calc(100% - 20px);
}
.hero-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.72rem; }

/* ---------- langkah pemula ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.step-card:nth-child(2) { border-top-color: var(--gold); }
.step-card:nth-child(3) { border-top-color: var(--green); }
.step-card:nth-child(4) { border-top-color: var(--blue); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.05rem; color: #fff;
  background: var(--red); margin-bottom: 14px;
}
.step-card:nth-child(2) .step-num { background: var(--gold); color: var(--black); }
.step-card:nth-child(3) .step-num { background: var(--green); }
.step-card:nth-child(4) .step-num { background: var(--blue); }
.step-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- kartu kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 1.05rem; }
.cat-body p { font-size: 0.87rem; color: var(--muted); margin: 0; flex: 1; }
.cat-body .more { font-size: 0.85rem; font-weight: 700; }

/* ---------- promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.promo-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.promo-card img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.promo-body h3 { font-size: 1.08rem; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-body p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.promo-body .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }

/* ---------- keunggulan ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.why-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: #fff; background: var(--red);
}
.why-card:nth-child(2) .why-ico { background: var(--green); }
.why-card:nth-child(3) .why-ico { background: var(--gold); color: var(--black); }
.why-card:nth-child(4) .why-ico { background: var(--blue); }
.why-card:nth-child(5) .why-ico { background: var(--black); }
.why-card:nth-child(6) .why-ico { background: var(--red-dark); }
.why-card h3 { font-size: 1rem; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- split (mobil / keamanan / dll) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.split .frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.split .frame img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split h2 { font-size: clamp(1.35rem, 3.2vw, 1.9rem); margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.check-list .tick {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 2px;
}

/* ---------- testimoni ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex: 0 0 auto; }
.av-red { background: var(--red); } .av-green { background: var(--green); } .av-blue { background: var(--blue); }
.av-gold { background: var(--gold); color: var(--black); } .av-black { background: var(--black); } .av-redark { background: var(--red-dark); }
.review-name { font-weight: 800; font-size: 0.92rem; }
.review-loc { font-size: 0.76rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.review-card blockquote { font-size: 0.9rem; color: var(--muted); font-style: italic; margin: 0; }
.review-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 18px; }

/* ---------- kalkulator modal (fitur khas Gacor33) ---------- */
.calc-panel { background: linear-gradient(160deg, #1a1b21, #101116); border: 1px solid #2a2c35; border-radius: var(--radius); padding: 26px; color: #e8e9ee; box-shadow: var(--shadow); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.calc-field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; letter-spacing: 0.4px; }
.calc-field input, .calc-field select {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid #3a3d47; background: #0c0d11; color: #fff; font-size: 0.95rem; font-family: var(--font);
}
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.calc-box { background: rgba(255, 255, 255, 0.05); border: 1px solid #33364a; border-radius: 12px; padding: 14px; }
.calc-box .cb-k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: #9aa0ad; }
.calc-box .cb-v { font-size: 1.3rem; font-weight: 900; color: var(--gold); margin-top: 4px; }
.calc-box:nth-child(2) .cb-v { color: #37c26e; }
.calc-box:nth-child(3) .cb-v { color: #6f9bff; }
.calc-note { font-size: 0.78rem; color: #9aa0ad; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 15px 44px 15px 16px;
  font-weight: 700; font-size: 0.95rem; position: relative; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 16px 15px; font-size: 0.9rem; color: var(--muted); }

/* ---------- tag pencarian ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: transform 0.15s ease, border-color 0.15s ease;
}
.tagcloud a:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--red); color: var(--red); }
.tagcloud .hot { color: var(--red); font-weight: 800; }

/* ---------- breadcrumb ---------- */
.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; color: var(--gold); font-weight: 900; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- hero halaman dalam ---------- */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(255, 180, 0, 0.18), transparent 60%), linear-gradient(150deg, #1a1b21, #14151a 60%, #230a0d); color: #fff; }
.page-hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: center; padding: 44px 0 48px; }
.page-hero h1 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 900; }
.page-hero h1 .hl { color: var(--gold); }
.page-hero .lead { color: #c9ccd6; margin: 12px 0 18px; font-size: 0.98rem; }
.page-hero .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.page-hero .frame { border-radius: var(--radius); overflow: hidden; border: 3px solid rgba(255, 180, 0, 0.5); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); }
.page-hero .frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero-narrow { padding: 40px 0 44px; }

/* ---------- artikel ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.article h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 26px 0 10px; padding-left: 12px; border-left: 5px solid var(--red); }
.article h2:first-of-type { margin-top: 4px; }
.article h3 { font-size: 1.08rem; margin: 20px 0 8px; color: var(--red-dark); }
.article p { color: #383d47; }
.article ul, .article ol { color: #383d47; margin-bottom: 0.9rem; }
.article li { margin-bottom: 6px; }
.article figure { margin: 18px 0; }
.article figure img { border-radius: var(--radius-sm); width: 100%; }
.article figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 6px; text-align: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.article-meta .by { font-weight: 700; color: var(--ink); }

.callout { border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0; font-size: 0.9rem; }
.callout-red { background: #fdf1f2; border: 1px solid #f3c6ca; color: #7c1219; }
.callout-green { background: var(--green-soft); border: 1px solid #bfe6cd; color: #0a5a29; }
.callout-gold { background: var(--gold-pale); border: 1px solid #eedb9e; color: #6d4e00; }
.callout-blue { background: var(--blue-soft); border: 1px solid #c6d4f3; color: #12327a; }

/* ---------- sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.side-links a { display: flex; justify-content: space-between; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink); padding: 9px 12px; background: var(--bg); border-radius: 8px; }
.side-links a:hover { background: #fdf1f2; color: var(--red); text-decoration: none; }
.side-links .arr { color: var(--red); font-weight: 900; }

/* ---------- tabel syarat ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 16px 0; background: #fff; }
table.terms { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
table.terms th { background: var(--black); color: var(--gold); text-align: left; padding: 11px 14px; font-size: 0.8rem; letter-spacing: 0.6px; text-transform: uppercase; }
table.terms td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #383d47; }
table.terms td:first-child { font-weight: 700; color: var(--ink); white-space: normal; width: 34%; }
table.terms tr:nth-child(even) td { background: #fafafb; }

/* ---------- daftar promo di halaman promosi ---------- */
.promo-row { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.promo-row + .promo-row { margin-top: 18px; }
.promo-row img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.promo-row .pr-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.promo-row h2, .promo-row h3 { font-size: 1.15rem; }
.promo-row p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.promo-row .btn { align-self: flex-start; }

/* ---------- kartu daftar isi panduan ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--ink); }
.guide-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide-card .gc-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card h3 { font-size: 1rem; }
.guide-card p { font-size: 0.86rem; color: var(--muted); margin: 0; flex: 1; }
.guide-card .gc-meta { font-size: 0.75rem; color: var(--muted); }

/* ---------- form auth ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 30px; align-items: start; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select {
  width: 100%; padding: 12px 13px; border-radius: 10px;
  border: 1.5px solid #d4d6de; background: #fbfbfc; font-size: 0.95rem; font-family: var(--font); color: var(--ink);
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--red); background: #fff; }
.form-hint { font-size: 0.75rem; color: var(--muted); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); }
.form-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); flex: 0 0 auto; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.auth-side { display: flex; flex-direction: column; gap: 16px; }

/* ---------- pencarian ---------- */
.search-box { display: flex; gap: 10px; background: #fff; border: 2px solid var(--red); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.search-box input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 10px 16px; font-size: 1rem; font-family: var(--font); color: var(--ink);
}
.search-box button { border: 0; border-radius: 999px; padding: 10px 24px; background: var(--red); color: #fff; font-weight: 800; cursor: pointer; font-size: 0.9rem; font-family: var(--font); }
.search-box button:hover { background: var(--red-dark); }
#search-status { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.result-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.result-item { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); padding: 14px 16px; }
.result-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.result-item p { font-size: 0.85rem; color: var(--muted); margin: 0 0 6px; }
.result-item .r-url { font-size: 0.75rem; color: var(--green); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #e6462f); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.3rem, 3.4vw, 1.85rem); }
.cta-band p { color: #ffe3e5; max-width: 640px; margin: 10px auto 20px; font-size: 0.95rem; }
.cta-band .btn { margin: 0 6px 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #b7bac4; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding: 42px 0 30px; }
.footer-brand .logo-text .lt-name { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #b7bac4; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-desc { font-size: 0.86rem; margin-top: 12px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-legal { border-top: 1px solid #2a2c35; padding: 20px 0 90px; font-size: 0.78rem; color: #8f93a0; }
.footer-legal p { margin-bottom: 8px; }
.footer-legal .fl-strong { color: #c9ccd6; font-weight: 700; }
.footer-copy { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding-top: 14px; border-top: 1px solid #2a2c35; }

/* ---------- tombol melayang gaya mesin slot ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 990; display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #23242b, #101116 70%);
  border: 2.5px solid var(--gold); border-radius: 16px;
  padding: 9px 20px 9px 12px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 180, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden; max-width: calc(100vw - 24px);
}
.float-cta:hover, .float-cta:focus { text-decoration: none; border-color: var(--gold-soft); }
.cta-reels { display: flex; gap: 4px; background: #0a0b0e; border: 1.5px solid #3a3d47; border-radius: 10px; padding: 4px; }
.cta-reel {
  width: 26px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff;
  background: linear-gradient(180deg, #3c3f4a, #1c1e25);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  animation: reelSpin 2.6s ease-in-out infinite;
}
.cta-reel.r1 { color: var(--gold); animation-delay: 0s; }
.cta-reel.r2 { color: #ff5b63; animation-delay: 0.35s; }
.cta-reel.r3 { color: #4dd07a; animation-delay: 0.7s; }
@keyframes reelSpin {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  15% { transform: translateY(-4px); filter: brightness(1.5); }
  30% { transform: translateY(0); }
  55% { transform: translateY(-2px); filter: brightness(1.3); }
}
.cta-txt { display: flex; flex-direction: column; line-height: 1.1; }
.cta-txt strong { color: #fff; font-size: 1.02rem; font-weight: 900; letter-spacing: 1.5px; }
.cta-txt em { color: var(--gold); font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.coin {
  position: absolute; bottom: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe28a, var(--gold) 60%, #b97e00);
  box-shadow: 0 0 6px rgba(255, 180, 0, 0.8);
  animation: coinUp 1.9s linear infinite; pointer-events: none;
}
.coin.c1 { left: 18%; animation-delay: 0s; }
.coin.c2 { left: 38%; animation-delay: 0.5s; width: 7px; height: 7px; }
.coin.c3 { left: 58%; animation-delay: 1s; }
.coin.c4 { left: 78%; animation-delay: 1.45s; width: 8px; height: 8px; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  18% { opacity: 0.95; }
  100% { transform: translateY(-46px) scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-reel, .coin { animation: none; }
  .btn, .cat-card, .tagcloud a { transition: none; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 3px solid var(--red);
    box-shadow: 0 16px 30px rgba(20, 21, 26, 0.15); padding: 10px 16px 14px;
  }
  .main-nav.open a { padding: 12px 10px; border-radius: 8px; }
  .header-cta .btn-masuk-label { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 48px; }
  .hero-media { max-width: 520px; }
  .page-hero-inner { grid-template-columns: 1fr; padding: 34px 0 40px; }
  .page-hero .frame { max-width: 520px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: repeat(3, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .promo-row img { min-height: 180px; max-height: 240px; }
  .guide-grid { grid-template-columns: 1fr; }
  .topbar .tb-note span.tb-extra { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 34px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card img { min-height: 160px; max-height: 200px; }
  .header-cta .btn { padding: 9px 14px; font-size: 0.82rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-band .btn { width: 100%; margin: 0 0 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-legal { padding-bottom: 96px; }
  .float-cta { padding: 8px 16px 8px 10px; gap: 9px; bottom: 10px; border-radius: 14px; }
  .cta-reel { width: 22px; height: 28px; font-size: 0.9rem; }
  .cta-txt strong { font-size: 0.92rem; letter-spacing: 1px; }
  .article { padding: 20px 16px; }
  table.terms { min-width: 460px; }
}

@media (max-width: 360px) {
  body { font-size: 15px; }
  .container { padding: 0 12px; }
  .logo-mark { width: 36px; height: 36px; font-size: 1rem; }
  .logo-text .lt-name { font-size: 1.12rem; }
  .hero h1 { font-size: 1.6rem; }
  .float-cta { padding: 7px 12px 7px 9px; gap: 7px; max-width: calc(100vw - 16px); }
  .cta-reel { width: 20px; height: 25px; font-size: 0.8rem; }
  .cta-txt strong { font-size: 0.85rem; }
  .tagcloud a { padding: 7px 12px; font-size: 0.8rem; }
}

/* ---------- pengaman teks panjang ---------- */
.r-url, .review-loc, .calc-box .cb-v { overflow-wrap: anywhere; word-break: break-word; }
blockquote, .faq-a, .sub, .lead { overflow-wrap: break-word; }
.topbar .container { flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }

