/* ============================================================
   Cuan123 — Portal Informasi Permainan Indonesia
   Tema: Kasino (hitam · merah · emas · hijau · biru · putih)
   Responsif untuk semua perangkat
   ============================================================ */

:root {
  --black: #0b0d13;
  --black-2: #10131c;
  --panel: #161b28;
  --panel-2: #1c2233;
  --line: #2a3145;
  --white: #f4f6fb;
  --muted: #aab3c7;
  --red: #e0233e;
  --red-dark: #b0172f;
  --red-soft: rgba(224, 35, 62, 0.14);
  --gold: #f6c445;
  --gold-dark: #d9a419;
  --gold-soft: rgba(246, 196, 69, 0.14);
  --green: #2fbf71;
  --green-dark: #1f9d58;
  --green-soft: rgba(47, 191, 113, 0.13);
  --blue: #4c8dff;
  --blue-dark: #2f6fe0;
  --blue-soft: rgba(76, 141, 255, 0.13);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background:
    radial-gradient(1100px 480px at 85% -140px, rgba(224, 35, 62, 0.16), transparent 62%),
    radial-gradient(900px 420px at -10% 6%, rgba(76, 141, 255, 0.10), transparent 60%),
    var(--black);
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

.container {
  width: min(1180px, 100% - 2.2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #171204;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 10001;
  font-weight: 700;
}

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

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(11, 13, 19, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--white);
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand .chip-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand b {
  color: var(--gold);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.68rem;
  border-radius: 8px;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--white);
  background: var(--panel-2);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--gold);
  background: var(--gold-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--gold);
  font-size: 1.05rem;
}

.icon-search:hover {
  background: var(--panel-2);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
}

/* ============ TOMBOL ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  padding: 0.66rem 1.35rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

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

.btn-red {
  background: linear-gradient(180deg, #ef3350, var(--red-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 35, 62, 0.4);
}

.btn-gold {
  background: linear-gradient(180deg, #ffd968, var(--gold-dark));
  color: #1d1502;
  box-shadow: 0 8px 22px rgba(246, 196, 69, 0.34);
}

.btn-green {
  background: linear-gradient(180deg, #3fd584, var(--green-dark));
  color: #03210f;
  box-shadow: 0 8px 22px rgba(47, 191, 113, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

/* ============ HERO (Beranda) ============ */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(176, 23, 47, 0.5) 0%, rgba(11, 13, 19, 0.88) 78%, var(--black) 100%),
    url("../img/hero.jpg") center 38% / cover no-repeat;
  padding: clamp(3.4rem, 9vw, 6.4rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 13, 19, 0.55);
  border: 1px solid rgba(246, 196, 69, 0.45);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5.6vw, 3.55rem);
  font-weight: 900;
  max-width: 840px;
  margin: 0 auto 1rem;
}

