/* ==========================================================================
   Senang4d — senang4d.games
   Tema: Kasino hijau-emas-merah, responsif penuh (aman hingga 360px)
   ========================================================================== */

:root {
  --c-bg:        #0a100c;
  --c-bg-2:      #0d1710;
  --c-panel:     #111d15;
  --c-panel-2:   #152419;
  --c-line:      rgba(240, 214, 118, 0.16);
  --c-line-soft: rgba(255, 255, 255, 0.07);
  --c-green:     #0e8a52;
  --c-green-2:   #12a45f;
  --c-green-dk:  #0a5c39;
  --c-gold:      #f0d676;
  --c-gold-2:    #d4af37;
  --c-gold-dk:   #9c7c1e;
  --c-red:       #e0454f;
  --c-red-dk:    #b32d3c;
  --c-blue:      #3f8ecc;
  --c-text:      #e9efe9;
  --c-muted:     #a9baad;
  --c-white:     #ffffff;
  --radius:      14px;
  --shadow:      0 14px 40px rgba(0, 0, 0, 0.45);
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap:        1180px;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(14, 138, 82, 0.22), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(212, 175, 55, 0.08), transparent 55%),
    var(--c-bg);
  overflow-x: hidden;
  padding-bottom: 86px; /* ruang untuk tombol melayang, bukan spasi ekstra */
}

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

a { color: var(--c-gold); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--c-white); }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

h1, h2, h3, h4 { line-height: 1.28; font-weight: 800; color: var(--c-white); overflow-wrap: break-word; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  border: 0;
}

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, #ffe9a3 0%, var(--c-gold-2) 55%, #b8860b 100%);
  color: #211a02;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { filter: brightness(1.06); color: #211a02; }
