/*
Theme Name: Ajaib4d
Theme URI: https://ajaib4d.games
Author: Tim Redaksi Ajaib4d
Description: Tema statis Ajaib4d — portal informasi & panduan game online 18+ dalam Bahasa Indonesia. Struktur stylesheet mengikuti konvensi tema WordPress (style.css dengan theme header) untuk memudahkan migrasi ke WordPress.
Version: 1.0.0
Text Domain: ajaib4d
Tags: casino-information, indonesian, responsive, seo
*/

/* ============ 0. Token Desain ============ */
:root {
  --bg: #0b0d14;
  --bg-2: #10131f;
  --card: #161a2c;
  --card-2: #1b2036;
  --line: #272d47;
  --line-2: #333a5c;
  --red: #e5223a;
  --red-2: #ff4057;
  --gold: #f7c548;
  --gold-2: #ffdf85;
  --green: #2fce7c;
  --green-2: #128a4e;
  --blue: #4c8dff;
  --blue-2: #2c63d8;
  --text: #eef1fa;
  --muted: #a6adc7;
  --muted-2: #7d84a3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ============ 1. Reset & Dasar ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul,
ol {
  padding-left: 1.3em;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

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

.section {
  padding: 68px 0;
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head .lead {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ============ 2. Tombol & Lencana ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow: 0 6px 20px rgba(229, 34, 58, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 26px rgba(229, 34, 58, 0.5);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a00;
  box-shadow: 0 6px 20px rgba(247, 197, 72, 0.3);
}

.btn-gold:hover {
  color: #241a00;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(247, 197, 72, 0.12);
  color: var(--gold-2);
}

.btn-green {
  background: linear-gradient(180deg, #3ee98f, var(--green-2));
  color: #04220f;
}

.btn-blue {
  background: linear-gradient(180deg, #6ba4ff, var(--blue-2));
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--muted);
}

.badge-gold { border-color: rgba(247,197,72,.5); color: var(--gold); background: rgba(247,197,72,.08); }
.badge-red { border-color: rgba(229,34,58,.5); color: #ff7b8c; background: rgba(229,34,58,.1); }
.badge-green { border-color: rgba(47,206,124,.5); color: #6fe3a8; background: rgba(47,206,124,.1); }
.badge-blue { border-color: rgba(76,141,255,.5); color: #8fb5ff; background: rgba(76,141,255,.1); }

/* ============ 3. Topbar & Header ============ */
.topbar {
  background: #07080d;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: center;
}

.topbar .age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

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

.brand .brand-name .four {
  color: var(--red-2);
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(247, 197, 72, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  display: flex;
}

.header-search input {
  width: 150px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.header-search button {
  border: none;
  background: var(--card-2);
  color: var(--gold);
  border: 1px solid var(--line-2);
  border-left: none;
  border-radius: 0 999px 999px 0;
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-actions-mobile {
  display: none;
}

/* ============ 4. Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(229, 34, 58, 0.28), transparent 60%),
    radial-gradient(700px 420px at 5% 110%, rgba(76, 141, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0d1020 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/hero.jpg") center / cover no-repeat;
  opacity: 0.16;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy .kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 34, 58, 0.14);
  border: 1px solid rgba(229, 34, 58, 0.45);
  color: #ff9aa8;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(92deg, var(--gold-2), var(--gold) 55%, #e8a91f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media .float-card {
  position: absolute;
  left: -18px;
  bottom: 22px;
  background: rgba(13, 16, 28, 0.92);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-media .float-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 206, 124, 0.15);
  border: 1px solid rgba(47, 206, 124, 0.4);
  font-size: 1.1rem;
}

.hero-media .float-card strong {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-head);
}

.hero-media .float-card small {
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* ============ 5. Langkah Panduan ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: langkah;
}

.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 197, 72, 0.5);
}

.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #241a00;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 6px 16px rgba(247, 197, 72, 0.3);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-card .step-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============ 6. Kartu Kategori ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.cat-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.cat-card .thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(4px);
}

.cat-card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cat-card h3 {
  font-size: 1.05rem;
}

.cat-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.cat-card .more {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============ 7. Keunggulan ============ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.adv-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid;
}

.ico-red { background: rgba(229,34,58,.12); border-color: rgba(229,34,58,.45); }
.ico-gold { background: rgba(247,197,72,.1); border-color: rgba(247,197,72,.45); }
.ico-green { background: rgba(47,206,124,.1); border-color: rgba(47,206,124,.45); }
.ico-blue { background: rgba(76,141,255,.1); border-color: rgba(76,141,255,.45); }

.adv-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.adv-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============ 8. Mengapa Memilih (split) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split img {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.split p {
  color: var(--muted);
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
}

.check-list .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(47, 206, 124, 0.14);
  border: 1px solid rgba(47, 206, 124, 0.5);
  color: #6fe3a8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 3px;
}

/* ============ 9. Pengalaman Mobile ============ */
.mobile-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.phone-mock {
  position: relative;
  width: min(280px, 80%);
  margin: 0 auto;
  border-radius: 34px;
  border: 3px solid var(--line-2);
  background: #05060a;
  padding: 14px 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.phone-mock .notch {
  width: 90px;
  height: 16px;
  background: var(--line-2);
  border-radius: 999px;
  margin: 0 auto 14px;
}

.phone-mock .screen {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.phone-mock img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.phone-mock .strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.phone-mock .strip span {
  width: 44px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1d2340, #141830);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.feature-rows {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.feature-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.feature-row .fi {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(76, 141, 255, 0.12);
  border: 1px solid rgba(76, 141, 255, 0.45);
}

.feature-row h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.feature-row p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

/* ============ 10. Testimoni ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.testi-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.testi-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  border: none;
  padding: 0;
  margin: 0 0 18px;
  line-height: 1.7;
}

.testi-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-card .avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}

.avatar-red { background: rgba(229,34,58,.18); color: #ff8c9c; border: 1px solid rgba(229,34,58,.5); }
.avatar-gold { background: rgba(247,197,72,.14); color: var(--gold); border: 1px solid rgba(247,197,72,.5); }
.avatar-green { background: rgba(47,206,124,.14); color: #6fe3a8; border: 1px solid rgba(47,206,124,.5); }
.avatar-blue { background: rgba(76,141,255,.14); color: #8fb5ff; border: 1px solid rgba(76,141,255,.5); }

.testi-card .who strong {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-head);
}

.testi-card .who small {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.testi-note {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 22px;
}

/* ============ 11. Kamus Istilah (inovasi) ============ */
.glossary-tools {
  max-width: 520px;
  margin: 0 auto 26px;
  display: flex;
  gap: 10px;
}

.glossary-tools input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--text);
  font-size: 0.95rem;
}

.glossary-tools input:focus {
  border-color: var(--gold);
  outline: none;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.term-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.term-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
  transition: background 0.2s ease;
}

.term-card summary::-webkit-details-marker {
  display: none;
}

.term-card summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.term-card[open] summary::after {
  transform: rotate(45deg);
}

.term-card summary:hover {
  background: rgba(247, 197, 72, 0.06);
}

.term-card .def {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.glossary-empty {
  text-align: center;
  color: var(--muted);
  padding: 20px 0;
  display: none;
}

/* ============ 12. Keamanan & RG Panels ============ */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.panel-card .panel-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.panel-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.panel-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.panel-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.panel-card ul li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.panel-card ul li::before {
  content: "▸";
  color: var(--gold);
  flex-shrink: 0;
}

.panel-card .panel-cta {
  margin-top: auto;
}

/* ============ 13. FAQ ============ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  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: 14px;
  padding: 17px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(247, 197, 72, 0.12);
}

.faq-item .faq-a {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item .faq-a a {
  font-weight: 600;
}

/* ============ 14. Tag Cloud ============ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-cloud a {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--muted);
  transition: all 0.18s ease;
}

.tag-cloud a:hover {
  transform: translateY(-2px);
}

.tag-red:hover { border-color: var(--red); color: #ff8c9c; background: rgba(229,34,58,.08); }
.tag-gold:hover { border-color: var(--gold); color: var(--gold); background: rgba(247,197,72,.08); }
.tag-green:hover { border-color: var(--green); color: #6fe3a8; background: rgba(47,206,124,.08); }
.tag-blue:hover { border-color: var(--blue); color: #8fb5ff; background: rgba(76,141,255,.08); }

/* ============ 15. Breadcrumb ============ */
.breadcrumb {
  padding: 18px 0 4px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--muted-2);
}

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

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

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

/* ============ 16. Layout Halaman & Artikel ============ */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(229,34,58,.16), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 38px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin: 8px 0 12px;
}

.page-hero .lead {
  color: var(--muted);
  max-width: 780px;
  font-size: 1rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 48px 0 64px;
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose .featured {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  margin-bottom: 26px;
}

.prose .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 22px;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}

.prose h3 {
  font-size: 1.12rem;
  margin: 24px 0 10px;
  color: var(--gold-2);
}

.prose p {
  color: #c9cfe4;
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  color: #c9cfe4;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}

.prose strong {
  color: var(--text);
}

.prose blockquote {
  border-left: 4px solid var(--green);
  background: rgba(47, 206, 124, 0.07);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-style: italic;
  margin: 18px 0;
}

.note-box {
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.92rem;
  line-height: 1.65;
  border: 1px solid;
}

.note-info { background: rgba(76,141,255,.08); border-color: rgba(76,141,255,.4); color: #bcd3ff; }
.note-warn { background: rgba(229,34,58,.08); border-color: rgba(229,34,58,.4); color: #ffc4cc; }
.note-tip { background: rgba(47,206,124,.08); border-color: rgba(47,206,124,.4); color: #b4ecd0; }
.note-gold { background: rgba(247,197,72,.08); border-color: rgba(247,197,72,.4); color: #ffe4a1; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
}

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

.prose th {
  background: var(--card-2);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

.prose td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: #c9cfe4;
  vertical-align: top;
}

.cta-inline {
  background: linear-gradient(135deg, rgba(229,34,58,.16), rgba(247,197,72,.1));
  border: 1px solid rgba(247,197,72,.4);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  margin: 34px 0;
}

.cta-inline h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text);
}

.cta-inline p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.cta-inline .btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sidebar */
.sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
}

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.side-card h2,
.side-card h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--gold);
}

.side-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.side-card ul a {
  display: block;
  font-size: 0.88rem;
  color: #c9cfe4;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.side-card ul a:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.side-card ul a small {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* ============ 17. Kartu Promo ============ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.promo-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card .promo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px dashed var(--line-2);
}

.promo-card .promo-ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.promo-card h3 {
  font-size: 1.05rem;
}

.promo-card h3 + .badge {
  margin-top: 4px;
}

.promo-card .promo-body {
  padding: 16px 22px 20px;
  flex: 1;
}

.promo-card .terms {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.promo-card .terms li {
  display: flex;
  gap: 9px;
  line-height: 1.55;
}

.promo-card .terms b {
  color: var(--text);
  font-weight: 600;
}

.promo-card .terms .lbl {
  flex-shrink: 0;
  min-width: 86px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 1px;
}

.promo-note {
  background: rgba(229, 34, 58, 0.07);
  border: 1px solid rgba(229, 34, 58, 0.35);
  border-radius: 12px;
  color: #ffd7dc;
  font-size: 0.85rem;
  padding: 14px 18px;
  margin-top: 26px;
  line-height: 1.65;
}

/* ============ 18. Form ============ */
.form-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
}

.form-wrap.wide {
  max-width: 720px;
}

.form-wrap h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-wrap .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.field label .req {
  color: var(--red-2);
}

.field input,
.field select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.15s ease;
}

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

.field .hint {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 6px;
}

.check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 18px 0;
  line-height: 1.55;
}

.check-field input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

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

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

/* ============ 19. Footer ============ */
.site-footer {
  background: #07080d;
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  /* ruang untuk tombol melayang — bukan area kosong, warna sama dengan footer */
  padding-bottom: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 14px 0 18px;
  line-height: 1.7;
}

.footer-brand .brand {
  margin-bottom: 4px;
}

.footer-col h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-head);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}

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

.footer-col a:hover {
  color: var(--gold-2);
}

.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pay-chips span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 5px 10px;
  background: var(--card);
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}

.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.footer-legal .age-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--red);
  color: #ff8c9c;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-legal .disclaimer {
  flex: 1;
  min-width: 260px;
  max-width: 860px;
  line-height: 1.6;
}

/* ============ 20. Tombol Melayang (Slot) ============ */
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #2a0f16, #150a0f);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 10px 20px 10px 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(247, 197, 72, 0.35),
    inset 0 0 14px rgba(247, 197, 72, 0.12);
  overflow: visible;
}

.float-cta:hover {
  border-color: var(--gold-2);
}

.float-cta .reels {
  display: flex;
  gap: 4px;
}

.float-cta .reel {
  width: 22px;
  height: 30px;
  overflow: hidden;
  background: #0a0c13;
  border: 1px solid rgba(247, 197, 72, 0.35);
  border-radius: 5px;
}

.float-cta .reel .strip {
  display: block;
  animation: reel-spin 1.15s linear infinite;
}

.float-cta .reel:nth-child(2) .strip {
  animation-delay: 0.12s;
}

.float-cta .reel:nth-child(3) .strip {
  animation-delay: 0.24s;
}

.float-cta .reel i {
  display: block;
  height: 30px;
  font-style: normal;
  line-height: 30px;
  text-align: center;
  font-size: 15px;
}

@keyframes reel-spin {
  from { transform: translateY(0); }
  to { transform: translateY(-90px); }
}

.float-cta .cta-label {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.float-cta .cta-label b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(247, 197, 72, 0.45);
}

.float-cta .cta-label small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red-2);
  text-transform: uppercase;
}

