/* ============================================================
   Sinar123 - Portal Informasi Permainan Online (Bahasa Indonesia)
   Palet: merah, putih, hijau, kuning emas, biru tua, hitam
   ============================================================ */

:root {
  --navy-900: #0b0f1c;
  --navy-800: #111830;
  --navy-700: #1a2340;
  --red-600: #d81f2a;
  --red-700: #b3151f;
  --red-soft: #fdeeee;
  --gold-500: #f2b705;
  --gold-400: #ffd75e;
  --gold-soft: #fff7e0;
  --green-600: #0e9f6e;
  --green-soft: #e8f7f0;
  --blue-600: #1d4ed8;
  --ink-900: #151a26;
  --ink-700: #3c4356;
  --ink-500: #6b7286;
  --paper: #f6f7fb;
  --card: #ffffff;
  --line: #e5e8f0;
  --shadow: 0 10px 30px rgba(11, 15, 28, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 15, 28, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 68px;
  --float-h: 64px;
}

* { 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.7;
  color: var(--ink-700);
  background: var(--paper);
  overflow-x: clip;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

.section { padding: 56px 0; }
.section-alt { background: var(--card); }
.section-dark { background: var(--navy-900); color: #c7cde0; }
.section-dark h2, .section-dark h3 { color: #ffffff; }

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--gold-400); }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.section-head .lead { color: var(--ink-500); font-size: 17px; }
.section-dark .section-head .lead { color: #aab2c8; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px rgba(216, 31, 42, 0.32); }
.btn-primary:hover { background: var(--red-700); }
.btn-gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: #3d2b02; box-shadow: 0 8px 20px rgba(242, 183, 5, 0.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-ghost { background: var(--red-soft); color: var(--red-600); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 28, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand .brand-logo { width: 34px; height: 34px; flex-shrink: 0; }
.brand .brand-dot { color: var(--gold-500); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; min-width: 0; }
.nav-link {
  color: #c7cde0;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.nav-link.active { color: var(--gold-400); background: rgba(242, 183, 5, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold-400); color: var(--gold-400); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(11, 15, 28, 0.96) 0%, rgba(11, 15, 28, 0.82) 42%, rgba(120, 20, 26, 0.55) 100%),
    var(--hero-img, none) center / cover no-repeat, var(--navy-900);
  color: #fff;
  padding: 84px 0 72px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-400);
  border: 1px solid rgba(242, 183, 5, 0.45);
  background: rgba(242, 183, 5, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); margin-bottom: 16px; }
.hero h1 .accent { color: var(--gold-400); }
.hero-sub { color: #d3d8e8; font-size: 17.5px; max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #e6e9f5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 13px;
  border-radius: 999px;
  max-width: 100%;
}
.chip svg { width: 15px; height: 15px; color: var(--green-600); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.hero-card {
  position: absolute;
  left: -14px;
  bottom: -18px;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
}
.hero-card svg { width: 22px; height: 22px; color: var(--green-600); }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 19px; }
.card-title a { color: var(--ink-900); }
.card-text { font-size: 15px; color: var(--ink-500); flex: 1; }
.card-link { font-weight: 700; font-size: 14.5px; }
.card-link::after { content: " \2192"; }

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-600);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 4px 11px;
}
.tag-gold { color: #8a6402; background: var(--gold-soft); }
.tag-green { color: var(--green-600); background: var(--green-soft); }

/* ---------- Keunggulan ---------- */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-soft);
  color: var(--red-600);
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--ink-500); }

/* ---------- Split (mobile / keamanan) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.split h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
.split p { 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; font-size: 15.5px; }
.check-list svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.check-list strong { color: var(--ink-900); }

/* ---------- Ulasan pembaca ---------- */
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review-stars { display: flex; gap: 3px; color: var(--gold-500); }
.review-stars svg { width: 17px; height: 17px; }
.review-text { font-size: 15px; font-style: italic; color: var(--ink-700); flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-who .who-name { font-weight: 700; color: var(--ink-900); font-size: 14.5px; }
.review-who .who-city { font-size: 13px; color: var(--ink-500); }
.review-note { text-align: center; font-size: 13px; color: var(--ink-500); margin-top: 22px; }

/* ---------- Artikel / prose ---------- */
.page-hero { background: var(--navy-900); color: #c7cde0; padding: 40px 0 34px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 10px 0 10px; }
.page-hero .desc { color: #aab2c8; max-width: 780px; font-size: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 60px; align-items: start; }
.article-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 42px); }
.article-hero-img { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px; }
.article-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px; align-items: center; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-500); }
.article-body h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 34px 0 12px; padding-left: 14px; border-left: 4px solid var(--gold-500); }
.article-body h3 { font-size: 19px; margin: 24px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; }
.article-body li { margin-bottom: 7px; }
.article-body img { border-radius: var(--radius-sm); margin: 18px 0; }
.article-body strong { color: var(--ink-900); }

