/* ============================================================
   Sogoslot — sogoslot.games
   Casino info portal theme (WordPress-style static build)
   Palet: merah / putih / hijau / kuning / biru / hitam
   ============================================================ */

:root {
  --red: #d61f30;
  --red-deep: #a3121f;
  --night: #141726;
  --night-2: #1b2033;
  --night-3: #232a44;
  --gold: #f5b90e;
  --gold-2: #ffd34d;
  --green: #1fa958;
  --green-2: #2bc46a;
  --blue: #2563eb;
  --blue-2: #4b83f0;
  --ink: #171923;
  --mut: #5a6072;
  --line: #e6e8f0;
  --paper: #ffffff;
  --smoke: #f6f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 23, 38, 0.10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --floatbar-h: 78px;
}

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

html { scroll-behavior: smooth; }

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

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

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

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

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

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn-green { background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff; box-shadow: 0 6px 18px rgba(31, 169, 88, 0.35); }
.btn-gold  { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #3c2a00; box-shadow: 0 6px 18px rgba(245, 185, 14, 0.4); }
.btn-red   { background: linear-gradient(180deg, var(--red), var(--red-deep)); color: #fff; box-shadow: 0 6px 18px rgba(214, 31, 48, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-line  { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(20, 23, 38, 0.97);
  border-bottom: 2px solid rgba(245, 185, 14, 0.25);
  backdrop-filter: blur(8px);
}
.site-head.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.head-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; flex-shrink: 0; }
.brand-word { font-size: 21px; font-weight: 900; letter-spacing: 0.03em; line-height: 1; }
.brand-word .gld { color: var(--gold); }
.brand-dom { display: block; font-size: 10.5px; font-weight: 600; color: #9aa3bd; letter-spacing: 0.18em; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex-wrap: wrap; }
.main-nav a {
  color: #d6dbec;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 8px;
  text-decoration: none !important;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: var(--gold); background: rgba(245, 185, 14, 0.12); }

.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-search { position: relative; }
.head-search input {
  width: 210px;
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13.5px;
  font-family: var(--font);
  outline: none;
}
.head-search input::placeholder { color: #9aa3bd; }
.head-search input:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.13); }
.head-search .ico-search {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #9aa3bd; pointer-events: none;
}
.head-search-go {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  background: var(--gold); border: none; color: #3c2a00; font-weight: 800; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
}

.nav-toggle, .search-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 38px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 17px; line-height: 1;
}
.nav-toggle { font-size: 19px; }

/* Search results panel */
.search-panel {
  position: absolute; left: 0; right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: none;
  z-index: 950;
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
}
.search-panel.open { display: block; }
.search-panel .sp-item {
  display: block; padding: 11px 16px; border-bottom: 1px solid var(--line);
  text-decoration: none !important; color: var(--ink);
}
.search-panel .sp-item:hover { background: var(--smoke); }
.search-panel .sp-item:last-child { border-bottom: none; }
.sp-t { font-weight: 700; font-size: 14px; color: var(--ink); }
.sp-t b { color: var(--red); }
.sp-d { font-size: 12.5px; color: var(--mut); }
.sp-none { padding: 14px 16px; color: var(--mut); font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, #1a0e14 0%, #2a0f16 45%, #141726 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 38, 0.55) 0%, rgba(20, 23, 38, 0.82) 70%, #141726 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 72px 0 78px; max-width: 820px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 185, 14, 0.14);
  border: 1px solid rgba(245, 185, 14, 0.5);
  color: var(--gold-2);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 20px 0 16px;
  color: #fff;
}
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: clamp(15.5px, 2vw, 18px); color: #d6dbec; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px; font-weight: 700; color: #e7eaf5;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-gold { background: var(--gold); }
.dot-green { background: var(--green-2); }
.dot-blue { background: var(--blue-2); }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--red);
  color: #ff8d99; font-weight: 900; font-size: 12px;
  background: rgba(214, 31, 48, 0.15);
}

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec-smoke { background: var(--smoke); }
.sec-dark { background: var(--night); color: #e7eaf5; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
  background: rgba(214, 31, 48, 0.08);
  border: 1px solid rgba(214, 31, 48, 0.22);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); background: rgba(245, 185, 14, 0.1); border-color: rgba(245, 185, 14, 0.35); }