.float-cta .coin {
  position: absolute;
  bottom: 6px;
  font-size: 15px;
  pointer-events: none;
  opacity: 0;
  animation: coin-up 1.9s ease-out infinite;
}

.float-cta .coin-1 { left: 16px; }
.float-cta .coin-2 { left: 50%; animation-delay: 0.65s; }
.float-cta .coin-3 { right: 18px; animation-delay: 1.25s; }

@keyframes coin-up {
  0% { transform: translateY(0) scale(0.5) rotate(-12deg); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-74px) scale(1.05) rotate(14deg); opacity: 0; }
}

/* ============ 21. Halaman Pencarian ============ */
.search-page-head {
  text-align: center;
  padding: 54px 0 10px;
}

.search-big {
  max-width: 640px;
  margin: 0 auto 30px;
  display: flex;
  gap: 10px;
}

.search-big input {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 15px 24px;
  color: var(--text);
  font-size: 1rem;
}

.search-big input:focus {
  border-color: var(--gold);
  outline: none;
}

.result-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.result-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.result-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.result-item h3 a {
  color: var(--gold-2);
}

.result-item p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.result-item .url {
  font-size: 0.78rem;
  color: var(--green);
}

.result-item mark {
  background: rgba(247, 197, 72, 0.28);
  color: var(--gold-2);
  border-radius: 3px;
  padding: 0 3px;
}