.btn-green {
  background: linear-gradient(180deg, #17b068 0%, var(--c-green) 60%, var(--c-green-dk) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 138, 82, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-green:hover { filter: brightness(1.08); color: #fff; }
.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--c-line);
  color: var(--c-gold);
}
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-white); }
.btn-red {
  background: linear-gradient(180deg, #ef6069 0%, var(--c-red) 55%, var(--c-red-dk) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 69, 79, 0.35);
}
.btn-red:hover { filter: brightness(1.07); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 14, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--c-white);
}
.brand:hover { color: var(--c-white); }
.brand-coin {
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffe9a3 0%, var(--c-gold-2) 48%, #7a5c10 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #241b02;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 3px 8px rgba(0, 0, 0, 0.5);
  flex: 0 0 auto;
}
.brand b { color: var(--c-gold); }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 0.2rem; padding: 0; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-muted);
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--c-gold); background: rgba(240, 214, 118, 0.08); }
.main-nav .nav-cta { margin-left: 0.5rem; display: flex; gap: 0.5rem; }
.main-nav .nav-cta .btn { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

.header-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line-soft);
  border-radius: 999px;
  padding: 0.18rem 0.3rem 0.18rem 0.85rem;
}
.header-search input {
  width: 130px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--c-white);
  font-size: 0.88rem;
  font-family: inherit;
}
.header-search input::placeholder { color: #7d8f81; }
.header-search button {
  background: linear-gradient(180deg, #ffe9a3, var(--c-gold-2));
  border: 0;
  color: #211a02;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.header-search button:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-gold);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 0.9rem 0 0; font-size: 0.82rem; color: var(--c-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #5c6f61; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb [aria-current] { color: var(--c-gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/hero-home.jpg") center 38% / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 12, 8, 0.96) 8%, rgba(6, 12, 8, 0.82) 46%, rgba(8, 30, 18, 0.55) 100%),
    radial-gradient(700px 300px at 20% 90%, rgba(14, 138, 82, 0.35), transparent 70%);
}
.hero-inner { padding: clamp(2.6rem, 7vw, 5.2rem) 0 clamp(2.2rem, 5vw, 3.6rem); max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(240, 214, 118, 0.08);
  color: var(--c-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green-2);
  box-shadow: 0 0 0 4px rgba(18, 164, 95, 0.22);
}
.hero h1 {
  font-size: clamp(1.75rem, 5.4vw, 3.1rem);
  letter-spacing: -0.015em;
}
.hero h1 span {
  background: linear-gradient(92deg, #ffe9a3 10%, var(--c-gold-2) 55%, #f5e6ae 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 1rem;
  font-size: clamp(0.98rem, 2.5vw, 1.13rem);
  color: #cfdccf;
  max-width: 640px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--c-muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--c-line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: var(--c-red);
  color: #fff;
  font-weight: 900;
  font-size: 0.74rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- Hero halaman dalam ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img, url("/assets/img/neon-sign.jpg")) center 40% / cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 12, 8, 0.97) 10%, rgba(6, 12, 8, 0.86) 55%, rgba(8, 30, 18, 0.62) 100%);
}
.page-hero-inner { padding: clamp(1.8rem, 4.5vw, 3rem) 0; max-width: 780px; }
.page-hero h1 { font-size: clamp(1.5rem, 4.6vw, 2.5rem); }
.page-hero p { margin-top: 0.7rem; color: #cfdccf; max-width: 680px; font-size: clamp(0.95rem, 2.2vw, 1.05rem); }
.page-hero .label {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ---------- Bagian umum ---------- */
.section { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.section-alt { background: var(--c-bg-2); border-block: 1px solid var(--c-line-soft); }
.section-head { max-width: 760px; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-green-2);
  margin-bottom: 0.5rem;
}
.section-head h2 { font-size: clamp(1.35rem, 3.8vw, 2rem); }
.section-head p { margin-top: 0.6rem; color: var(--c-muted); }
.section-head.center p { margin-inline: auto; }

/* ---------- Kartu kategori ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line); }
.card-thumb { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .tag {
  position: absolute;
  left: 0.8rem; bottom: 0.8rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(6, 12, 8, 0.82);
  border: 1px solid var(--c-line);
  color: var(--c-gold);
  backdrop-filter: blur(4px);
}
.card-body { padding: 1.05rem 1.15rem 1.25rem; }
.card-body h3 { font-size: 1.08rem; }
.card-body p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--c-muted); }
.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-green-2);
}
.card-link:hover { color: var(--c-gold); }

/* ---------- Langkah pemula ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step {
  position: relative;
  padding: 1.5rem 1.15rem 1.25rem;
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -14px; left: 1.05rem;
  padding: 0.08rem 0.6rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe9a3, var(--c-gold-2));
  color: #241b02;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.step h3 { font-size: 1.02rem; margin-top: 0.35rem; }
.step p { margin-top: 0.45rem; font-size: 0.88rem; color: var(--c-muted); }

/* ---------- Keunggulan / list ceklis ---------- */
.feature-list { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
}
.feature .ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.15rem;
  background: linear-gradient(180deg, rgba(18, 164, 95, 0.3), rgba(10, 92, 57, 0.3));
  border: 1px solid var(--c-line-soft);
}
.feature h3 { font-size: 0.98rem; }
.feature p { margin-top: 0.3rem; font-size: 0.87rem; color: var(--c-muted); }

/* ---------- Blok gambar + teks ---------- */
.split { display: grid; gap: 1.6rem; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10.5;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(1.3rem, 3.6vw, 1.85rem); }
.split-body > p { margin-top: 0.7rem; color: var(--c-muted); }
.split-body .btn { margin-top: 1.1rem; }

/* ---------- Suara pembaca ---------- */
.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quote {
  padding: 1.2rem 1.25rem;
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem; right: 1rem;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: rgba(240, 214, 118, 0.22);
  line-height: 1;
}
.quote p { font-size: 0.93rem; color: #d5e0d5; }
.quote footer {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--c-line-soft);
  font-size: 0.8rem;
  color: var(--c-muted);
}
.quote footer b { color: var(--c-gold); }
.quote-note { margin-top: 1rem; font-size: 0.78rem; color: #8fa292; }

/* ---------- Kalkulator ---------- */
.calc {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(160deg, #122117, #0c1510 70%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.9rem);
  box-shadow: var(--shadow);
}
.calc-form label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--c-gold); margin-bottom: 0.35rem; }
.calc-form .field + .field { margin-top: 0.95rem; }
.calc input[type="number"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--c-line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--c-white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.calc input[type="number"]:focus { border-color: var(--c-gold); }
.calc-output {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.calc-box {
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--c-line-soft);
  background: rgba(0, 0, 0, 0.28);
}
.calc-box small { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.calc-box strong { display: block; font-size: clamp(1.2rem, 3.4vw, 1.6rem); color: var(--c-gold); font-weight: 900; margin-top: 0.15rem; }
.calc-note { font-size: 0.78rem; color: #8fa292; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.7rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  padding-right: 2.6rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--c-white);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.05rem; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240, 214, 118, 0.12);
  color: var(--c-gold);
  font-weight: 900;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--c-gold); }
.faq-item .faq-body { padding: 0 1.15rem 1rem; font-size: 0.92rem; color: var(--c-muted); }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag-cloud a {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(240, 214, 118, 0.05);
  color: var(--c-gold);
  font-size: 0.84rem;
  font-weight: 600;
}
.tag-cloud a:hover { background: rgba(240, 214, 118, 0.15); color: var(--c-white); }
.tag-cloud a.hot { border-color: rgba(224, 69, 79, 0.55); background: rgba(224, 69, 79, 0.12); color: #f2a9ad; }
.tag-cloud a.hot:hover { background: rgba(224, 69, 79, 0.25); color: #fff; }

/* ---------- Artikel ---------- */
.article {
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.entry-header { padding-bottom: 1.1rem; border-bottom: 1px dashed var(--c-line-soft); margin-bottom: 1.5rem; }
.entry-header h1 { font-size: clamp(1.45rem, 4.4vw, 2.2rem); }
.entry-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--c-muted);
}
.entry-content { font-size: 1rem; color: #d9e3d9; }
.entry-content h2 {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  margin: 1.9rem 0 0.7rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--c-gold-2);
}
.entry-content h3 { font-size: 1.08rem; margin: 1.4rem 0 0.5rem; color: var(--c-gold); }
.entry-content p { margin: 0.75rem 0; }
.entry-content ul, .entry-content ol { margin: 0.75rem 0; }
.entry-content li::marker { color: var(--c-gold); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img {
  border-radius: 12px;
  border: 1px solid var(--c-line-soft);
  margin: 1.25rem 0;
}
.entry-content figure figcaption {
  font-size: 0.78rem;
  color: #8fa292;
  margin-top: 0.4rem;
  text-align: center;
}
.entry-content strong { color: var(--c-white); }
.entry-content blockquote {
  margin: 1.25rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 4px solid var(--c-green);
  border-radius: 0 12px 12px 0;
  background: rgba(18, 164, 95, 0.08);
  color: #cfe0cf;
  font-style: italic;
}
.callout {
  margin: 1.3rem 0;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(224, 69, 79, 0.4);
  background: rgba(224, 69, 79, 0.08);
  font-size: 0.92rem;
}
.callout b { color: #f2a9ad; }
.callout-green { border-color: rgba(18, 164, 95, 0.45); background: rgba(18, 164, 95, 0.08); }
.callout-green b { color: #7fd6a6; }
.callout-gold { border-color: var(--c-line); background: rgba(240, 214, 118, 0.07); }
.callout-gold b { color: var(--c-gold); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.1rem 0; border: 1px solid var(--c-line-soft); border-radius: 12px; }
table.terms { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 0.9rem; }
table.terms th, table.terms td { padding: 0.7rem 0.95rem; text-align: left; border-bottom: 1px solid var(--c-line-soft); vertical-align: top; }
table.terms th {
  background: rgba(240, 214, 118, 0.08);
  color: var(--c-gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.terms tr:last-child td { border-bottom: 0; }
table.terms td:first-child { color: var(--c-white); font-weight: 700; white-space: nowrap; }

.article-nav { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.auth-card {
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3.6vw, 2.2rem);
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
.auth-card .sub { margin-top: 0.5rem; font-size: 0.9rem; color: var(--c-muted); }
.form-row { margin-top: 1.05rem; }
.form-row label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--c-gold); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"],
.form-row input[type="password"], .form-row select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--c-line-soft);
  background: rgba(0, 0, 0, 0.32);
  color: var(--c-white);
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus { border-color: var(--c-gold); }
.form-row .hint { font-size: 0.76rem; color: #8fa292; margin-top: 0.3rem; }
.form-check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.85rem; color: var(--c-muted); }
.form-check input { margin-top: 0.3rem; accent-color: var(--c-gold-2); width: 16px; height: 16px; flex: 0 0 auto; }
.form-note { margin-top: 1rem; font-size: 0.78rem; color: #8fa292; text-align: center; }
.auth-side { display: grid; gap: 1rem; }
.auth-side .feature { align-items: flex-start; }

/* ---------- Pencarian ---------- */
.search-hero { padding: clamp(2rem, 5vw, 3rem) 0; }
.search-bar { display: flex; gap: 0.6rem; max-width: 640px; margin: 1.2rem auto 0; }
.search-bar input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--c-white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.search-bar input:focus { border-color: var(--c-gold); }
.search-results { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.result {
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  background: var(--c-panel);
}
.result h3 { font-size: 1rem; }
.result h3 a { color: var(--c-gold); }
.result h3 a:hover { text-decoration: underline; }
.result p { margin-top: 0.35rem; font-size: 0.88rem; color: var(--c-muted); }
.result .url { display: block; margin-top: 0.4rem; font-size: 0.76rem; color: var(--c-green-2); word-break: break-all; }
.search-empty { text-align: center; color: var(--c-muted); padding: 1.5rem 0; }

/* ---------- Daftar promosi ---------- */
.promo-card { display: flex; flex-direction: column; }
.promo-card .card-body { display: flex; flex-direction: column; flex: 1; }
.promo-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.promo-facts span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(18, 164, 95, 0.14);
  border: 1px solid rgba(18, 164, 95, 0.4);
  color: #8fdcb2;
  white-space: nowrap;
}
.promo-facts span.warn { background: rgba(224, 69, 79, 0.12); border-color: rgba(224, 69, 79, 0.45); color: #f2a9ad; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, #0a120d, #060b08);
  padding-top: clamp(2rem, 5vw, 3rem);
}
.footer-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  padding-bottom: 2rem;
}
.footer-grid h3 { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--c-gold); }
.footer-grid p { font-size: 0.86rem; color: var(--c-muted); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin: 0.45rem 0; }
.footer-grid a { color: var(--c-muted); font-size: 0.86rem; }
.footer-grid a:hover { color: var(--c-gold); }
.footer-legal {
  border-top: 1px solid var(--c-line-soft);
  padding: 1.2rem 0 1.4rem;
  font-size: 0.78rem;
  color: #8fa292;
}
.footer-legal p + p { margin-top: 0.55rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  font-size: 0.8rem;
  color: #7d8f81;
}
.footer-pay { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.footer-pay span {
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Tombol melayang (gaya slot + koin) ---------- */
.float-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(10, 18, 12, 0.9), rgba(5, 10, 7, 0.98));
  border-top: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
}
.float-cta-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0;
  max-width: var(--wrap);
  margin-inline: auto;
  width: min(100% - 2rem, var(--wrap));
}
.reels { display: flex; gap: 0.28rem; flex: 0 0 auto; }
.reel {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fdf6d8, #f3e3a1);
  border: 2px solid var(--c-gold-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(122, 92, 16, 0.35);
}
.reel span { display: block; animation: reelSpin 3.6s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.reel:nth-child(2) span { animation-delay: 0.18s; }
.reel:nth-child(3) span { animation-delay: 0.36s; }
@keyframes reelSpin {
  0%, 18%   { transform: translateY(0); }
  26%, 44%  { transform: translateY(-34px); }
  52%, 70%  { transform: translateY(-68px); }
  78%, 100% { transform: translateY(0); }
}
.reel span i { font-style: normal; display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; }
.float-copy { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.float-copy strong { display: block; color: var(--c-gold); font-size: 0.92rem; font-weight: 900; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-copy small { display: block; color: var(--c-muted); font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-actions { display: flex; gap: 0.55rem; flex: 0 0 auto; }
.float-actions .btn { padding: 0.62rem 1.25rem; font-size: 0.9rem; }
.coin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a3, #d4af37 60%, #8a6a12);
  box-shadow: 0 0 8px rgba(240, 214, 118, 0.8);
  opacity: 0;
  pointer-events: none;
  animation: coinFloat 2.8s ease-in infinite;
}
@keyframes coinFloat {
  0%   { transform: translateY(0) scale(0.4); opacity: 0; }
  12%  { opacity: 0.95; }
  60%  { transform: translateY(-46px) scale(1); opacity: 0.85; }
  100% { transform: translateY(-72px) scale(0.5); opacity: 0; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-search { display: none; }
  .header-search.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    margin: 0;
    width: min(100% - 2rem, var(--wrap));
    background: rgba(8, 14, 10, 0.98);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    margin-inline: auto;
  }
  .header-search.is-open input { width: 100%; flex: 1; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6, 11, 8, 0.99);
    border-bottom: 1px solid var(--c-line);
    display: none;
    padding: 0.6rem 1rem 1rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .main-nav a { padding: 0.7rem 0.9rem; font-size: 1rem; border-radius: 10px; }
  .main-nav .nav-cta { margin: 0.6rem 0 0; flex-direction: row; }
  .main-nav .nav-cta .btn { flex: 1; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .float-cta-inner { gap: 0.55rem; }
  .float-copy strong { font-size: 0.82rem; }
  .float-actions { flex-direction: column; gap: 0.4rem; }
  .float-actions .btn { padding: 0.5rem 1rem; font-size: 0.82rem; }
  .reel { width: 28px; height: 28px; font-size: 0.9rem; border-radius: 7px; }
  .reel span i { width: 28px; height: 28px; }
  @keyframes reelSpin {
    0%, 18%   { transform: translateY(0); }
    26%, 44%  { transform: translateY(-28px); }
    52%, 70%  { transform: translateY(-56px); }
    78%, 100% { transform: translateY(0); }
  }
  .search-bar { flex-direction: column; }
  .search-bar .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .wrap { width: min(100% - 1.4rem, var(--wrap)); }
  .brand { font-size: 1.15rem; }
  .brand-coin { width: 30px; height: 30px; font-size: 0.64rem; }
  .reels { display: none; }
  .float-copy small { display: none; }
  .float-actions { flex-direction: row; }
  .float-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
  .age-badge { min-width: 30px; height: 22px; font-size: 0.68rem; }
  table.terms { min-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