.keypoints {
  background: var(--gold-soft);
  border: 1px solid #f0ddab;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
}
.keypoints h3 { margin: 0 0 10px; font-size: 16.5px; color: #8a6402; }
.keypoints ul { margin: 0; }

.notice {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  border: 1px solid;
}
.notice-info { background: #eef3ff; border-color: #c9d7fb; color: #274086; }
.notice-warn { background: var(--red-soft); border-color: #f3c1c4; color: #8f1f26; }
.notice-green { background: var(--green-soft); border-color: #b9e6d5; color: #0a6a49; }

/* Tabel & daftar spesifikasi */
.table-wrap { overflow-x: auto; margin: 18px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14.5px; min-width: 520px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper); color: var(--ink-900); font-size: 13.5px; }
tr:last-child td { border-bottom: 0; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.spec-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.spec-item dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-600); margin-bottom: 5px; }
.spec-item dd { font-size: 14.5px; color: var(--ink-700); }

/* Sidebar */
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 22px; }
.side-card h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-500); }
.side-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.side-list a { color: var(--ink-700); font-weight: 600; font-size: 14.5px; display: flex; gap: 8px; }
.side-list a::before { content: "\2192"; color: var(--red-600); font-weight: 700; }
.side-list a:hover { color: var(--red-600); text-decoration: none; }
.side-cta { background: var(--navy-900); color: #c7cde0; text-align: center; }
.side-cta h3 { color: #fff; border: 0; }
.side-cta p { font-size: 14px; margin: 8px 0 16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--ink-500); }
.breadcrumb li + li::before { content: "/"; color: var(--ink-500); opacity: 0.6; }
.breadcrumb a { color: var(--ink-500); font-weight: 600; }
.breadcrumb a:hover { color: var(--red-600); }
.breadcrumb [aria-current] { color: var(--ink-900); font-weight: 600; }
.page-hero .breadcrumb a, .page-hero .breadcrumb li, .page-hero .breadcrumb li + li::before { color: #9aa3bd; }
.page-hero .breadcrumb [aria-current] { color: #fff; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 600;
  color: var(--red-600);
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 20px 18px; font-size: 15px; color: var(--ink-500); margin: 0; }

/* ---------- Formulir auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 52px 0 64px; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-500); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 7px; }
.field input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--red-600); background: #fff; }
.field .hint { font-size: 12.5px; color: var(--ink-500); margin-top: 5px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-500); margin: 4px 0 20px; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--red-600); flex-shrink: 0; }
.form-note { font-size: 12.5px; color: var(--ink-500); margin-top: 16px; text-align: center; }
.auth-alt { text-align: center; font-size: 14px; margin-top: 18px; }
.auth-aside { display: grid; gap: 18px; }
.auth-benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.auth-benefit h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.auth-benefit h3 svg { width: 20px; height: 20px; color: var(--red-600); }
.auth-benefit p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* ---------- Pencarian ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 15, 28, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 40px;
}
.search-overlay.open { display: flex; }
.search-panel {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-head svg { width: 20px; height: 20px; color: var(--ink-500); flex-shrink: 0; }
#searchInput {
  flex: 1;
  border: 0;
  outline: none;
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink-900);
  background: transparent;
  min-width: 0;
}
.search-close {
  border: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.search-results { max-height: 320px; overflow-y: auto; }
.search-result { display: block; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: 0; }
.search-result .sr-title { font-weight: 700; color: var(--ink-900); font-size: 15px; }
.search-result .sr-desc { font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.search-result:hover { background: var(--paper); text-decoration: none; }
.search-empty { padding: 18px; font-size: 14px; color: var(--ink-500); text-align: center; }
.search-tags { padding: 16px 18px; background: var(--paper); }
.search-tags .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-cloud-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.tag-cloud-btn:hover { border-color: var(--red-600); color: var(--red-600); }
.search-tags .st-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9aa3bd; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; margin-bottom: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red-600);
  color: #ff8f96;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  color: #c7cde0;
}
.badge-pill svg { width: 15px; height: 15px; color: var(--green-600); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #9aa3bd; font-size: 14px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 12.5px;
  color: #7d859e;
  display: grid;
  gap: 8px;
}
.footer-legal strong { color: #aab2c8; }

/* ---------- Floating CTA (slot & koin emas) ---------- */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(17, 24, 48, 0.98), rgba(11, 15, 28, 0.99));
  border-top: 2px solid var(--gold-500);
  box-shadow: 0 -8px 30px rgba(11, 15, 28, 0.4);
  height: var(--float-h);
  display: flex;
  align-items: center;
}
.float-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}
.float-visual { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.float-visual .coin-a, .float-visual .coin-b { position: absolute; animation: coinFloat 2.6s ease-in-out infinite; }
.float-visual .coin-a { width: 16px; height: 16px; right: -2px; top: -2px; animation-delay: 0.4s; }
.float-visual .coin-b { width: 12px; height: 12px; right: 4px; bottom: -1px; animation-delay: 1.3s; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.float-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; margin-right: auto; overflow: hidden; }
.float-text .ft-title { color: #fff; font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.float-text .ft-sub { color: #9aa3bd; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-cta .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- Utilitas ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    margin: 0;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 15.5px; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 60px; }
  .hero-media { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .article-layout { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --float-h: 62px; --header-h: 62px; }
  body { font-size: 15.5px; }
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .header-actions .btn-ghost-text { display: none; }
  .header-inner { gap: 10px; }
  .brand { font-size: 19px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .hero { padding: 42px 0 48px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-card { left: 10px; bottom: -14px; padding: 10px 13px; font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-text .ft-sub { display: none; }
  .float-text { flex: 0 1 auto; max-width: 92px; }
  .float-text .ft-title { font-size: 14px; }
  .float-inner { gap: 10px; }
  .float-cta .btn { padding: 10px 14px; font-size: 13.5px; flex: 0 0 auto; min-width: 0; }
  .auth-card { padding: 24px 20px; }
  .article-body { padding: 20px 18px; }
  table { min-width: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
