/*
Theme Name: Vio77
Theme URI: https://vio77.casino/
Description: Tema portal informasi judi online Vio77 - gaya WordPress theme, statis, responsif.
Author: Vio77
Version: 1.0.0
Text Domain: vio77
*/

:root {
  --red: #e0243a;
  --red-dark: #a5122a;
  --red-deep: #7c0d20;
  --gold: #ffc531;
  --gold-dark: #d99a00;
  --green: #22a35f;
  --green-dark: #157a43;
  --blue: #2f7de1;
  --blue-dark: #1c5cb0;
  --black: #0b0e15;
  --bg: #0d1119;
  --bg-2: #111726;
  --card: #161d2e;
  --card-2: #1b2336;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f7;
  --muted: #9aa4b8;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(224, 36, 58, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 240px, rgba(47, 125, 225, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

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

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 3000; background: var(--gold); color: #221600; padding: 8px 14px; border-radius: 8px; }

/* ============ Site Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11, 14, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  background: linear-gradient(90deg, var(--red-deep), var(--red-dark) 40%, var(--gold-dark));
  color: #fff; font-size: 12.5px; text-align: center;
  padding: 5px 14px; letter-spacing: 0.2px;
}
.header-top strong { color: #ffe9b3; }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 900; letter-spacing: 0.5px; color: var(--white); }
.site-logo:hover { text-decoration: none; }
.site-logo .logo-badge {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 900; color: var(--gold);
  box-shadow: 0 4px 14px rgba(224, 36, 58, 0.45);
}
.site-logo .logo-text em { font-style: normal; color: var(--gold); }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-navigation a {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: var(--text); font-weight: 600; font-size: 14.5px; white-space: nowrap;
}
.main-navigation a:hover, .main-navigation .current-menu-item a { background: rgba(255, 197, 49, 0.12); color: var(--gold); text-decoration: none; }

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

/* tombol umum */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 14.5px; line-height: 1.2;
  text-decoration: none !important; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-daftar {
  background: linear-gradient(180deg, #ff4d5e, var(--red) 55%, var(--red-dark));
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(224, 36, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-daftar:hover { filter: brightness(1.08); }
.btn-login {
  background: linear-gradient(180deg, #2ec97a, var(--green) 55%, var(--green-dark));
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(34, 163, 95, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-login:hover { filter: brightness(1.08); }
.btn-gold {
  background: linear-gradient(180deg, #ffd866, var(--gold) 55%, var(--gold-dark));
  color: #2c1d00; border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 18px rgba(255, 197, 49, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* pencarian header */
.search-box { position: relative; }
.search-box input {
  width: 210px; padding: 9px 14px 9px 36px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--font); font-size: 13.5px; outline: none;
}
.search-box input:focus { border-color: var(--gold); }
.search-box .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; font-size: 14px;
}
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 330px; max-width: 86vw;
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 1200; max-height: 340px; overflow: auto;
}
.search-results.active { display: block; }
.search-results a {
  display: block; padding: 9px 11px; border-radius: 9px; color: var(--text);
}
.search-results a:hover, .search-results a.selected { background: rgba(255, 197, 49, 0.12); text-decoration: none; }
.search-results .sr-title { font-weight: 700; font-size: 13.5px; color: var(--gold); }
.search-results .sr-desc { font-size: 12px; color: var(--muted); line-height: 1.45; }
.search-results .sr-empty { padding: 12px; color: var(--muted); font-size: 13px; }

.nav-toggle, .search-toggle {
  display: none; background: var(--card); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 10px;
  width: 42px; height: 42px; font-size: 18px; cursor: pointer;
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,21,0.55), rgba(13,17,25,0.92) 78%, var(--bg)),
              radial-gradient(700px 300px at 80% 20%, rgba(224,36,58,0.28), transparent 65%);
}
.hero-inner { position: relative; padding: 74px 0 66px; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 197, 49, 0.12); border: 1px solid rgba(255, 197, 49, 0.45);
  color: var(--gold); font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px;
  padding: 6px 14px; border-radius: 999px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; letter-spacing: -0.5px; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.hero h1 .hl { color: var(--gold); }
.hero p { font-size: 17px; color: #d7dce8; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
  padding: 6px 13px; border-radius: 999px; font-size: 13px; color: #cdd5e4; font-weight: 600;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ============ Section umum ============ */
.site-main { padding: 46px 0 70px; }
.section { margin: 0 0 54px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: 30px; letter-spacing: -0.3px; }
.section-head h2 .accent { color: var(--gold); }
.section-head .section-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 640px; }
.section-head .head-link { font-weight: 700; font-size: 14px; white-space: nowrap; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--red); background: rgba(224,36,58,0.12);
  border: 1px solid rgba(224,36,58,0.35); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.eyebrow.eyebrow-gold { color: var(--gold); background: rgba(255,197,49,0.1); border-color: rgba(255,197,49,0.4); }
.eyebrow.eyebrow-green { color: #35d47f; background: rgba(34,163,95,0.12); border-color: rgba(34,163,95,0.4); }
.eyebrow.eyebrow-blue { color: #6db1ff; background: rgba(47,125,225,0.12); border-color: rgba(47,125,225,0.4); }

/* grid kartu */
.grid { display: grid; gap: 20px; }
.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: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 197, 49, 0.45); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11, 14, 21, 0.82); color: var(--gold);
  border: 1px solid rgba(255, 197, 49, 0.5);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 18.5px; font-weight: 800; color: var(--white); line-height: 1.35; }
.card-title a { color: inherit; }
.card-text { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-link { font-weight: 700; font-size: 14px; }

/* langkah panduan */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  position: relative; background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 22px;
}
.step-num {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 14px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 2px solid rgba(255, 197, 49, 0.55);
  box-shadow: 0 6px 16px rgba(224, 36, 58, 0.35);
}
.step-card:nth-child(even) .step-num { background: linear-gradient(145deg, var(--green), var(--green-dark)); border-color: rgba(255,255,255,0.25); box-shadow: 0 6px 16px rgba(34,163,95,0.3); }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* highlight merek */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hl-card { display: flex; gap: 15px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.hl-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px;
}
.hl-icon.i-red { background: rgba(224,36,58,0.14); border: 1px solid rgba(224,36,58,0.4); }
.hl-icon.i-gold { background: rgba(255,197,49,0.12); border: 1px solid rgba(255,197,49,0.4); }
.hl-icon.i-green { background: rgba(34,163,95,0.14); border: 1px solid rgba(34,163,95,0.4); }
.hl-icon.i-blue { background: rgba(47,125,225,0.14); border: 1px solid rgba(47,125,225,0.4); }
.hl-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.hl-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* seksi mobile */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: 29px; margin-bottom: 14px; }
.split .lead { color: #cfd6e4; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.feature-list .tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center; font-size: 12px; color: #04240f; font-weight: 900;
  background: linear-gradient(180deg, #2ec97a, var(--green-dark));
}

/* testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { color: #d3d9e6; font-size: 14.5px; font-style: italic; border-left: 3px solid var(--red); padding-left: 14px; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.testi-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); }
.testi-who b { display: block; font-size: 14.5px; }
.testi-who span { font-size: 12.5px; color: var(--muted); }
.testi-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* kalkulator anggaran (seksi inovatif) */
.calc-wrap {
  background:
    radial-gradient(600px 260px at 90% -60px, rgba(47,125,225,0.18), transparent 60%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2); border-radius: 18px; padding: 30px;
}
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.calc-field label { display: block; font-size: 13px; font-weight: 700; color: #cdd5e4; margin-bottom: 7px; }
.calc-field input, .calc-field select {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--font); font-size: 15px; outline: none;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--blue); }
.calc-result {
  margin-top: 20px; border-top: 1px dashed var(--line-2); padding-top: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.calc-box { background: rgba(47,125,225,0.08); border: 1px solid rgba(47,125,225,0.35); border-radius: 12px; padding: 15px 16px; }
.calc-box .num { font-size: 24px; font-weight: 900; color: #7db5ff; line-height: 1.2; }
.calc-box .lbl { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.calc-box.b-warn { background: rgba(224,36,58,0.08); border-color: rgba(224,36,58,0.4); }
.calc-box.b-warn .num { color: #ff7d8d; }
.calc-box.b-ok { background: rgba(34,163,95,0.08); border-color: rgba(34,163,95,0.4); }
.calc-box.b-ok .num { color: #3fda8b; }
.calc-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* keamanan & privasi */
.sec-panel { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.mini-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; }
.mini-item .mi-icon { font-size: 20px; line-height: 1.3; }
.mini-item b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.mini-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* judi bertanggung jawab */
.rg-panel {
  background:
    radial-gradient(500px 220px at 10% -40px, rgba(34,163,95,0.16), transparent 60%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(34,163,95,0.4); border-radius: 18px; padding: 28px;
}
.rg-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.rg-rule { background: rgba(34,163,95,0.07); border: 1px solid rgba(34,163,95,0.3); border-radius: 12px; padding: 16px; }
.rg-rule b { display: block; margin-bottom: 5px; font-size: 15px; }
.rg-rule p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 16px 18px; font-weight: 700; font-size: 15.5px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-x {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,197,49,0.12); color: var(--gold); font-weight: 900; transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-x { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 18px 17px; color: var(--muted); font-size: 14.5px; }
.faq-item .faq-body a { color: #7db5ff; }

/* ============ Breadcrumb ============ */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 7px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: #cdd5e4; font-weight: 600; }

/* ============ Artikel / halaman kategori ============ */
.page-hero { margin-bottom: 34px; }
.page-hero h1 { font-size: 36px; letter-spacing: -0.4px; margin: 10px 0 14px; }
.page-hero .lead { font-size: 16.5px; color: #cfd6e4; max-width: 780px; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); margin: 26px 0 8px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin: 14px 0 6px; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }

.entry-content { font-size: 16px; color: #d9deea; }
.entry-content h2 { font-size: 26px; color: var(--white); margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); }
.entry-content h3 { font-size: 20px; color: var(--white); margin: 28px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; color: #c6cdda; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: #7db5ff; }
.entry-content strong { color: var(--white); }
.entry-content img { border-radius: 12px; margin: 10px 0 18px; border: 1px solid var(--line); }
.entry-content figure { margin: 22px 0; }
.entry-content figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 20px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--card-2); color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td { color: #c6cdda; }

.notice { border-radius: 12px; padding: 15px 18px; font-size: 14px; margin: 0 0 18px; border: 1px solid; }
.notice-info { background: rgba(47,125,225,0.09); border-color: rgba(47,125,225,0.4); color: #bcd6f8; }
.notice-warn { background: rgba(255,197,49,0.08); border-color: rgba(255,197,49,0.45); color: #f4dfa2; }
.notice-danger { background: rgba(224,36,58,0.09); border-color: rgba(224,36,58,0.45); color: #f3b6bd; }
.notice b { color: #fff; }

.article-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.article-nav a {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  color: var(--text); font-weight: 700; font-size: 14.5px; line-height: 1.45;
}
.article-nav a:hover { border-color: var(--gold); text-decoration: none; }
.article-nav a small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.8px; }

/* badge 18+ */
.badge-18 {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--red); color: #ff9aa6; font-weight: 900; font-size: 13px;
  background: rgba(224,36,58,0.1); flex-shrink: 0;
}

/* ============ Form auth ============ */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.auth-card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: #cdd5e4; }
.form-field input, .form-field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--font); font-size: 15px; outline: none;
}
.form-field input:focus, .form-field select:focus { border-color: var(--gold); }
.form-field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.form-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.auth-side .feature-list li { font-size: 14.5px; }

/* ============ Tag cloud pencarian populer ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--card-2); border: 1px solid var(--line-2); color: #cdd5e4;
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; transform: translateY(-2px); }
.tag-cloud a.tag-hot { border-color: rgba(224,36,58,0.55); color: #ff9aa6; background: rgba(224,36,58,0.08); }

/* ============ Site Footer ============ */
.site-footer { background: #090c12; border-top: 1px solid var(--line); }
.footer-widgets { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0 30px; }
.footer-col h3 { font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 15px; }
.footer-col p { color: var(--muted); font-size: 13.5px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col ul a { color: var(--muted); font-size: 13.5px; }
.footer-col ul a:hover { color: var(--gold); }
.footer-about .site-logo { font-size: 22px; margin-bottom: 12px; }
.footer-legal { border-top: 1px solid var(--line); padding: 20px 0 22px; }
.footer-legal .legal-line { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); text-align: center; }
.footer-legal .copy { text-align: center; color: #6f7a90; font-size: 12px; margin-top: 12px; }
.legal-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.legal-chips span {
  border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.legal-chips .c-red { color: #ff8d99; border-color: rgba(224,36,58,0.5); }
.legal-chips .c-green { color: #3fda8b; border-color: rgba(34,163,95,0.5); }
.legal-chips .c-blue { color: #7db5ff; border-color: rgba(47,125,225,0.5); }
.legal-chips .c-gold { color: var(--gold); border-color: rgba(255,197,49,0.5); }

/* ============ Floating bar gaya slot ============ */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  background: linear-gradient(180deg, rgba(20, 12, 16, 0.97), rgba(9, 7, 10, 0.98));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.float-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,197,49,0.05) 0 2px, transparent 2px 46px);
}
.float-inner {
  position: relative; max-width: 1160px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: nowrap;
}
/* mini slot 3 gulungan */
.mini-slot { display: flex; gap: 5px; flex-shrink: 0; }
.reel {
  width: 30px; height: 38px; border-radius: 8px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #23262e, #101218);
  border: 1.5px solid var(--gold);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
}
.reel-strip {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  animation: reelSpin 2.1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.reel-strip span { height: 38px; display: grid; place-items: center; font-size: 19px; line-height: 1; }
.reel:nth-child(2) .reel-strip { animation-duration: 2.7s; animation-delay: 0.3s; }
.reel:nth-child(3) .reel-strip { animation-duration: 3.4s; animation-delay: 0.6s; }
@keyframes reelSpin {
  0% { transform: translateY(0); }
  16% { transform: translateY(-38px); }
  33% { transform: translateY(-76px); }
  50% { transform: translateY(-114px); }
  66% { transform: translateY(-152px); }
  84% { transform: translateY(-190px); }
  100% { transform: translateY(0); }
}
.float-btns { display: flex; gap: 12px; flex: 1; justify-content: center; max-width: 460px; }
.float-btn {
  position: relative; flex: 1; max-width: 220px; padding: 12px 10px; border-radius: 12px;
  font-family: var(--font); font-weight: 900; font-size: 16px; letter-spacing: 1px; text-align: center;
  text-decoration: none !important; overflow: hidden; border: 0; cursor: pointer;
}
.float-btn .shine {
  position: absolute; top: 0; bottom: 0; width: 46px; left: -70px; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shine 2.4s ease-in-out infinite;
}
@keyframes shine { 0% { left: -70px; } 55%, 100% { left: 130%; } }
.float-btn.f-daftar {
  background: linear-gradient(180deg, #ff5364, var(--red) 50%, var(--red-dark));
  color: #fff; border: 1.5px solid rgba(255, 220, 150, 0.8);
  box-shadow: 0 0 18px rgba(224,36,58,0.55), inset 0 2px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  animation: pulseRed 1.8s ease-in-out infinite;
}
.float-btn.f-masuk {
  background: linear-gradient(180deg, #ffd866, var(--gold) 55%, var(--gold-dark));
  color: #2c1d00; border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 16px rgba(255,197,49,0.5), inset 0 2px 0 rgba(255,255,255,0.6);
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 14px rgba(224,36,58,0.45), inset 0 2px 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 0 26px rgba(224,36,58,0.8), inset 0 2px 0 rgba(255,255,255,0.35); }
}
/* efek koin emas meloncat */
.coin {
  position: absolute; bottom: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #b8860b 95%);
  border: 1px solid #a87400;
  box-shadow: 0 0 8px rgba(255,197,49,0.65);
  animation: coinUp 2.6s linear infinite;
  pointer-events: none;
}
.coin::after {
  content: "Rp"; position: inset: 0; display: grid; place-items: center;
  font-size: 7px; font-weight: 900; color: #7a5200;
}
.coin.c1 { left: 7%; animation-delay: 0s; }
.coin.c2 { left: 18%; animation-delay: 0.9s; }
.coin.c3 { left: 81%; animation-delay: 0.4s; }
.coin.c4 { left: 92%; animation-delay: 1.5s; }
.coin.c5 { left: 47%; animation-delay: 2s; }
.coin.c6 { left: 62%; animation-delay: 1.2s; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  18% { opacity: 1; }
  60% { transform: translateY(-46px) scale(1); opacity: 1; }
  100% { transform: translateY(-78px) scale(0.75); opacity: 0; }
}
.float-note {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: #ffce54; letter-spacing: 0.4px;
  max-width: 150px; line-height: 1.3; text-transform: uppercase;
}
@media (max-width: 720px) { .float-note { display: none; } }

/* ============ Responsif ============ */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; order: 3; margin-left: auto; }
  .main-navigation {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0d1119; border-bottom: 1px solid var(--line-2);
    padding: 10px 18px 18px; margin-left: 0;
  }
  .main-navigation.active { display: block; }
  .main-navigation ul { flex-direction: column; gap: 4px; }
  .main-navigation a { padding: 12px 14px; font-size: 15.5px; }
  .header-actions .btn-login { display: none; }
  .search-box { display: none; }
  .search-toggle { display: grid; place-items: center; order: 2; }
  .header-search-mobile { display: none; padding: 12px 18px 16px; background: #0d1119; border-bottom: 1px solid var(--line); }
  .header-search-mobile.active { display: block; }
  .header-search-mobile .search-box { display: block; }
  .header-search-mobile input { width: 100%; }
  .header-search-mobile .search-results { left: 0; right: 0; width: auto; }
  .hero h1 { font-size: 36px; }
  .steps-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .header-search-mobile { display: none !important; } }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .rg-rules { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 48px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 25px; }
}

@media (max-width: 640px) {
  .header-actions .btn-daftar { padding: 9px 14px; font-size: 13px; }
  .site-logo { font-size: 21px; }
  .site-logo .logo-badge { width: 36px; height: 36px; font-size: 15px; }
  .grid-2, .grid-3, .grid-4, .steps-grid, .hl-grid, .mini-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .page-hero h1 { font-size: 26px; }
  .entry-content h2 { font-size: 22px; }
  .entry-content h3 { font-size: 18px; }
  .calc-wrap, .sec-panel, .rg-panel, .auth-card { padding: 20px; }
  .float-inner { gap: 10px; padding: 8px 10px; }
  .mini-slot { display: none; }
  .float-btn { font-size: 15px; padding: 11px 8px; }
  .btn-lg { padding: 13px 22px; font-size: 15px; }
  .hero-cta .btn { width: 100%; }
  .container { padding: 0 16px; }
  .site-main { padding: 34px 0 60px; }
}

/* aksesibilitas: kurangi animasi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