.hero h1 .grad {
  background: linear-gradient(92deg, #ffd968, #f6c445 45%, #2fbf71);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: #d7dcea;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 720px;
  margin: 0 auto 1.7rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-cta .btn {
  padding: 0.85rem 2.1rem;
  font-size: 1.02rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e7ebf5;
  background: rgba(22, 27, 40, 0.75);
  border: 1px solid var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.trust-chip.age {
  border-color: var(--red);
  color: #ff7b8f;
}

.trust-chip.ok {
  border-color: rgba(47, 191, 113, 0.6);
  color: #7fe0ab;
}

/* ============ SECTION UMUM ============ */

.section {
  padding: clamp(2.7rem, 6vw, 4.6rem) 0;
}

.section.alt {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.8rem, 4vw, 2.7rem);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.kicker.red { color: #ff7b8f; }
.kicker.gold { color: var(--gold); }
.kicker.green { color: #7fe0ab; }
.kicker.blue { color: #9cc2ff; }

.section-head h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--muted);
}

/* ============ KARTU KEUNGGULAN ============ */

.grid-4,
.grid-3,
.grid-2,
.article-card,
.split,
.content-layout,
.calc-wrap {
  min-width: 0;
}

.grid-4 > *,
.grid-3 > *,
.grid-2 > *,
.article-card > *,
.split > *,
.content-layout > *,
.calc-wrap > * {
  min-width: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
}

.adv-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.adv-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 13px;
  margin-bottom: 0.95rem;
  background: var(--gold-soft);
}

.adv-card.t-red { border-top: 3px solid var(--red); }
.adv-card.t-red .ico { background: var(--red-soft); }
.adv-card.t-green { border-top: 3px solid var(--green); }
.adv-card.t-green .ico { background: var(--green-soft); }
.adv-card.t-blue { border-top: 3px solid var(--blue); }
.adv-card.t-blue .ico { background: var(--blue-soft); }
.adv-card.t-gold { border-top: 3px solid var(--gold); }

.adv-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.5rem;
}

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

/* ============ KATEGORI ============ */

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.cat-card figure {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

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

.cat-card:hover figure img {
  transform: scale(1.06);
}

.cat-card .cat-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(11, 13, 19, 0.82);
  border: 1px solid rgba(246, 196, 69, 0.5);
  color: var(--gold);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.cat-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.cat-body h3 {
  font-size: 1.18rem;
}

.cat-body p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.cat-body .btn {
  align-self: flex-start;
  padding: 0.5rem 1.15rem;
  font-size: 0.86rem;
}

/* ============ TESTIMONI ============ */

.testi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testi-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.testi-card blockquote {
  color: #d9deea;
  font-size: 0.95rem;
  border: 0;
  flex: 1;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.avatar.a-red { background: var(--red-soft); color: #ff8ba0; }
.avatar.a-green { background: var(--green-soft); color: #7fe0ab; }
.avatar.a-blue { background: var(--blue-soft); color: #9cc2ff; }
.avatar.a-gold { background: var(--gold-soft); color: var(--gold); }

.testi-who b {
  display: block;
  font-size: 0.93rem;
}

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

.note-small {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1.3rem;
}

/* ============ KALKULATOR ANGGARAN (bagian baru) ============ */

.calc-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.calc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  background: var(--black-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field .hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.calc-result {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(47, 191, 113, 0.5);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
}

.calc-result h3 {
  color: #7fe0ab;
  font-size: 1.05rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
}

.calc-row b {
  color: var(--gold);
  white-space: nowrap;
}

.calc-warn {
  display: none;
  background: var(--red-soft);
  border: 1px solid rgba(224, 35, 62, 0.5);
  color: #ffb1bf;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
}

/* ============ KEAMANAN & PRIVASI ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #d9deea;
  font-size: 0.96rem;
}

.check-list .tick {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 2px;
}

.tick.g { background: var(--green-soft); color: #7fe0ab; }
.tick.b { background: var(--blue-soft); color: #9cc2ff; }
.tick.r { background: var(--red-soft); color: #ff8ba0; }
.tick.y { background: var(--gold-soft); color: var(--gold); }

/* ============ ARTIKEL ============ */

.article-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-card figure {
  min-height: 260px;
}

.article-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 1.8rem 1.7rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}

.article-body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-bottom: 0.9rem;
}

.article-body .more {
  margin-top: 1.1rem;
}

/* ============ PROSE (isi artikel halaman) ============ */

.prose {
  color: #d9deea;
}

.prose h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  margin: 2.1rem 0 0.85rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--gold);
}

.prose h3 {
  color: var(--gold);
  font-size: 1.12rem;
  margin: 1.6rem 0 0.6rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.prose a {
  text-decoration: underline;
}

.prose figure {
  margin: 1.6rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.prose figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--black-2);
}

.alert {
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  margin: 1.2rem 0;
  border: 1px solid;
}

.alert-info {
  background: var(--blue-soft);
  border-color: rgba(76, 141, 255, 0.45);
  color: #c3d8ff;
}

.alert-warn {
  background: var(--red-soft);
  border-color: rgba(224, 35, 62, 0.45);
  color: #ffc2cd;
}

.alert-safe {
  background: var(--green-soft);
  border-color: rgba(47, 191, 113, 0.45);
  color: #b9ecd1;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 1.2rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}

.prose th {
  background: var(--panel-2);
  color: var(--gold);
  text-align: left;
  padding: 0.75rem 0.95rem;
  white-space: nowrap;
}

.prose td {
  padding: 0.72rem 0.95rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.prose tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* ============ FAQ ============ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 0.99rem;
  transition: background 0.15s ease;
}

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

.faq-item summary:hover {
  background: var(--panel-2);
}

.faq-item summary .plus {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ============ TAG CARIAN (awan pencarian populer) ============ */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #d9deea;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tag:hover {
  text-decoration: none;
  transform: translateY(-2px);
  color: var(--white);
}

.tag.hot {
  border-color: rgba(224, 35, 62, 0.55);
  color: #ff9dab;
}

.tag.gold {
  border-color: rgba(246, 196, 69, 0.55);
  color: var(--gold);
}

.tag.green {
  border-color: rgba(47, 191, 113, 0.55);
  color: #7fe0ab;
}

.tag.blue {
  border-color: rgba(76, 141, 255, 0.55);
  color: #9cc2ff;
}

/* ============ CTA STRIP ============ */

.cta-strip {
  background:
    linear-gradient(120deg, rgba(176, 23, 47, 0.9), rgba(11, 13, 19, 0.94)),
    url("../img/vip.jpg") center / cover;
  border: 1px solid rgba(246, 196, 69, 0.35);
  border-radius: var(--radius);
  text-align: center;
  padding: clamp(1.8rem, 5vw, 3rem);
}

.cta-strip h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin-bottom: 0.6rem;
}

.cta-strip p {
  color: #e3e7f2;
  max-width: 640px;
  margin: 0 auto 1.4rem;
}

.cta-strip .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ============ HALAMAN DALAM ============ */

.page-hero {
  background:
    linear-gradient(180deg, rgba(176, 23, 47, 0.38), rgba(11, 13, 19, 0.94)),
    url("../img/hero.jpg") center 30% / cover;
  padding: clamp(2.2rem, 5.5vw, 3.8rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.7rem);
  font-weight: 900;
  margin: 0.4rem 0 0.7rem;
  max-width: 820px;
  margin-inline: auto;
}

.page-hero .lead {
  color: #d7dcea;
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.45rem;
  color: var(--gold);
}

.breadcrumb a {
  color: var(--muted);
}

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

.breadcrumb [aria-current] {
  color: var(--gold);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 2.2rem;
  align-items: start;
  padding: clamp(2rem, 4.5vw, 3.2rem) 0;
}

.aside-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.2rem;
}

.aside-box h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.aside-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.aside-box ul a {
  color: #d9deea;
  font-size: 0.92rem;
}

.aside-box ul a::before {
  content: "› ";
  color: var(--green);
  font-weight: 800;
}

.aside-box ul a:hover {
  color: var(--gold);
}

.aside-cta {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border-color: rgba(246, 196, 69, 0.4);
}

.aside-cta .btn {
  margin-bottom: 0.6rem;
}

.aside-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

/* ============ PROMO ============ */

.promo-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

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

.promo-card figure {
  position: relative;
  min-height: 210px;
}

.promo-card figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-body {
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.promo-badge {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--green-soft);
  border: 1px solid rgba(47, 191, 113, 0.5);
  color: #7fe0ab;
  padding: 0.26rem 0.75rem;
  border-radius: 999px;
}

.promo-body h3 {
  font-size: 1.25rem;
}

.promo-body p {
  color: var(--muted);
  font-size: 0.93rem;
  flex: 1;
}

.promo-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pfact {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d9deea;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.34rem 0.65rem;
}

.pfact b {
  color: var(--gold);
}

/* ============ FORMULIR ============ */

.form-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.3rem);
}

.form-card h1 {
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  margin-bottom: 0.5rem;
}

.form-card .sub {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0.9rem 0;
}

.check-row input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
}

