/* Dewi188 — portal informasi permainan kasino online
   Palet: hijau tua (brand), krem/putih (konten), emas (aksen), merah (-badge 18+), hitam kehijauan (footer) */

:root {
  --ink: #14201b;
  --ink-soft: #4c5b54;
  --paper: #f6f7f4;
  --card: #ffffff;
  --line: #e3e7e1;
  --green-950: #07120d;
  --green-900: #0a2e21;
  --green-800: #0a3d2c;
  --green-700: #0e5741;
  --green-100: #dbe9e0;
  --gold: #e9b949;
  --gold-strong: #d9a427;
  --gold-soft: #f7e3b0;
  --red: #c0392b;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(10, 46, 33, 0.25);
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.3rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 880px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------------------------------------------------------------- tombol -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.68em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-strong) 100%); color: var(--green-950); box-shadow: 0 6px 18px -8px rgba(217, 164, 39, 0.8); }
.btn-gold:hover { color: var(--green-950); box-shadow: 0 10px 22px -8px rgba(217, 164, 39, 0.95); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: var(--white); }
.btn-lg { padding: 0.85em 1.7em; font-size: 1.02rem; }
.btn-sm { padding: 0.5em 1em; font-size: 0.88rem; }
.btn-block { width: 100%; }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6em; padding: 0.15em 0.5em; border-radius: 6px;
  background: var(--red); color: var(--white); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.5px; border: 1px solid rgba(255, 255, 255, 0.35);
}
.badge-soft {
  display: inline-flex; padding: 0.2em 0.7em; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #eef3ee; font-size: 0.8rem; font-weight: 600;
}

/* ---------------------------------------------------------------- header -- */
.topbar { background: var(--green-950); color: #cfe0d5; font-size: 0.82rem; }
.topbar-in { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0; flex-wrap: wrap; }
.topbar p { margin: 0; flex: 1 1 auto; min-width: 0; }
.topbar-link { color: var(--gold-soft); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 14px rgba(7, 18, 13, 0.18); }
.header-main { background: linear-gradient(180deg, var(--green-800), var(--green-900)); }
.header-in { display: flex; align-items: center; gap: 1rem; padding: 0.65rem 0; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.2px; }
.brand-name em { font-style: normal; color: var(--gold); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06); color: var(--white); cursor: pointer; margin-left: auto;
}
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-toggle[aria-expanded="true"] .ico:not(.ico-close) { display: none; }

.main-nav { order: 5; flex-basis: 100%; display: none; }
.main-nav.open { display: block; }
.nav-list { list-style: none; margin: 0.3rem 0 0.6rem; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.nav-list a, .nav-drop summary {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.55em 0.85em; border-radius: 8px;
  color: #e8f0ea; text-decoration: none; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.nav-list a:hover, .nav-list a.active { background: rgba(233, 185, 73, 0.16); color: var(--gold-soft); }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; }
.nav-drop summary::-webkit-details-marker { display: none; }
.drop-chev { transition: transform 0.15s ease; }
.nav-drop[open] .drop-chev { transform: rotate(90deg); }
.nav-drop-list {
  list-style: none; margin: 0.25rem 0 0; padding: 0.4rem; border-radius: 10px;
  background: var(--green-950); border: 1px solid rgba(233, 185, 73, 0.25);
  display: flex; flex-direction: column; gap: 0.1rem;
}
.nav-drop-list a { font-size: 0.88rem; font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-search {
  display: flex; align-items: center; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; overflow: hidden; flex: 0 1 200px;
}
.header-search input {
  width: 100%; min-width: 0; border: 0; background: transparent; color: var(--white);
  padding: 0.45em 0.9em; font: inherit; font-size: 0.88rem;
}
.header-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
.header-search input:focus { outline: none; }
.header-search button {
  border: 0; background: transparent; color: var(--gold); padding: 0.4em 0.75em; cursor: pointer; display: inline-flex;
}
.header-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 185, 73, 0.25); }

/* ------------------------------------------------------------- breadcrumb -- */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0.6rem 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.3rem;
  font-size: 0.83rem; color: var(--ink-soft); align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.3rem; }
