/* ==========================================================================
   Hoki99 — Main Stylesheet (hoki99.games)
   Palet: hitam-hijau tua · emas · merah · biru · putih (tema kasino, 18+)
   ========================================================================== */

:root {
  --bg: #06120c;
  --bg2: #0a1b12;
  --card: #0e2418;
  --card2: #122c1d;
  --line: rgba(226, 240, 231, 0.13);
  --green: #1fae62;
  --green2: #2fd07a;
  --gold: #f4c14f;
  --gold2: #ffd97a;
  --red: #e8423f;
  --red2: #ff625f;
  --blue: #3f8cff;
  --text: #eef5ef;
  --muted: #9db5a6;
  --dark: #04160d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 480px at 85% -100px, rgba(31, 174, 98, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 12%, rgba(244, 193, 79, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #20160a; font-weight: 700;
  padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ===== Tombol ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 0.98rem; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #241804; box-shadow: 0 6px 18px rgba(244, 193, 79, 0.35); }
.btn--red { background: linear-gradient(180deg, var(--red2), var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(232, 66, 63, 0.35); }
.btn--green { background: linear-gradient(180deg, var(--green2), var(--green)); color: #04170c; box-shadow: 0 6px 18px rgba(31, 174, 98, 0.35); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--lg { padding: 15px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ===== [header.php] ===== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(6, 18, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; padding: 14px 0; }
.site-branding { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.site-title { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: 0.4px; }
.site-title em { font-style: normal; color: var(--gold); }
.site-title:hover { text-decoration: none; }
.brand-tag {
  display: inline-block; margin-left: 6px; padding: 3px 9px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.6px;
  color: var(--gold2); border: 1px solid rgba(244, 193, 79, 0.45); border-radius: 999px;
  white-space: nowrap;
}
.main-navigation { margin-left: auto; }
.nav-menu { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav-menu a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--muted); font-weight: 700; font-size: 0.95rem;
}
.nav-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a { color: var(--gold2); background: rgba(244, 193, 79, 0.1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold2); }
.nav-toggle { display: none; }

/* Pencarian */
.search-bar { border-top: 1px solid var(--line); background: var(--bg2); padding: 14px 0; }
.search-bar-inner { display: flex; flex-direction: column; gap: 10px; }
.search-bar-inner input[type="search"] {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-family: var(--font); font-size: 0.98rem;
}
.search-bar-inner input[type="search"]:focus { outline: 2px solid var(--green); }
.search-results {
  background: var(--card2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.search-results a {
  display: block; padding: 11px 16px; border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: 600; font-size: 0.94rem;
}
.search-results a small { display: block; color: var(--muted); font-weight: 400; }
.search-results a:hover { background: rgba(31, 174, 98, 0.12); text-decoration: none; }
.search-results a:last-child { border-bottom: 0; }
.search-tags { font-size: 0.88rem; color: var(--muted); }
.search-tags a {
  display: inline-block; margin: 3px 4px 3px 0; padding: 4px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: 0.82rem;
}
.search-tags a:hover { border-color: var(--gold); color: var(--gold2); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.72) 0%, rgba(6, 18, 12, 0.86) 62%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0 66px; max-width: 780px; }
.kicker {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(31, 174, 98, 0.16); border: 1px solid rgba(31, 174, 98, 0.5);
  color: var(--green2); font-size: 0.78rem; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.08rem; color: #cfe0d4; max-width: 640px; 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;
  padding: 7px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted);
}
.chip--age { border-color: rgba(232, 66, 63, 0.6); color: var(--red2); font-weight: 800; }

/* ===== Bagian umum ===== */
.section { padding: 62px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); margin: 10px 0 12px; }
.section-head p { color: var(--muted); }
.more-link { font-weight: 700; font-size: 0.92rem; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* Langkah 4 */
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; color: #04170c;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  box-shadow: 0 6px 16px rgba(244, 193, 79, 0.3);
}
.step p { margin-top: 4px; }
.step a { font-size: 0.88rem; font-weight: 700; }

/* Kartu kategori */
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); min-height: 250px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 13, 0) 30%, rgba(4, 22, 13, 0.92) 100%);
}
.cat-info { position: relative; z-index: 2; padding: 20px; width: 100%; }
.cat-info h3 { color: #fff; font-size: 1.12rem; margin-bottom: 4px; }
.cat-info p { color: #c4d6c9; font-size: 0.88rem; margin-bottom: 10px; }
.cat-info .tag-18 { position: absolute; top: 14px; right: 14px; z-index: 2; }
.tag-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; padding: 4px 10px; border-radius: 8px;
  background: rgba(232, 66, 63, 0.92); color: #fff;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.5px;
}

/* Promo */
.promo-card { display: flex; flex-direction: column; gap: 10px; transition: transform .18s, border-color .18s; }
.promo-card:hover { transform: translateY(-3px); border-color: rgba(244, 193, 79, 0.5); }
.promo-thumb { border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
.promo-badge {
  display: inline-block; align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
}
.promo-badge--new { background: rgba(31, 174, 98, 0.18); color: var(--green2); border: 1px solid rgba(31, 174, 98, 0.5); }
.promo-badge--hot { background: rgba(232, 66, 63, 0.16); color: var(--red2); border: 1px solid rgba(232, 66, 63, 0.5); }
.promo-badge--vip { background: rgba(244, 193, 79, 0.16); color: var(--gold2); border: 1px solid rgba(244, 193, 79, 0.5); }
.promo-terms { font-size: 0.82rem; color: var(--muted); }
.promo-terms strong { color: var(--gold2); }

/* Fitur */
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  background: rgba(63, 140, 255, 0.14); border: 1px solid rgba(63, 140, 255, 0.4);
}
.feature-icon--green { background: rgba(31, 174, 98, 0.14); border-color: rgba(31, 174, 98, 0.45); }
.feature-icon--gold { background: rgba(244, 193, 79, 0.14); border-color: rgba(244, 193, 79, 0.45); }
.feature-icon--red { background: rgba(232, 66, 63, 0.14); border-color: rgba(232, 66, 63, 0.45); }

/* Bagian mobile */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #cfe0d4; font-size: 0.97rem; }
.check-list li::before {
  content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 7px; background: rgba(31, 174, 98, 0.18); color: var(--green2);
  border: 1px solid rgba(31, 174, 98, 0.5);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}

/* Testimoni */
.tweet {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.tweet-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: #04170c;
  background: linear-gradient(135deg, var(--gold2), var(--green2));
}
.tweet-name { font-weight: 800; font-size: 0.95rem; }
.tweet-meta { color: var(--muted); font-size: 0.8rem; }
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.tweet p { color: #cfe0d4; font-size: 0.93rem; }
.testi-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 18px; }

/* Kamus istilah */
.glossary { display: grid; gap: 12px; }
.gloss-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.gloss-item summary {
  cursor: pointer; padding: 15px 18px; font-weight: 800; font-size: 0.98rem;
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.gloss-item summary::-webkit-details-marker { display: none; }
.gloss-item summary::before {
  content: "+"; width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  background: rgba(244, 193, 79, 0.15); border: 1px solid rgba(244, 193, 79, 0.45);
  color: var(--gold2); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: transform .2s;
}
.gloss-item[open] summary::before { content: "–"; }
.gloss-body { padding: 0 18px 16px 54px; color: var(--muted); font-size: 0.93rem; }
.gloss-body strong { color: var(--gold2); }

/* Keamanan & RG */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo .card h3 { display: flex; align-items: center; gap: 10px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 800;
  background: rgba(232, 66, 63, 0.16); border: 1px solid rgba(232, 66, 63, 0.55); color: var(--red2);
}
.mini-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 12px 0 18px; }
.mini-list li { padding-left: 20px; position: relative; color: var(--muted); font-size: 0.93rem; }
.mini-list li::before { content: "•"; position: absolute; left: 4px; color: var(--green2); font-weight: 800; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  font-weight: 800; font-size: 1rem; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--gold2); font-size: 1.1rem; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "－"; }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0 0; font-size: 0.85rem; color: var(--muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--green2); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold2); }
.breadcrumb [aria-current="page"] { color: var(--gold2); font-weight: 700; }