.eyebrow.green { color: var(--green); background: rgba(31, 169, 88, 0.08); border-color: rgba(31, 169, 88, 0.25); }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; color: var(--ink); }
.sec-dark .sec-head h2 { color: #fff; }
.sec-head p { color: var(--mut); font-size: 16px; }
.sec-dark .sec-head p { color: #b9c0d6; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Steps */
.step-card { padding: 26px 22px; position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; color: #fff;
  margin-bottom: 16px;
}
.step-card:nth-child(4n+1) .step-num { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.step-card:nth-child(4n+2) .step-num { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #3c2a00; }
.step-card:nth-child(4n+3) .step-num { background: linear-gradient(135deg, var(--green-2), var(--green)); }
.step-card:nth-child(4n+4) .step-num { background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.step-card h3 { font-size: 18px; margin-bottom: 9px; }
.step-card p { color: var(--mut); font-size: 14.5px; }
.step-card a.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 13.5px; }

/* Feature icons */
.feat { padding: 26px 22px; }
.feat .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat .ico svg { width: 26px; height: 26px; }
.ico-red { background: rgba(214, 31, 48, 0.1); color: var(--red); }
.ico-gold { background: rgba(245, 185, 14, 0.14); color: #b8860b; }
.ico-green { background: rgba(31, 169, 88, 0.1); color: var(--green); }
.ico-blue { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { color: var(--mut); font-size: 14.5px; }

/* Split media section */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.split .img-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split .img-wrap img { width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(23px, 3vw, 32px); margin: 10px 0 14px; }
.split p { color: var(--mut); margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 11px;
  color: var(--ink); font-size: 15px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(31, 169, 88, 0.12); color: var(--green);
  font-weight: 900; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.tag:hover { border-color: var(--gold); background: rgba(245, 185, 14, 0.1); transform: translateY(-2px); }
.tag.hot { border-color: rgba(214, 31, 48, 0.4); background: rgba(214, 31, 48, 0.06); color: var(--red); }

/* ---------- Testimonials ---------- */
.testi { padding: 26px 22px; }
.testi .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testi blockquote { font-size: 14.5px; color: #333849; font-style: italic; margin-bottom: 16px; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 16px; flex-shrink: 0;
}
.av-red { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.av-gold { background: linear-gradient(135deg, var(--gold-2), #d99e00); color: #3c2a00; }
.av-green { background: linear-gradient(135deg, var(--green-2), var(--green)); }
.testi-who .nm { font-weight: 800; font-size: 14.5px; }
.testi-who .rl { font-size: 12.5px; color: var(--mut); }

/* ---------- Toolkit (innovative) ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.tool-card { background: #fff; border-radius: 16px; padding: 28px 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tool-card h3 { font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.tool-card > p { color: var(--mut); font-size: 13.5px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  border: 1.5px solid var(--line); font-size: 15px; font-family: var(--font);
  outline: none; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.tool-out {
  background: var(--night); color: #fff; border-radius: 12px;
  padding: 16px 18px; margin-top: 6px; display: none;
}
.tool-out.show { display: block; }
.tool-out .big { font-size: 24px; font-weight: 900; color: var(--gold); }
.tool-out .sub { font-size: 13px; color: #b9c0d6; margin-top: 6px; }
.tool-out .warn { font-size: 12.5px; color: #ffb3bb; margin-top: 10px; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 10px; }

/* Glossary */
.gloss-filter { margin-bottom: 14px; }
.gloss-list { max-height: 330px; overflow-y: auto; padding-right: 6px; }
details.gl { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
details.gl summary {
  cursor: pointer; padding: 11px 14px; font-weight: 700; font-size: 14px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
details.gl summary::-webkit-details-marker { display: none; }
details.gl summary::after { content: "+"; color: var(--red); font-weight: 900; font-size: 16px; }
details.gl[open] summary::after { content: "–"; }
details.gl[open] summary { color: var(--red); }
details.gl .gl-body { padding: 0 14px 13px; font-size: 13.5px; color: var(--mut); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
details.faq {
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-weight: 800; font-size: 15.5px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; width: 11px; height: 11px; flex-shrink: 0;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px;
}
details.faq[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
details.faq[open] summary { color: var(--red); background: rgba(214, 31, 48, 0.03); }
details.faq .faq-body { padding: 0 20px 18px; color: var(--mut); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #e2452f);
  border-radius: 20px;
  color: #fff; text-align: center;
  padding: 46px 30px;
  position: relative; overflow: hidden;
  box-shadow: 0 16px 40px rgba(214, 31, 48, 0.3);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 211, 77, 0.12);
}
.cta-band::before { width: 220px; height: 220px; top: -90px; left: -60px; }
.cta-band::after { width: 320px; height: 320px; bottom: -160px; right: -100px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto 24px; position: relative; font-size: 15px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 16px; position: relative; }

/* ---------- Breadcrumb / page hero ---------- */
.crumbs { font-size: 13px; color: var(--mut); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.crumbs a { color: var(--mut); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: #b8bdcf; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

.page-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.page-hero .ph-inner { position: relative; z-index: 2; padding: 46px 0 52px; max-width: 840px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); color: #fff; margin: 12px 0 12px; }
.page-hero p { color: #ccd2e6; font-size: 16px; max-width: 660px; }
.page-hero .crumbs { color: #9aa3bd; padding: 18px 0 0; }
.page-hero .crumbs a { color: #c2c9de; }
.page-hero .crumbs [aria-current] { color: var(--gold); }
.ph-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 185, 14, 0.14); border: 1px solid rgba(245, 185, 14, 0.5);
  color: var(--gold-2); font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  padding: 6px 13px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- Article ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 40px 0 14px; padding-left: 14px; border-left: 5px solid var(--gold); }
.article h3 { font-size: 18.5px; margin: 26px 0 10px; }
.article p { margin-bottom: 14px; color: #2b2f3e; font-size: 15.5px; }
.article ul, .article ol { margin: 0 0 16px; color: #2b2f3e; }
.article li { margin-bottom: 8px; font-size: 15.5px; }
.article .lead { font-size: 17px; color: var(--ink); font-weight: 500; }
.article-img { border-radius: 16px; overflow: hidden; margin: 26px 0; box-shadow: var(--shadow); }
.article-img figcaption { font-size: 12.5px; color: var(--mut); padding: 10px 4px 0; text-align: center; }
.article blockquote {
  border-left: 5px solid var(--green); background: rgba(31, 169, 88, 0.06);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 20px 0;
  font-style: italic; color: #2b2f3e;
}
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--mut); margin-bottom: 8px; }
.meta-line .tag-mini {
  background: rgba(37, 99, 235, 0.08); color: var(--blue);
  padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 11.5px;
}

/* Tables (terms) */
.tbl-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 12px; border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
table.tbl caption { caption-side: top; text-align: left; font-weight: 800; padding: 12px 16px; background: var(--night); color: var(--gold); font-size: 14.5px; }
table.tbl th, table.tbl td { padding: 12px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { background: var(--smoke); color: var(--ink); font-weight: 800; width: 34%; }
table.tbl tr:last-child td { border-bottom: none; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 12px; padding: 15px 17px; margin: 20px 0; font-size: 13.5px;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.notice p { margin: 0; font-size: 13.5px; }
.notice.blue { background: rgba(37, 99, 235, 0.07); border: 1px solid rgba(37, 99, 235, 0.25); color: #1e3a8a; }
.notice.gold { background: rgba(245, 185, 14, 0.1); border: 1px solid rgba(245, 185, 14, 0.4); color: #6b4d00; }
.notice.red { background: rgba(214, 31, 48, 0.06); border: 1px solid rgba(214, 31, 48, 0.25); color: #8c1220; }
.notice.green { background: rgba(31, 169, 88, 0.07); border: 1px solid rgba(31, 169, 88, 0.3); color: #14532d; }

/* Category card links */
.cat-card { text-decoration: none !important; color: var(--ink); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(20, 23, 38, 0.16); }
.cat-card .img { aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover .img img { transform: scale(1.06); }
.cat-card .body { padding: 18px 20px 22px; }
.cat-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.cat-card p { font-size: 13.5px; color: var(--mut); }
.cat-card .go { color: var(--red); font-weight: 800; font-size: 13.5px; margin-top: 10px; display: inline-block; }

/* Promo cards */
.promo-card { position: relative; }
.promo-card .img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.promo-card .img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card .ribbon {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.promo-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.promo-card h3 { font-size: 16.5px; margin-bottom: 7px; }
.promo-card p { font-size: 13.5px; color: var(--mut); margin-bottom: 12px; }
.promo-terms-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.promo-terms-mini span {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  background: var(--smoke); color: var(--mut); border: 1px solid var(--line);
}

.auth-side .btn { white-space: normal; }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1020px; margin: 0 auto; }
.auth-card { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 34px 32px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--mut); font-size: 14px; margin-bottom: 24px; }
.auth-side h2 { font-size: 21px; margin-bottom: 14px; }
.auth-side p { color: var(--mut); font-size: 14.5px; margin-bottom: 14px; }
.form-err { display: none; background: rgba(214, 31, 48, 0.07); border: 1px solid rgba(214, 31, 48, 0.35); color: #8c1220; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.form-err.show { display: block; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mut); margin: 16px 0; }
.field-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.field-check a { font-weight: 700; }
.btn-block { width: 100%; padding: 15px; font-size: 16px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--mut); margin-top: 18px; }
.redirecting { text-align: center; font-size: 14px; color: var(--green); font-weight: 700; margin-top: 12px; display: none; }
.redirecting.show { display: block; }

/* ---------- Security / RG lists ---------- */
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.tip .tn { font-weight: 900; color: var(--blue); font-size: 14px; background: rgba(37, 99, 235, 0.08); width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tip h3 { font-size: 15px; margin-bottom: 5px; }
.tip p { font-size: 13.5px; color: var(--mut); }

.rg-signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rg-sign { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 15px 17px; font-size: 14px; color: #ccd2e6; display: flex; gap: 10px; }
.rg-sign .ex { color: #ff8d99; font-weight: 900; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: #b9c0d6; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 38px; }
.foot-brand p { font-size: 13.5px; margin: 14px 0 18px; color: #9aa3bd; }
.foot-col h3 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.04em; }
.foot-col ul { list-style: none; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: #b9c0d6; font-size: 13.5px; text-decoration: none !important; }
.foot-col a:hover { color: var(--gold); }
.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0 0;
  font-size: 12px; color: #8d95ad; line-height: 1.7;
}
.foot-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.f-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px;
  padding: 6px 12px; font-size: 11.5px; font-weight: 800; color: #ccd2e6;
}
.f-badge.b-red { border-color: rgba(214, 31, 48, 0.6); color: #ff9aa5; }
.f-badge.b-green { border-color: rgba(31, 169, 88, 0.55); color: #7fd8a5; }
.f-badge.b-gold { border-color: rgba(245, 185, 14, 0.55); color: var(--gold-2); }
.foot-copy {
  text-align: center; font-size: 12px; color: #8d95ad;
  padding: 20px 0 calc(var(--floatbar-h) + 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 22px;
}

/* ---------- Floating bar (slot machine) ---------- */
.floatbar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 12px;
  width: min(620px, calc(100% - 20px));
  z-index: 980;
}
.floatbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(120deg, #232a44 0%, #2b1220 55%, #232a44 100%);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.floatbar-inner::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 211, 77, 0.05) 26px 52px);
  pointer-events: none;
}
.reels { display: flex; gap: 6px; }
.reel {
  width: 34px; height: 40px; border-radius: 9px;
  background: linear-gradient(180deg, #3a4265, #1d2238);
  border: 1.5px solid rgba(245, 185, 14, 0.55);
  overflow: hidden; position: relative;
  display: flex; justify-content: center;
}
.reel .strip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: reelspin 2.4s linear infinite;
  padding-top: 4px;
}
.reel .strip span { font-size: 19px; line-height: 32px; height: 32px; }
.reel:nth-child(2) .strip { animation-delay: 0.35s; }
.reel:nth-child(3) .strip { animation-delay: 0.7s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.fb-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 128px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 900; font-size: 15.5px; letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: transform 0.15s ease;
}
.fb-btn:hover { transform: translateY(-2px) scale(1.03); text-decoration: none !important; }
.fb-btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { left: -80%; }
  85%, 100% { left: 130%; }
}
.fb-daftar {
  background: linear-gradient(180deg, var(--green-2), #148a48);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(43, 196, 106, 0.35), 0 6px 20px rgba(31, 169, 88, 0.55);
  animation: pulseGreen 1.8s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 2px rgba(43, 196, 106, 0.3), 0 6px 20px rgba(31, 169, 88, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(43, 196, 106, 0.18), 0 6px 26px rgba(31, 169, 88, 0.7); }
}
.fb-masuk {
  background: linear-gradient(180deg, var(--gold-2), #e0a200);
  color: #3c2a00;
  box-shadow: 0 0 0 2px rgba(245, 185, 14, 0.35), 0 6px 20px rgba(245, 185, 14, 0.5);
}

/* rising coins */
.coin {
  position: absolute; bottom: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #c78f00);
  box-shadow: 0 0 8px rgba(255, 211, 77, 0.85);
  opacity: 0;
  animation: coinrise 3.2s ease-in infinite;
  pointer-events: none;
}
.coin::before { content: "$"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; color: #8a6300; }
.coin.c1 { left: 12%; animation-delay: 0s; }
.coin.c2 { left: 26%; animation-delay: 0.8s; width: 12px; height: 12px; }
.coin.c3 { left: 50%; animation-delay: 1.6s; }
.coin.c4 { left: 68%; animation-delay: 0.4s; width: 12px; height: 12px; }
.coin.c5 { left: 84%; animation-delay: 1.1s; }
@keyframes coinrise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-72px) rotate(200deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel .strip, .fb-btn::after, .coin, .fb-daftar { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Related / more reads ---------- */
.more-read { padding: 40px 0 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .tool-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; gap: 28px; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--night-2);
    flex-direction: column; align-items: stretch;
    padding: 12px 18px 18px; gap: 2px;
    border-bottom: 2px solid rgba(245, 185, 14, 0.35);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-toggle { display: block; order: 5; }
  .search-toggle { display: block; }
  .head-search { display: none; }
  .head-search.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--night-2); padding: 12px 16px;
    border-bottom: 2px solid rgba(245, 185, 14, 0.35);
  }
  .head-search.open input { width: 100%; }
  .head-actions .btn { padding: 9px 14px; font-size: 12.5px; }
}

@media (max-width: 720px) {
  .g-3 { grid-template-columns: 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .tip-grid { grid-template-columns: 1fr; }
  .rg-signs { grid-template-columns: 1fr; }
  .sec { padding: 48px 0; }
  .hero-inner { padding: 54px 0 58px; }
  .head-actions .btn.btn-masuk-head { display: none; }
  .floatbar-inner { gap: 10px; padding: 9px 10px; border-radius: 15px; }
  .fb-btn { min-width: 104px; padding: 12px 12px; font-size: 14px; }
  .reel { width: 28px; height: 34px; }
  .reel .strip span { font-size: 16px; line-height: 26px; height: 26px; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; padding: 42px 0 30px; }
  .article h2 { margin-top: 34px; }
  .cta-band { padding: 36px 20px; }
}

@media (max-width: 430px) {
  .container { padding: 0 14px; }
  .fb-btn { min-width: 92px; font-size: 13px; padding: 11px 8px; }
  .reels { gap: 4px; }
  .reel { width: 24px; height: 30px; border-radius: 7px; }
  .reel .strip span { font-size: 14px; line-height: 22px; height: 22px; }
  .hero-cta .btn { width: 100%; }
  .cta-band .btns .btn { width: 100%; }
  .floatbar { bottom: 8px; }
}
