/* ============================================================
   Bandarbola855 — main.css
   Gaya: media informasi kasino, gelap, aksen merah & emas
   ============================================================ */

:root {
  --bg: #0b0e15;
  --bg-2: #101523;
  --panel: #141b2b;
  --panel-2: #1a2336;
  --line: #27334c;
  --line-soft: #1f2940;
  --text: #eef2f8;
  --muted: #9daac2;
  --muted-2: #76839c;
  --red: #e2372f;
  --red-2: #ff5548;
  --red-deep: #b3241e;
  --gold: #f2c24b;
  --gold-2: #ffdd88;
  --green: #35c47f;
  --blue: #5b93ff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

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

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -8%, rgba(226, 55, 47, 0.16), transparent 60%),
    radial-gradient(900px 460px at -10% 12%, rgba(242, 194, 75, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #1a1205; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700; z-index: 300;
}
.skip-link:focus { left: 0; color: #1a1205; }

::selection { background: rgba(226, 55, 47, 0.55); color: #fff; }

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

/* ============ Topbar + Header ============ */
.topbar {
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  font-size: 12.5px; color: #ffe9e2; border-bottom: 1px solid rgba(0,0,0,.25);
}
.topbar-in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding-top: 6px; padding-bottom: 6px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-item strong { color: #fff; }
.topbar-badge {
  background: #fff; color: var(--red-deep); font-weight: 800; border-radius: 6px;
  padding: 0 7px; font-size: 11.5px; letter-spacing: .4px;
}

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(11, 14, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-badge {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 1px solid rgba(242, 194, 75, 0.55);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 14px rgba(226,55,47,.35);
}
.brand-badge i { color: var(--gold); font-style: normal; font-size: 12px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .3px; color: #fff; }
.brand-name i { font-style: normal; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 9px 12px; border-radius: 9px; white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: var(--panel-2); }
.nav-links a[aria-current="page"] { color: var(--gold); background: rgba(242,194,75,.09); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer;
  display: inline-grid; place-items: center; flex: 0 0 40px;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-burger { display: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  border-radius: 11px; padding: 11px 22px; cursor: pointer;
  border: 1px solid transparent; line-height: 1.25; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(160deg, var(--gold-2), var(--gold) 55%, #d9a52e);
  color: #221605; box-shadow: 0 6px 18px rgba(242, 194, 75, 0.28);
}
.btn-primary:hover { color: #221605; filter: brightness(1.06); box-shadow: 0 8px 22px rgba(242,194,75,.4); }
.btn-red {
  background: linear-gradient(160deg, var(--red-2), var(--red) 55%, var(--red-deep));
  color: #fff; box-shadow: 0 6px 18px rgba(226, 55, 47, 0.3);
}
.btn-red:hover { color: #fff; filter: brightness(1.07); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ============ Main / sections ============ */
main { flex: 1 0 auto; }
.section { padding: 58px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.section-title { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.25; color: #fff; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 15.5px; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,21,.55) 0%, rgba(11,14,21,.86) 62%, var(--bg) 100%),
              radial-gradient(700px 340px at 18% 30%, rgba(226,55,47,.25), transparent 65%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 66px 0 58px; }
.hero-copy .kicker::before { width: 30px; }
.hero-title { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.16; color: #fff; margin: 6px 0 16px; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-title .accent { color: #ff7a70; }
.hero-lead { color: #cfd8e6; font-size: 16.5px; max-width: 560px; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags .tag { font-size: 12.5px; }

.hero-figure { position: relative; }
.hero-figure img {
  border-radius: 18px; border: 1px solid rgba(242,194,75,.35);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.hero-figure::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 130px; height: 130px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  border-radius: 0 22px 0 0; opacity: .5; pointer-events: none;
}
.hero-note {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(11,14,21,.82); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}

/* ============ Tags / chips ============ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px; padding: 5px 13px;
  font-size: 13px; font-weight: 600;
}
.tag:hover { color: var(--gold); border-color: var(--gold); }
.tag-hot { background: rgba(226,55,47,.12); border-color: rgba(226,55,47,.4); color: #ffb1a8; }
.tag-hot:hover { color: #ffd0c9; border-color: var(--red-2); }

/* ============ Cards & grids ============ */
.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: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242,194,75,.5); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; flex: 0 0 auto; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 18px; color: #fff; line-height: 1.35; }
.card-title a { color: #fff; }
.card-title a:hover { color: var(--gold); }
.card-text { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted-2); }
.card-link { font-weight: 700; font-size: 14px; color: var(--gold); }
.card-link:hover { color: var(--gold-2); }

.cat-dot {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,14,21,.78); backdrop-filter: blur(4px);
  border: 1px solid rgba(242,194,75,.4); color: var(--gold);
  padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
}

/* ============ Icon feature blocks ============ */
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(226,55,47,.14); border: 1px solid rgba(226,55,47,.35);
}
.feature-icon.gold { background: rgba(242,194,75,.12); border-color: rgba(242,194,75,.4); }
.feature-icon.green { background: rgba(53,196,127,.12); border-color: rgba(53,196,127,.4); }
.feature-icon.blue { background: rgba(91,147,255,.12); border-color: rgba(91,147,255,.4); }
.feature h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* split media + list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.check-list li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(53,196,127,.14); border: 1px solid rgba(53,196,127,.4);
  color: var(--green); font-size: 13px; font-weight: 800;
}
.check-list li strong { color: #fff; }

/* ============ Testimonials ============ */
.quote {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote-mark { font-size: 30px; line-height: 1; color: var(--red); font-weight: 800; font-family: Georgia, serif; }
.quote p { color: #cfd8e6; font-size: 14.5px; font-style: italic; flex: 1; }
.quote-user { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 1px solid rgba(242,194,75,.4);
}
.quote-name { font-weight: 700; color: #fff; font-size: 14.5px; }
.quote-role { font-size: 12.5px; color: var(--muted-2); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ============ Glossary ============ */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.term {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.term dt { color: var(--gold); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.term dd { color: var(--muted); font-size: 14px; margin: 0; }

/* ============ Security band ============ */
.sec-band {
  background: linear-gradient(135deg, rgba(91,147,255,.09), rgba(53,196,127,.07));
  border: 1px solid rgba(91,147,255,.28); border-radius: var(--radius);
  padding: 30px 28px;
}
.sec-band h3 { color: #fff; margin-bottom: 6px; }
.sec-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.sec-item { display: flex; gap: 12px; align-items: flex-start; }
.sec-item .ico {
  flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(53,196,127,.13); border: 1px solid rgba(53,196,127,.4); font-size: 18px;
}
.sec-item h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.sec-item p { color: var(--muted); font-size: 13.5px; }

/* ============ Article layout ============ */
.page-hero { padding: 42px 0 10px; }
.page-hero .section-title { margin-bottom: 8px; }
.page-hero .section-sub { max-width: 820px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted-2); margin: 14px 0 6px; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding: 26px 0 64px; }
.article-body { min-width: 0; }
.article-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 26px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { font-size: 12.5px; color: var(--muted-2); padding: 10px 14px; background: var(--panel); }

.prose { color: #d5dce8; font-size: 16px; }
.prose > p { margin-bottom: 18px; }
.prose h2 {
  color: #fff; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3;
  margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--red);
}
.prose h3 { color: var(--gold); font-size: 18.5px; margin: 26px 0 10px; }
.prose ul, .prose ol { margin: 0 0 18px; color: #c6cfdd; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }

.info-box, .warn-box, .tip-box {
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 22px 0;
  font-size: 14.5px; border: 1px solid;
}
.info-box { background: rgba(91,147,255,.09); border-color: rgba(91,147,255,.35); color: #cfe0ff; }
.warn-box { background: rgba(226,55,47,.1); border-color: rgba(226,55,47,.4); color: #ffd6d1; }
.tip-box { background: rgba(53,196,127,.09); border-color: rgba(53,196,127,.38); color: #d2f5e4; }
.info-box strong, .warn-box strong, .tip-box strong { color: inherit; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
.side-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.side-card h3 { color: #fff; font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--red); }
.side-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.side-links a {
  display: block; padding: 9px 12px; border-radius: 9px; color: var(--muted);
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
}
.side-links a:hover { color: var(--gold); background: var(--panel-2); border-color: var(--line); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============ Breadcrumb ============ */
.breadcrumb { padding: 16px 0 0; font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; color: var(--muted-2); }
.breadcrumb li { display: inline-flex; align-items: center; white-space: nowrap; }
.breadcrumb li + li::before { content: "›"; margin: 0 9px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; font-weight: 700; color: #fff; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; flex: 0 0 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: var(--panel-2); color: var(--gold);
  font-weight: 800; transition: transform .18s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq-item .faq-a { padding: 14px 18px 18px; color: var(--muted); font-size: 14.5px; }

/* ============ Forms ============ */
.form-wrap { max-width: 480px; margin: 0 auto; }
.form-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow);
}
.form-card h1 { font-size: 26px; color: #fff; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: #dfe6f0; margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field input[type="search"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 15px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font);
}
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(242,194,75,.15); }
.field-hint { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.checkline input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 16px; }
.form-note {
  margin-top: 18px; padding: 13px 15px; border-radius: 10px; font-size: 12.5px;
  background: rgba(91,147,255,.08); border: 1px solid rgba(91,147,255,.3); color: #c4d6f7;
}
.form-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ============ Promo ============ */
.promo-card { position: relative; }
.promo-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(150deg, var(--gold-2), var(--gold));
  color: #221605; font-weight: 800; font-size: 12px; letter-spacing: .3px;
  border-radius: 8px; padding: 4px 10px;
}
.promo-terms { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.promo-terms li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); }
.promo-terms li::before { content: "•"; color: var(--gold); font-weight: 800; }

.terms-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 22px 0; }
.terms-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.terms-table th, .terms-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.terms-table th { background: var(--panel-2); color: #fff; font-size: 13px; letter-spacing: .4px; }
.terms-table td { color: var(--muted); vertical-align: top; }
.terms-table td:first-child { color: var(--gold); font-weight: 700; white-space: nowrap; }
.terms-table tr:last-child td { border-bottom: none; }

/* ============ Search overlay ============ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start;
  padding: 90px 20px 30px; background: rgba(7, 9, 14, 0.9); backdrop-filter: blur(6px);
  overflow-y: auto;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 640px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.search-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--line-soft); }
.search-head svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 18px; }
#searchInput {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 16px; padding: 12px 0; font-family: var(--font);
}
.search-close { border: none; background: var(--panel-2); color: var(--muted); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 16px; font-weight: 700; }
.search-close:hover { color: #fff; background: var(--red); }
.search-body { padding: 18px; }
.search-label { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-2); margin: 4px 0 10px; }
#searchResults { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 8px; }
#searchResults a {
  display: block; padding: 11px 13px; border-radius: 10px; background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
#searchResults a:hover { border-color: var(--gold); }
#searchResults .sr-title { color: #fff; font-weight: 700; font-size: 14.5px; }
#searchResults .sr-desc { color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.search-empty { color: var(--muted); font-size: 14px; padding: 8px 2px; }

/* ============ Float CTA (slot + coins) ============ */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: linear-gradient(180deg, rgba(20, 27, 43, 0.97), rgba(11, 14, 21, 0.99));
  border-top: 1px solid rgba(242, 194, 75, 0.5);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.5);
  padding: 9px 0;
}
.float-cta-in { display: flex; align-items: center; gap: 16px; }

.slotbox {
  flex: 0 0 auto; display: flex; gap: 5px; padding: 6px 8px;
  background: linear-gradient(160deg, #232c44, #141b2b);
  border: 1px solid rgba(242, 194, 75, 0.45); border-radius: 12px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.55);
}
.reel {
  width: 30px; height: 38px; overflow: hidden; border-radius: 7px;
  background: #0d1119; border: 1px solid #2a3550; position: relative;
}
.reel .strip { position: absolute; left: 0; right: 0; top: 0; animation: reelspin 7s linear infinite; }
.reel .strip b {
  display: block; height: 38px; line-height: 38px; text-align: center;
  font-size: 19px; font-weight: 400; font-style: normal;
}
.reel.r2 span { animation-duration: 9s; animation-delay: .4s; }
.reel.r3 span { animation-duration: 8s; animation-delay: .8s; }
@keyframes reelspin {
  0%   { transform: translateY(0); }
  28%  { transform: translateY(-38px); }
  33%  { transform: translateY(-76px); }
  61%  { transform: translateY(-76px); }
  66%  { transform: translateY(-114px); }
  95%  { transform: translateY(-114px); }
  100% { transform: translateY(0); }
}

.coins { position: relative; flex: 0 0 34px; height: 44px; }
.coins i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, #b9861f);
  box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.22);
  animation: coinfloat 3.2s ease-in-out infinite;
}
.coins i:nth-child(1) { width: 20px; height: 20px; left: 8px; top: 16px; }
.coins i:nth-child(2) { width: 15px; height: 15px; left: -2px; top: 4px; animation-delay: .9s; }
.coins i:nth-child(3) { width: 12px; height: 12px; left: 24px; top: 2px; animation-delay: 1.7s; }
@keyframes coinfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.float-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.float-text strong { display: block; color: #fff; font-size: 14.5px; }
.float-btns { display: flex; gap: 10px; flex: 0 0 auto; }
.float-btns .btn { padding: 10px 22px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coins i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Footer ============ */
.site-footer {
  margin-top: auto; background: #090c12; border-top: 1px solid var(--line);
  padding: 52px 0 118px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 36px; }
.footer-brand p { color: var(--muted-2); font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.footer-h { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--muted-2); font-size: 13.5px; }
.footer-links a:hover { color: var(--gold); }
.footer-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge-18 {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--red); color: #ff8d84; font-weight: 800; font-size: 13px;
}
.badge-yes { border-color: var(--green); color: var(--green); }

.footer-compliance {
  margin-top: 40px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted-2); line-height: 1.75;
}
.footer-compliance strong { color: #dfe6f0; }
.footer-bottom {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted-2);
}

/* ============ Utilities ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 34px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.lead { font-size: 17px; color: #cfd8e6; }
.small { font-size: 13px; color: var(--muted-2); }
.pill { display:inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-red { background: rgba(226,55,47,.15); color: #ff9d94; border: 1px solid rgba(226,55,47,.4); }
.pill-green { background: rgba(53,196,127,.13); color: #7fe0b4; border: 1px solid rgba(53,196,127,.4); }
.pill-gold { background: rgba(242,194,75,.12); color: var(--gold); border: 1px solid rgba(242,194,75,.4); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-burger { display: inline-grid; }
  .nav-actions .btn { display: none; }
  .hero-in { grid-template-columns: 1fr; padding: 44px 0 46px; }
  .hero-figure::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sec-band-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .glossary { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .topbar-in { justify-content: center; }
  .float-cta-in { gap: 10px; }
  .coins { display: none; }
  .float-text { font-size: 12px; }
  .float-text strong { font-size: 13px; }
  .float-btns { gap: 8px; }
  .float-btns .btn { padding: 9px 16px; font-size: 13px; }
  .slotbox { padding: 4px 6px; gap: 4px; }
  .reel { width: 26px; height: 38px; border-radius: 6px; }
  .reel .strip b { font-size: 16px; }
  .form-card { padding: 26px 20px; }
  .search-overlay { padding-top: 70px; }
}

@media (max-width: 400px) {
  .float-text { display: none; }
  .float-cta-in { justify-content: space-between; }
}
