/* ============================================================
   Kilat69 — Portal Informasi Permainan (Indonesia)
   Stylesheet utama — mobile-first, responsif penuh
   ============================================================ */

:root {
  --red: #d8232a;
  --red-dark: #a5161c;
  --red-soft: #fdeff0;
  --gold: #f7b500;
  --gold-dark: #c58c00;
  --gold-soft: #fff7e0;
  --ink: #14161f;
  --ink-2: #3d4350;
  --muted: #6b7280;
  --paper: #ffffff;
  --bg: #f6f7f9;
  --green: #0e9f6e;
  --green-soft: #e8f7f1;
  --blue: #2563eb;
  --blue-soft: #ecf2fe;
  --line: #e6e8ec;
  --shadow: 0 6px 24px rgba(20, 22, 31, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 22, 31, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 64px;
  --floatbar-h: 108px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(var(--floatbar-h) + 12px);
}

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

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 0.5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; overflow-wrap: break-word; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 300;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(20, 22, 31, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 9px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(247, 181, 0, 0.55);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name {
  font-size: 1.22rem; font-weight: 800; letter-spacing: 0.4px; color: #fff;
}
.brand-name span { color: var(--gold); }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  color: #d6d9e2; font-weight: 600; font-size: 0.92rem;
  padding: 8px 11px; border-radius: 8px;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.09); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); background: rgba(247, 181, 0, 0.1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: flex; }
.header-auth { display: none; }
.btn-header {
  padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 0.85rem;
  border: none; cursor: pointer; font-family: var(--font);
}
.btn-header.primary { background: var(--gold); color: var(--ink); }
.btn-header.primary:hover { background: #ffc82e; }
.btn-header.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-header.ghost:hover { border-color: #fff; }

/* Mobile menu panel */
.mobile-nav {
  display: none; border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #14161f; padding: 8px 0 14px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block; color: #d6d9e2; font-weight: 600; padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav a:hover { color: var(--gold); text-decoration: none; }
.mobile-nav .mobile-auth { display: flex; gap: 10px; padding: 14px 16px 4px; }
.mobile-nav .mobile-auth a {
  flex: 1; text-align: center; border-radius: 9px; padding: 11px; border: none;
}
.mobile-nav .mobile-auth .m-daftar { background: var(--gold); color: var(--ink); }
.mobile-nav .mobile-auth .m-masuk { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px;
  font-weight: 800; font-size: 0.95rem; font-family: var(--font);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(216, 35, 42, 0.35); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(247, 181, 0, 0.4); }
.btn-gold:hover { background: #ffc82e; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.87rem; }

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

/* ============ Hero (beranda) ============ */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(247, 181, 0, 0.16), transparent 60%),
    linear-gradient(165deg, #14161f 0%, #1d2130 55%, #23283c 100%);
  color: #d6d9e2; padding: 44px 0 52px; overflow: hidden;
}
.hero-grid { display: grid; gap: 30px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247, 181, 0, 0.12); color: var(--gold);
  border: 1px solid rgba(247, 181, 0, 0.4);
  padding: 6px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.4px; margin-bottom: 16px;
}
.hero h1 { color: #fff; font-size: 1.9rem; margin-bottom: 14px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.02rem; max-width: 34em; color: #c3c8d4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e6e8ee; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(20, 22, 31, 0.85); backdrop-filter: blur(4px);
  border: 1px solid rgba(247, 181, 0, 0.5); color: #fff;
  padding: 8px 14px; border-radius: 10px; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.hero-badge svg { width: 15px; height: 15px; }

/* ============ Section umum ============ */
.section { padding: 40px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 46em; margin-bottom: 24px; }
.section-kicker {
  color: var(--red); font-weight: 800; font-size: 0.8rem; letter-spacing: 1.4px;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: 1.5rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Kartu keunggulan */
.grid-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 23px; height: 23px; }
.card-icon.red { background: var(--red-soft); color: var(--red); }
.card-icon.gold { background: var(--gold-soft); color: var(--gold-dark); }
.card-icon.green { background: var(--green-soft); color: var(--green); }
.card-icon.blue { background: var(--blue-soft); color: var(--blue); }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Kartu jalur baca / kategori */
.path-card { display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.path-card .path-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--red); background: var(--red-soft);
  padding: 4px 10px; border-radius: 999px;
}
.path-card h3 a { color: var(--ink); }
.path-card p { flex: 1; }
.path-link { font-weight: 800; font-size: 0.9rem; color: var(--red); }
.path-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(247, 181, 0, 0.16), transparent 70%);
  border-radius: 50%;
}

/* Ulasan ilustratif */
.review-card { position: relative; }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 8px; }
.review-quote { font-size: 0.95rem; color: var(--ink-2); font-style: italic; margin-bottom: 12px; }
.review-meta { font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.review-note {
  margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid #f2dfa4;
  font-size: 0.83rem; color: #7a5c00; display: flex; gap: 10px; align-items: flex-start;
}
.review-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; }