.bc-sep { width: 0.85em; height: 0.85em; color: #b6c2ba; }

/* ------------------------------------------------------------------ hero -- */
.hero { background: radial-gradient(1100px 500px at 85% -10%, rgba(233, 185, 73, 0.16), transparent 60%), linear-gradient(180deg, var(--green-900), var(--green-800)); color: var(--white); }
.hero-in { display: grid; gap: 1.6rem; padding: 3rem 0 3.2rem; align-items: center; }
.hero-copy .kicker { color: var(--gold-soft); }
.hero-sub { color: #dbe7de; font-size: 1.02rem; max-width: 56ch; }
.hero-fig-main { margin: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid rgba(233, 185, 73, 0.4); box-shadow: var(--shadow); }
.hero-fig-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0 0.8rem; }
.hero-note { color: #b9cdc0; font-size: 0.83rem; margin: 0; }

.kicker {
  display: inline-block; margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700);
}
.kicker-light { color: var(--gold-soft); }

.check-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 0.45rem; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em; width: 1.35em; height: 1.35em;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: 0.8rem;
}
.check-light li::before { background: rgba(233, 185, 73, 0.22); color: var(--gold); }

/* --------------------------------------------------------------- section -- */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: linear-gradient(180deg, var(--green-950), var(--green-900)); color: #e7efe9; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .kicker { color: var(--gold-soft); }

.sec-head { max-width: 760px; margin-bottom: 1.8rem; }
.sec-head p { color: var(--ink-soft); }
.sec-head-light p { color: #c6d6cb; }
.w-limit { max-width: 70ch; }
.center-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: 1.6rem 0 0; }
.center-row.left { justify-content: flex-start; }

.grid-2, .grid-3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }

/* -------------------------------------------------------------- kartu ---- */
.why-card, .testi-card, .promo-card, .read-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: 0 4px 16px -10px rgba(10, 46, 33, 0.18);
}
.why-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--green-100); color: var(--green-800); margin-bottom: 0.7rem;
}
.why-ico .ico { width: 24px; height: 24px; }
.why-card p, .read-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.section-dark .why-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.section-dark .why-card h3 { color: var(--gold-soft); }
.section-dark .why-card p { color: #c6d6cb; }
.section-dark .why-ico { background: rgba(233, 185, 73, 0.15); color: var(--gold); }

.split { display: grid; gap: 1.8rem; align-items: center; }
.split-fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-fig img { width: 100%; height: 100%; object-fit: cover; }
.split-fig-pad { border: 3px solid rgba(233, 185, 73, 0.35); }
.split-body .check-list li { color: var(--ink-soft); }

.testi-card { display: flex; flex-direction: column; gap: 0.6rem; }
.testi-stars { color: var(--gold-strong); letter-spacing: 2px; font-size: 0.95rem; }
.testi-card blockquote { margin: 0; flex: 1; }
.testi-card blockquote p { margin: 0; font-size: 0.95rem; }
.testi-card figcaption { display: flex; align-items: center; gap: 0.7rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--gold-soft);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.testi-card figcaption strong { display: block; font-size: 0.9rem; }
.testi-card figcaption em { font-style: normal; color: var(--ink-soft); font-size: 0.78rem; }

.read-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.read-card h3 { color: var(--green-800); margin-bottom: 0.35rem; }
.read-card { border-top: 3px solid var(--gold); }

/* ---------------------------------------------------------------- promo --- */
.promo-card { display: flex; flex-direction: column; gap: 0.7rem; }
.pc-type {
  align-self: flex-start; padding: 0.18em 0.75em; border-radius: 999px; font-size: 0.75rem;
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold-soft); color: #6b4d0a;
}
.promo-card h2, .promo-card h3 { margin: 0; color: var(--green-800); }
.promo-card > p, .promo-card .pc-body > p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.pc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.5rem; margin-top: auto; }
.pc-fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.5rem 0.7rem; }
.pc-fact span { display: block; font-size: 0.72rem; color: var(--ink-soft); }
.pc-fact strong { font-size: 0.9rem; color: var(--green-800); }
.pc-media { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.pc-media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.promo-list { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.promo-card-list { border-top: 3px solid var(--gold); }
.pc-terms { border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.pc-terms summary {
  list-style: none; cursor: pointer; padding: 0.65em 0.9em; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; color: var(--green-800);
}
.pc-terms summary::-webkit-details-marker { display: none; }
.pc-terms[open] summary { border-bottom: 1px dashed var(--line); }
.pc-terms-body { padding: 0.9rem; }

.table-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); }
.terms-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.9rem; }
@media (max-width: 700px) { .terms-table { min-width: 430px; } }
.terms-table th, .terms-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms-table th { width: 190px; background: var(--paper); color: var(--green-800); white-space: normal; }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- halaman - */
.page-hero { background: linear-gradient(180deg, var(--green-900), var(--green-800)); color: var(--white); }
.page-hero-in { padding: 2.6rem 0 2.4rem; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero .excerpt { color: #dbe7de; max-width: 68ch; font-size: 1.02rem; }
.post-meta { color: #a9bfb1; font-size: 0.82rem; margin: 0.9rem 0 0; }

.hero-fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-fig img { width: 100%; object-fit: cover; aspect-ratio: 21 / 9; }
.hero-fig figcaption { padding: 0.5rem 1rem; font-size: 0.8rem; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

.layout-main { display: grid; gap: 2rem; padding: 2.2rem 0; grid-template-columns: 1fr; }
.layout-main > * { min-width: 0; }
.prose-page { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3.5vw, 2.4rem); box-shadow: 0 6px 20px -14px rgba(10, 46, 33, 0.25); }

.prose h2 { margin-top: 1.7em; color: var(--green-800); padding-bottom: 0.25em; border-bottom: 1px solid var(--green-100); }
.prose h3 { margin-top: 1.4em; color: var(--green-700); }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--gold-strong); }
.prose a { text-decoration: underline; }

.article-fig { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; }
.article-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.article-fig figcaption { font-size: 0.8rem; color: var(--ink-soft); padding: 0.5rem 0 0; background: transparent; text-align: center; }

.long-article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3.5vw, 2.4rem); box-shadow: 0 6px 20px -14px rgba(10, 46, 33, 0.25); }