/* ===== Artikel / halaman dalam ===== */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.26; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.6), var(--bg));
}
.page-hero-inner { position: relative; z-index: 1; padding: 54px 0 44px; max-width: 840px; }
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 10px 0 14px; }
.page-hero .lead { color: #cfe0d4; font-size: 1.04rem; max-width: 700px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 46px 0 62px; align-items: start; }
.entry-content { min-width: 0; }
.entry-content img { border-radius: var(--radius); border: 1px solid var(--line); margin: 26px 0; }
.entry-content h2 {
  font-size: 1.42rem; margin: 1.9em 0 0.7em; padding-bottom: 0.3em; position: relative;
}
.entry-content h2::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--green));
}
.entry-content h3 { font-size: 1.12rem; margin: 1.5em 0 0.5em; color: var(--gold2); }
.entry-content p { margin-bottom: 1.05em; color: #d7e5da; }
.entry-content ul, .entry-content ol { margin: 0.6em 0 1.1em; color: #d7e5da; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content blockquote {
  border-left: 4px solid var(--green); background: rgba(31, 174, 98, 0.08);
  padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 1.3em 0;
  color: #cfe0d4; font-style: italic;
}
.entry-content table {
  width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.92rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: rgba(31, 174, 98, 0.12); color: var(--gold2); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.6px; }
.entry-content tr:last-child td { border-bottom: 0; }
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  border-radius: 12px; margin: 1.3em 0; font-size: 0.93rem;
}
.notice--info { background: rgba(63, 140, 255, 0.1); border: 1px solid rgba(63, 140, 255, 0.4); }
.notice--warn { background: rgba(232, 66, 63, 0.1); border: 1px solid rgba(232, 66, 63, 0.4); }
.notice--ok { background: rgba(31, 174, 98, 0.1); border: 1px solid rgba(31, 174, 98, 0.4); }