.form-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1.3rem;
}

.form-foot a {
  color: var(--gold);
}

/* ============ PENCARIAN ============ */

.search-big {
  display: flex;
  gap: 0.6rem;
  max-width: 640px;
  margin: 0 auto 1.8rem;
}

.search-big input {
  flex: 1;
  min-width: 0;
}

.search-result {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.8rem;
}

.search-result h3 {
  font-size: 1.03rem;
  margin-bottom: 0.3rem;
}

.search-result p {
  color: var(--muted);
  font-size: 0.88rem;
}

.search-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* ============ FOOTER ============ */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--black-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 1.6rem;
}

.footer-grid h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid ul a {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.fbadge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  border: 1px solid;
}

.fbadge.age { color: #ff8ba0; border-color: rgba(224, 35, 62, 0.55); }
.fbadge.rg { color: #7fe0ab; border-color: rgba(47, 191, 113, 0.55); }
.fbadge.id { color: #9cc2ff; border-color: rgba(76, 141, 255, 0.55); }

.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 0.4rem;
}

.footer-disclaimer p {
  color: #7e8699;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding: 1.1rem 0 5.6rem; /* ruang untuk tombol melayang, bukan elemen kosong */
  color: var(--muted);
  font-size: 0.82rem;
}

/* ============ TOMBOL MELAYANG (gaya mesin slot) ============ */

.float-cta {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 9500;
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(246, 196, 69, 0.35);
  user-select: none;
}

.float-reels {
  display: flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(180deg, #232a3d, #12151f);
  border-radius: 999px 0 0 999px;
  padding: 0 0.8rem 0 0.95rem;
  border-right: 1px solid rgba(246, 196, 69, 0.35);
}

.reel {
  width: 26px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0d13;
  border: 1px solid #2a3145;
  border-radius: 7px;
  font-size: 1.02rem;
  line-height: 1;
  overflow: hidden;
}

.reel.spin {
  animation: reelShake 0.32s ease;
  filter: blur(1.2px);
}

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

.float-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: 1.2px;
  padding: 0.92rem 1.55rem;
  overflow: hidden;
}

.float-btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.float-daftar {
  background: linear-gradient(180deg, #ef3350, var(--red-dark));
  color: #fff;
  animation: pulseRed 2.1s infinite;
}

.float-masuk {
  background: linear-gradient(180deg, #ffd968, var(--gold-dark));
  color: #1d1502;
  border-radius: 0 999px 999px 0;
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 51, 80, 0.55); }
  55% { box-shadow: 0 0 0 12px rgba(239, 51, 80, 0); }
}

.float-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  animation: shine 2.8s infinite;
}

.float-daftar::after { animation-delay: 0.4s; }

@keyframes shine {
  0% { left: -80%; }
  45%, 100% { left: 130%; }
}

.coin {
  position: absolute;
  top: -6px;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  animation: coinFall 2.7s linear infinite;
}

.coin.c1 { left: 18%; animation-delay: 0.3s; }
.coin.c2 { left: 46%; animation-delay: 1.2s; font-size: 12px; }
.coin.c3 { left: 68%; animation-delay: 2s; }
.coin.c4 { left: 84%; animation-delay: 0.8s; font-size: 12px; }

@keyframes coinFall {
  0% { transform: translateY(0) rotate(0deg) scale(0.7); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(66px) rotate(340deg) scale(1); opacity: 0; }
}

/* ============ RESPONSIF ============ */

@media (max-width: 1080px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-aside {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
  }

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

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11, 13, 19, 0.99);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 1.2rem 1.1rem;
    gap: 0.2rem;
    margin: 0;
    display: none;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .split,
  .article-card,
  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-card figure {
    min-height: 190px;
  }

  .article-card figure {
    height: 205px;
    min-height: 0;
    aspect-ratio: auto;
  }

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

@media (max-width: 560px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand .chip-ico {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    gap: 0.4rem;
  }

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

  .header-actions .btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero-cta .btn {
    width: min(320px, 100%);
  }

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

  .float-btn {
    font-size: 0.9rem;
    padding: 0.82rem 1.15rem;
    letter-spacing: 0.6px;
  }

  .float-reels {
    padding: 0 0.6rem 0 0.75rem;
  }

  .reel {
    width: 22px;
    height: 30px;
    font-size: 0.92rem;
  }

  .search-big {
    flex-direction: column;
  }

  .prose table {
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .float-btn {
    font-size: 0.82rem;
    padding: 0.78rem 0.9rem;
  }

  .float-reels {
    display: none;
  }
}