/* Blok keamanan */
.security-band {
  background: linear-gradient(150deg, #10233c, #1a3a63);
  color: #d9e2f2; border-radius: var(--radius); padding: 30px 24px;
  display: grid; gap: 20px;
}
.security-band h2, .security-band h3 { color: #fff; }
.security-band p { color: #b9c6da; }
.band-warm { background: linear-gradient(150deg, #2a1e05, #4a3408); color: #eadfc4; }
.band-warm p { color: #d8c9a1; }
.band-warm .sec-list .ico { background: rgba(247, 181, 0, 0.18); color: #ffd97a; }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sec-list li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.sec-list .ico {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
  background: rgba(37, 99, 235, 0.25); color: #9dc0ff;
  display: flex; align-items: center; justify-content: center;
}
.sec-list .ico svg { width: 17px; height: 17px; }
.sec-list strong { color: #fff; }

/* Langkah VIP / promosi */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; align-items: start; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ============ Artikel ============ */
.article-layout { display: grid; gap: 28px; }
.article-media img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover;
  box-shadow: var(--shadow);
}
.article-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.82rem; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; }
.article-body h2 { font-size: 1.28rem; margin-top: 1.4em; }
.article-body h3 { font-size: 1.08rem; margin-top: 1.2em; }
.article-cta-box {
  margin-top: 26px; background: var(--red-soft); border: 1px solid #f3c4c6;
  border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.92rem;
}
.article-cta-box strong { color: var(--red-dark); }

/* Sidebar */
.sidebar { display: grid; gap: 16px; align-content: start; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.side-box h3 { font-size: 1rem; padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 12px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links a {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px;
  color: var(--ink-2); font-weight: 600; font-size: 0.9rem;
}
.side-links a:hover { background: var(--bg); color: var(--red); text-decoration: none; }
.side-links a::before { content: "›"; color: var(--gold-dark); font-weight: 800; }
.age-badge-side {
  display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ink-2);
}
.age-18 {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--gold);
}

/* ============ Kategori hero strip ============ */
.page-hero { background: linear-gradient(165deg, #14161f, #23283c); color: #d6d9e2; padding: 34px 0 38px; }
.page-hero .section-kicker { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.page-hero p { color: #c3c8d4; max-width: 40em; margin: 0; }
.page-hero .breadcrumb { padding-top: 0; padding-bottom: 10px; }
.page-hero .breadcrumb a { color: #9aa2b5; }
.page-hero .breadcrumb [aria-current="page"] { color: #fff; }
.page-hero .breadcrumb li + li::before { color: #9aa2b5; }

/* ============ Promosi ============ */
.promo-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.promo-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-label {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-dark); border: 1px solid #f2dfa4;
}
.promo-body h3 { font-size: 1.05rem; margin: 0; }
.promo-body p { font-size: 0.9rem; color: var(--muted); margin: 0; flex: 1; }
.promo-valid { font-size: 0.8rem; color: var(--ink-2); font-weight: 700; }
.promo-card .btn { align-self: flex-start; }

/* Tabel ketentuan */
.term-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0 0 1.2em; }
.term-table th, .term-table td {
  text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top;
}
.term-table th { background: var(--bg); color: var(--ink); width: 34%; }
.notice {
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.88rem; margin: 0 0 1.2em;
  display: flex; gap: 10px; align-items: flex-start;
}
.notice svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
.notice.info { background: var(--blue-soft); color: #1e3a8a; border: 1px solid #c8d9fb; }
.notice.warn { background: var(--gold-soft); color: #7a5c00; border: 1px solid #f2dfa4; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 700; color: var(--ink);
  font-size: 0.97rem; position: relative; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 16px 15px; color: var(--ink-2); font-size: 0.93rem; }
.faq-item .faq-a p { margin: 0; }

/* ============ Formulir ============ */
.auth-wrap { display: grid; gap: 24px; }
.auth-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 24px;
}
.auth-card h1 { font-size: 1.45rem; }
.auth-card .lead { color: var(--muted); font-size: 0.95rem; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.form-field input[type="text"], .form-field input[type="email"],
.form-field input[type="tel"], .form-field input[type="password"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 0.95rem; font-family: var(--font); color: var(--ink); background: #fff;
}
.form-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 35, 42, 0.12); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 18px; }
.form-check input { margin-top: 4px; accent-color: var(--red); width: 16px; height: 16px; flex: 0 0 16px; }
.form-note {
  margin-top: 16px; font-size: 0.8rem; color: var(--muted); background: var(--bg);
  border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px;
}
.auth-alt { text-align: center; font-size: 0.9rem; margin-top: 18px; }
.auth-steps { list-style: none; counter-reset: authstep; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.auth-steps li {
  counter-increment: authstep; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; background: var(--bg); border-radius: 10px; font-size: 0.9rem;
}
.auth-steps li::before {
  content: counter(authstep); flex: 0 0 26px; height: 26px; border-radius: 8px;
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ============ Tag awan pencarian populer ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud button {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all 0.12s ease;
}
.tag-cloud button:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* ============ Footer ============ */
.site-footer { background: #101218; color: #9aa2b5; margin-top: 30px; }
.footer-grid { display: grid; gap: 28px; padding: 40px 0 26px; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-desc { font-size: 0.86rem; margin: 12px 0 0; max-width: 36em; }
.footer-col h3 {
  color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--red);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #9aa2b5; font-size: 0.88rem; }
.footer-col a:hover { color: var(--gold); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 6px; }
.f-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; padding: 6px 10px; color: #c3c8d4;
}
.f-badge .b18 { background: var(--red); color: #fff; border-radius: 5px; padding: 1px 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0 20px;
  font-size: 0.78rem; display: grid; gap: 8px;
}
.footer-bottom p { margin: 0; }

/* ============ Floating bar (slot + koin) ============ */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: linear-gradient(90deg, #171a26, #23283c);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}
.floatbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px;
}
.float-visual { display: none; align-items: center; gap: 10px; position: relative; }
.reels { display: flex; gap: 4px; }
.reel {
  width: 30px; height: 38px; border-radius: 7px; overflow: hidden;
  background: #fff; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.reel-track {
  display: flex; flex-direction: column; align-items: center;
  animation: reelspin 1.4s linear infinite;
}
.reel-track span { font-size: 20px; line-height: 1; height: 38px; display: flex; align-items: center; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-38px); }
}
.float-coins { display: flex; gap: 5px; }
.coin {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe083, #f7b500 60%, #c58c00);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  animation: coinfloat 2.2s ease-in-out infinite;
}
.coin:nth-child(2) { animation-delay: 0.4s; }
.coin:nth-child(3) { animation-delay: 0.8s; }
@keyframes coinfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-copy { flex: 1; min-width: 0; }
.float-copy .fb-title { color: #fff; font-weight: 800; font-size: 0.92rem; line-height: 1.25; }
.float-copy .fb-title span { color: var(--gold); }
.float-copy .fb-sub { color: #9aa2b5; font-size: 0.72rem; line-height: 1.35; }
.float-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.btn-float {
  padding: 9px 16px; border-radius: 9px; font-weight: 800; font-size: 0.85rem;
  font-family: var(--font); cursor: pointer; border: none; text-decoration: none;
}
.btn-float.gold { background: linear-gradient(180deg, #ffc82e, var(--gold)); color: var(--ink); box-shadow: 0 3px 10px rgba(247, 181, 0, 0.45); }
.btn-float.gold:hover { background: #ffc82e; text-decoration: none; }
.btn-float.light { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-float.light:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }

/* ============ Search modal ============ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(16, 18, 24, 0.72); backdrop-filter: blur(3px);
  padding: 60px 16px; overflow-y: auto;
}
.search-overlay.open { display: block; }
.search-panel {
  max-width: 640px; margin: 0 auto; background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--ink); position: relative;
}
.search-head svg { width: 19px; height: 19px; color: var(--gold); flex: 0 0 19px; }
#searchInput {
  flex: 1; border: none; background: transparent; color: #fff;
  font-size: 1.02rem; font-family: var(--font); min-width: 0;
}
#searchInput:focus { outline: none; }
.search-close {
  background: rgba(255, 255, 255, 0.1); border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; flex: 0 0 34px;
}
.search-close:hover { background: rgba(255, 255, 255, 0.22); }
.search-body { padding: 18px 16px 20px; }
.search-hot h3 { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.search-results { margin-top: 16px; display: grid; gap: 8px; }
.search-result {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px;
}
.search-result:hover { border-color: var(--red); background: var(--red-soft); text-decoration: none; }
.search-result .sr-tag {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
  background: var(--bg); color: var(--muted); border-radius: 5px; padding: 2px 7px; margin-top: 2px;
}
.search-result .sr-title { font-weight: 700; color: var(--ink); font-size: 0.93rem; }
.search-result .sr-desc { font-size: 0.8rem; color: var(--muted); }
.search-empty { font-size: 0.9rem; color: var(--muted); text-align: center; padding: 18px 0; }

/* ============ Responsif ============ */
@media (min-width: 560px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .hero { padding: 60px 0 68px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero h1 { font-size: 2.55rem; }
  .section { padding: 56px 0; }
  .grid-cards { grid-template-columns: repeat(4, 1fr); }
  .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr 320px; }
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .security-band { grid-template-columns: 1.1fr 1fr; padding: 40px; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .float-visual { display: flex; }
  .floatbar-inner { padding: 12px 20px; }
  .float-copy .fb-title { font-size: 1rem; }
  .float-copy .fb-sub { font-size: 0.78rem; }
  :root { --floatbar-h: 82px; }
}

@media (min-width: 920px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

@media (min-width: 1100px) {
  .header-auth { display: flex; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Cetak & aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .floatbar, .site-header, .search-overlay, .header-actions { display: none !important; }
  body { padding-bottom: 0; }
}