/* Sidebar */
.sidebar { position: sticky; top: 86px; display: grid; gap: 20px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget h2, .widget h3 { font-size: 1rem; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.widget a { color: #cfe0d4; font-weight: 600; font-size: 0.92rem; }
.widget a:hover { color: var(--gold2); }
.widget p { color: var(--muted); font-size: 0.9rem; }

/* ===== Formulir ===== */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 72px; align-items: start; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 0.94rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  font-family: var(--font); font-size: 0.98rem;
}
.field input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 5px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 20px; font-size: 0.88rem; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.auth-alt { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.auth-side h2 { font-size: 1.3rem; margin-bottom: 14px; }
.auth-side p { color: #cfe0d4; margin-bottom: 14px; font-size: 0.97rem; }

/* ===== [footer.php] ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--dark); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 52px 0 34px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.footer-col h3 { font-size: 0.95rem; margin-bottom: 16px; color: var(--gold2); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold2); }
.footer-legal {
  border-top: 1px solid var(--line); padding: 22px 0 90px; font-size: 0.8rem; color: var(--muted);
}
.footer-legal p { margin-bottom: 8px; max-width: 960px; }
.footer-legal .age-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ===== Tombol CTA mengambang (gaya mesin slot + koin) ===== */
.float-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 95; pointer-events: none;
}
.float-cta__inner { position: relative; pointer-events: auto; }
.float-cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 12px; border-radius: 999px; border: 2px solid var(--gold);
  background: linear-gradient(180deg, #a3122c, #6d0a1d 55%, #4a0714);
  box-shadow: 0 0 0 3px rgba(244, 193, 79, 0.28), 0 10px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff; font-weight: 900; font-size: 1rem; letter-spacing: 0.6px;
  text-decoration: none !important; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.float-cta__btn:hover { transform: translateY(-2px) scale(1.02); }
.float-cta__btn:active { transform: translateY(0) scale(0.98); }
.reels { display: inline-flex; gap: 3px; }
.reel {
  width: 22px; height: 22px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, #fff8e1, #ffe9a8 45%, #f4c14f);
  border: 1px solid rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1;
}
.reel span { display: block; animation: reelSpin 2.6s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
.reel:nth-child(2) span { animation-delay: 0.35s; }
.reel:nth-child(3) span { animation-delay: 0.7s; }
@keyframes reelSpin {
  0%, 22% { transform: translateY(0); }
  30%, 52% { transform: translateY(-13px); }
  60%, 82% { transform: translateY(-26px); }
  90%, 100% { transform: translateY(0); }
}
.reel span::after { content: ""; }
.coin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f4c14f 55%, #b98a1e);
  border: 1px solid #b98a1e; pointer-events: none; z-index: 96;
  animation: coinUp 1.5s ease-out forwards;
}
@keyframes coinUp {
  0% { opacity: 0; transform: translateY(0) scale(0.5) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-74px) scale(1.15) rotate(340deg); }
}
@media (prefers-reduced-motion: reduce) {
  .reel span { animation: none; }
  .coin { display: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsif ===== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .entry-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-navigation {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); border-bottom: 1px solid var(--line);
    margin: 0; display: none; padding: 10px 0 16px;
  }
  .main-navigation.is-open { display: block; }
  .nav-menu { flex-direction: column; gap: 2px; padding: 0 4%; }
  .nav-menu a { padding: 12px 14px; font-size: 1.02rem; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .duo { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .header-actions .btn--sm.hide-mobile { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero-inner { padding: 52px 0 46px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .section { padding: 46px 0; }
  .brand-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .gloss-body { padding-left: 18px; }
  .float-cta__btn { font-size: 0.92rem; padding: 9px 18px 9px 10px; }
  .reel { width: 19px; height: 19px; font-size: 11px; }
  .footer-legal { padding-bottom: 96px; }
  .entry-content table { font-size: 0.84rem; }
  .entry-content th, .entry-content td { padding: 10px 10px; }
}

/* Cetak */
@media print {
  .site-header, .float-cta, .search-bar, .sidebar { display: none; }
  body { background: #fff; color: #111; }
}