.search-status {
  text-align: center;
  color: var(--muted);
  padding: 30px 0 60px;
}

/* ============ 22. Section CTA Umum ============ */
.big-cta {
  background:
    radial-gradient(600px 260px at 50% -30%, rgba(247, 197, 72, 0.16), transparent 65%),
    linear-gradient(180deg, #14101a, #0d0a12);
  border-top: 1px solid rgba(247, 197, 72, 0.3);
  border-bottom: 1px solid rgba(247, 197, 72, 0.3);
  text-align: center;
  padding: 64px 0;
}

.big-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.big-cta p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 0.98rem;
}

.big-cta .btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ 23. Responsif ============ */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 8, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 14px; font-size: 0.95rem; }
  .header-actions { gap: 8px; }
  .header-actions .header-search,
  .header-actions .btn-outline { display: none; }
  .main-nav .nav-actions-mobile { display: flex; gap: 10px; padding: 10px 14px 4px; }
  .main-nav .nav-actions-mobile .btn { flex: 1; }
  .main-nav .nav-search-mobile { display: flex; margin: 10px 0 6px; }
  .main-nav .nav-search-mobile input {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 999px 0 0 999px;
    padding: 11px 16px;
    color: var(--text);
    font-size: 0.9rem;
  }
  .main-nav .nav-search-mobile button {
    background: var(--card-2);
    border: 1px solid var(--line-2);
    border-left: none;
    border-radius: 0 999px 999px 0;
    color: var(--gold);
    padding: 0 16px;
    cursor: pointer;
  }
  .hero .container { grid-template-columns: 1fr; gap: 36px; padding-top: 54px; padding-bottom: 54px; }
  .hero-media .float-card { left: 12px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .mobile-wrap { grid-template-columns: 1fr; gap: 36px; }
  .duo-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .prose table { min-width: 440px; font-size: 0.82rem; }
  .prose th, .prose td { padding: 9px 11px; }
  .steps-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-actions .btn { padding: 11px 16px; font-size: 0.8rem; }
  .hero-cta .btn { width: 100%; }
  .form-wrap { padding: 26px 20px; }
  .search-big { gap: 8px; }
  .search-big input { padding: 13px 18px; font-size: 0.92rem; }
  .search-big .btn { padding: 12px 16px; font-size: 0.85rem; white-space: normal; }
  .float-cta { right: 12px; bottom: 12px; padding: 8px 16px 8px 10px; border-radius: 16px; }
  .float-cta .cta-label b { font-size: 0.95rem; }
  .site-footer { padding-bottom: 104px; }
  .footer-legal .container { justify-content: center; text-align: center; }
  .cta-inline .btns .btn { width: 100%; }
  .big-cta .btns .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .brand .brand-name { font-size: 1.15rem; }
  .topbar { font-size: 0.72rem; }
  .float-cta .reel { width: 18px; height: 26px; }
  .float-cta .reel i { height: 26px; line-height: 26px; font-size: 12px; }
  @keyframes reel-spin { to { transform: translateY(-78px); } }
}

/* ============ 24. Aksesibilitas & Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