.side { display: grid; gap: 1.1rem; align-content: start; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.side-box h2 { font-size: 1.05rem; color: var(--green-800); margin-bottom: 0.7rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.side-links a { text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.side-links a:hover { text-decoration: underline; }
.side-note { background: var(--green-100); border-color: var(--green-100); }
.side-note p { font-size: 0.88rem; color: var(--ink-soft); }
.side-note .btn { margin-top: 0.4rem; }

.cta-box {
  margin-top: 2rem; padding: 1.5rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-800), var(--green-900)); color: #e7efe9;
}
.cta-box h2 { color: var(--gold-soft); margin-bottom: 0.3rem; font-size: 1.3rem; }
.cta-box p { color: #c6d6cb; margin-bottom: 1rem; }
.note-box { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid #e5cd85; }
.note-box h2 { font-size: 1.02rem; color: #6b4d0a; margin-bottom: 0.4rem; }
.note-box p { font-size: 0.88rem; color: #5a4a20; margin: 0; }

/* ------------------------------------------------------------------- faq -- */
.faq { display: grid; gap: 0.7rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 0.95em 1.1em; font-weight: 700; font-size: 0.98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; color: var(--green-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform 0.18s ease; color: var(--gold-strong); }
.faq-item[open] .faq-chev { transform: rotate(90deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 0.9em 1.1em; }
.faq-body p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ----------------------------------------------------------------- forms -- */
.layout-auth { display: grid; gap: 1.6rem; padding: 2.2rem 0; grid-template-columns: 1fr; align-items: start; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3.5vw, 2rem); box-shadow: var(--shadow); }
.auth-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.3rem; }
.form-row label { font-weight: 700; font-size: 0.9rem; color: var(--green-800); }
.form-row input {
  width: 100%; padding: 0.7em 0.9em; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font: inherit; background: var(--paper); color: var(--ink);
}
.form-row input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(14, 87, 65, 0.15); background: var(--white); }
.form-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.form-check input { width: 1.15em; height: 1.15em; margin-top: 0.2em; accent-color: var(--green-700); }
.form-note { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--green-100); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; color: var(--green-800); }
.form-note .ico { color: var(--green-700); margin-top: 0.15em; }
.form-note p { margin: 0; font-size: 0.82rem; }
.noscript-note { background: var(--gold-soft); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.85rem; }
.noscript-note a { word-break: break-all; }
.auth-alt { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.auth-side { display: grid; gap: 1.1rem; }
.step-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.8rem; }
.step-list p { margin: 0.15rem 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.step-list strong { color: var(--green-800); font-size: 0.94rem; }

/* ----------------------------------------------------------------- cari --- */
.search-big { display: flex; gap: 0.6rem; margin: 2rem 0; }
.search-big input {
  flex: 1; min-width: 0; padding: 0.85em 1.1em; border-radius: 999px; border: 2px solid var(--line);
  font: inherit; background: var(--white); box-shadow: var(--shadow);
}
.search-big input:focus { outline: none; border-color: var(--green-700); }
.tag-cloud, .search-results, .all-pages { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.4rem; }
.tag-cloud h2, .search-results h2, .all-pages h2 { font-size: 1.1rem; color: var(--green-800); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-block; padding: 0.35em 0.95em; border-radius: 999px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; color: var(--green-800);
}
.tag:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.page-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.page-list li { border-bottom: 1px dashed var(--line); padding-bottom: 0.7rem; }
.page-list li:last-child { border-bottom: 0; }
.page-list a { font-weight: 700; text-decoration: none; }
.page-list a:hover { text-decoration: underline; }
.page-list span { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.result-item { padding: 0.9rem 0; border-bottom: 1px dashed var(--line); }
.result-item:last-child { border-bottom: 0; }
.result-item a { font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.result-item a:hover { text-decoration: underline; }
.result-item p { margin: 0.25rem 0 0; font-size: 0.87rem; color: var(--ink-soft); }
.search-empty { color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------------ 404 --- */
.nf { text-align: center; padding: 4rem 0; }
.nf .kicker { font-size: 1.4rem; color: var(--gold-strong); }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding: 0; margin: 1.4rem 0 0; }
.nf-links a { display: inline-block; padding: 0.45em 1.1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.nf-links a:hover { border-color: var(--green-700); }

/* --------------------------------------------------------------- footer --- */
.site-footer { background: var(--green-950); color: #c9d9ce; margin-top: 3.5rem; }
.footer-grid { display: grid; gap: 1.8rem; padding: 2.8rem 0 2rem; grid-template-columns: 1fr; }
.footer-brand p { font-size: 0.9rem; color: #a9bfb1; margin: 0.9rem 0; max-width: 46ch; }
.footer-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-col h3 { color: var(--gold-soft); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-col a { color: #d6e3da; text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-compliance { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.4rem 0; background: rgba(0, 0, 0, 0.25); }
.footer-compliance p { font-size: 0.8rem; color: #9db4a6; margin: 0 0 0.6rem; max-width: 105ch; }
.footer-compliance strong { color: #d6e3da; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1rem 0; }
.footer-bottom-in { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: #8fa79a; }
.footer-bottom a { color: var(--gold-soft); }

/* ----------------------------------------------------- floating CTA bar --- */
.float-cta {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0.7rem; z-index: 70;
  width: min(100% - 1.4rem, 640px);
  display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0.7rem;
  background: linear-gradient(135deg, #0d3527 0%, #071e15 100%);
  border: 2px solid rgba(233, 185, 73, 0.55); border-radius: 16px;
  box-shadow: 0 14px 34px -10px rgba(7, 18, 13, 0.65);
}
.float-visual { position: relative; flex: none; display: flex; align-items: center; }
.float-reels { display: flex; gap: 3px; background: var(--green-950); padding: 4px; border-radius: 9px; border: 1px solid rgba(233, 185, 73, 0.4); }
.reel { width: 30px; height: 30px; border-radius: 6px; background: linear-gradient(180deg, #fdf6e3, #f3e3bb); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.reel-sym { width: 22px; height: 22px; animation: reel-bob 3.2s ease-in-out infinite; }
.r2 .reel-sym { animation-delay: 0.4s; }
.r3 .reel-sym { animation-delay: 0.8s; }
@keyframes reel-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
.float-coin { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a8, #d9a427 70%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
.float-coin.c1 { width: 14px; height: 14px; top: -7px; right: -6px; }
.float-coin.c2 { width: 9px; height: 9px; top: 14px; right: -13px; animation: reel-bob 2.4s ease-in-out infinite; }
.float-copy { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.float-copy strong { display: block; color: var(--gold-soft); font-size: 0.95rem; font-family: Georgia, serif; }
.float-copy span { color: #b9cdc0; font-size: 0.72rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-actions { display: flex; gap: 0.5rem; flex: none; }
.float-actions .btn { padding: 0.55em 1.15em; font-size: 0.88rem; }

/* ------------------------------------------------------------- responsive - */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .read-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-in { grid-template-columns: 1.05fr 0.95fr; padding: 3.4rem 0; }
  .layout-auth { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .read-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .layout-main { grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr); padding: 2.6rem 0; }

  .nav-toggle { display: none; }
  .main-nav { order: 0; flex-basis: auto; display: block !important; }
  .nav-list { flex-direction: row; gap: 0.15rem; margin: 0; flex-wrap: wrap; }
  .nav-list a, .nav-drop summary { padding: 0.5em 0.8em; font-size: 0.92rem; }
  .nav-drop-list {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; z-index: 80;
    box-shadow: 0 18px 40px -12px rgba(7, 18, 13, 0.6);
  }
  .header-actions { margin-left: 0; }
}

@media (max-width: 420px) {
  .float-copy span { display: none; }
  .float-cta { gap: 0.6rem; padding: 0.5rem; bottom: 0.5rem; }
  .float-actions { flex-direction: column; gap: 0.35rem; }
  .float-actions .btn { padding: 0.5em 1em; font-size: 0.85rem; }
  .reel { width: 24px; height: 24px; }
  .reel-sym { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-sym, .float-coin { animation: none; }
  .btn, .drop-chev, .faq-chev { transition: none; }
}

@media print {
  .site-header, .float-cta, .site-footer, .topbar { display: none; }
  body { background: #fff; }
}
