/* ============================================================
   Qqscore88 — Situs Informasi Game Online (Bahasa Indonesia)
   Palet: hijau casino, emas, merah CTA, putih, hitam kehijauan
   ============================================================ */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f3f7f4;
  --c-bg-mist: #e9f1ec;
  --c-ink: #16221c;
  --c-muted: #586a60;
  --c-green-950: #06130d;
  --c-green-900: #0a2e21;
  --c-green-800: #0e4433;
  --c-green-700: #135840;
  --c-green-600: #187b56;
  --c-green-100: #d6eade;
  --c-gold: #e9b817;
  --c-gold-strong: #d4a400;
  --c-gold-soft: #f8e08e;
  --c-red: #c8102e;
  --c-red-dark: #a00d25;
  --c-white: #ffffff;
  --line: #dfe7e1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 19, 13, 0.10);
  --shadow-soft: 0 4px 14px rgba(6, 19, 13, 0.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  padding-bottom: 86px; /* ruang untuk float bar (fixed) */
}

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

a { color: var(--c-green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 { line-height: 1.3; color: var(--c-green-900); overflow-wrap: break-word; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0.4em 0; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 1.6em 0 0.6em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); margin: 1.4em 0 0.5em; }

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

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

/* ============ HEADER ============ */
.top-strip {
  background: var(--c-green-950);
  color: #cfe0d7;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
}
.top-strip .strip-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-gold); color: var(--c-gold);
  border-radius: 50%; width: 26px; height: 26px;
  font-weight: 700; font-size: 0.7rem; flex: none;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--c-green-900);
  border-bottom: 3px solid var(--c-gold);
  box-shadow: 0 4px 18px rgba(6, 19, 13, 0.35);
}
.header-in {
  display: flex; align-items: center; gap: 18px;
  min-height: 66px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-white); font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.01em; flex: none;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name b { color: var(--c-gold); font-weight: 800; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: #e7f0eb; font-weight: 600; font-size: 0.92rem;
  padding: 8px 11px; border-radius: 8px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--c-gold-soft);
}
.header-actions {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex-wrap: wrap;
}
.header-search {
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; padding: 2px 6px 2px 14px;
}
.header-search input {
  background: transparent; border: 0; color: var(--c-white);
  width: 130px; font-size: 0.88rem; padding: 6px 0;
}
.header-search input::placeholder { color: #b9c9c0; }
.header-search input:focus { outline: none; }
.header-search button {
  border: 0; background: var(--c-gold); color: var(--c-green-950);
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; flex: none;
}
.header-search button svg { width: 15px; height: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 9px 20px;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-daftar { background: var(--c-red); color: var(--c-white); box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35); }
.btn-daftar:hover { background: var(--c-red-dark); }
.btn-login { background: transparent; color: var(--c-white); border-color: var(--c-gold); }
.btn-login:hover { background: rgba(233, 184, 23, 0.15); }
.btn-green { background: var(--c-green-700); color: var(--c-white); }
.btn-green:hover { background: var(--c-green-800); }
.btn-gold { background: var(--c-gold); color: var(--c-green-950); }
.btn-gold:hover { background: var(--c-gold-strong); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: var(--c-white); border-radius: 8px; padding: 7px 12px;
  font-size: 1.05rem; cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--c-green-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 19, 13, 0.96) 22%, rgba(6, 19, 13, 0.72) 58%, rgba(10, 46, 33, 0.45) 100%);
}
.hero-in { position: relative; padding: 58px 20px 62px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233, 184, 23, 0.14); border: 1px solid rgba(233, 184, 23, 0.5);
  color: var(--c-gold-soft); font-weight: 600; font-size: 0.8rem;
  border-radius: 999px; padding: 5px 14px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 { color: var(--c-white); max-width: 720px; }
.hero h1 .hl { color: var(--c-gold); }
.hero p.lead {
  color: #dbe7e0; max-width: 640px; font-size: clamp(1rem, 2.2vw, 1.13rem);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-note {
  margin-top: 16px; color: #b9cfc3; font-size: 0.85rem; max-width: 620px;
}
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e3ede7; border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
}
.chip b { color: var(--c-gold); }

/* ============ BREADCRUMB ============ */
.crumbs { background: var(--c-bg-soft); border-bottom: 1px solid var(--line); }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 10px 0; font-size: 0.82rem; color: var(--c-muted);
}
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--c-green-600); font-weight: 700; }
.crumbs a { color: var(--c-green-700); font-weight: 600; }
.crumbs [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

/* ============ SECTIONS ============ */
.section { padding: 46px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-mist { background: var(--c-bg-mist); }
.section-head { max-width: 780px; margin-bottom: 26px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-muted); }
.eyebrow {
  display: inline-block; color: var(--c-green-600); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 6px;
}

/* Cards & grids */
.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: var(--c-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 8px;
}
.card h3 { margin: 4px 0 2px; }
.card p { color: var(--c-muted); font-size: 0.93rem; margin: 0; }
.card .more { font-weight: 700; font-size: 0.9rem; margin-top: auto; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--c-green-800); color: var(--c-gold);
  display: grid; place-items: center; font-size: 1.3rem;
}
.card-link { color: inherit; }
.card-link:hover { text-decoration: none; }
.card-link .card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover .card { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Promo cards */
.promo-card { position: relative; overflow: hidden; }
.promo-tag {
  display: inline-block; background: var(--c-red); color: var(--c-white);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  border-radius: 6px; padding: 3px 10px; text-transform: uppercase;
  width: fit-content;
}
.promo-tag.gold { background: var(--c-gold-strong); }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--c-muted); }
.promo-meta span {
  background: var(--c-bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px;
}

/* Split media + text */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 34px; align-items: center;
}
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.checklist { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-green-800); color: var(--c-gold);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
  margin-top: 4px;
}

/* Testimoni */
.testi-card {
  background: var(--c-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft);
}
.testi-stars { color: var(--c-gold-strong); letter-spacing: 2px; font-size: 0.9rem; }
.testi-card blockquote { margin: 8px 0 14px; font-size: 0.95rem; color: #33463c; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--c-green-800); color: var(--c-gold-soft);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.testi-who b { display: block; font-size: 0.9rem; color: var(--c-green-900); }
.testi-who small { color: var(--c-muted); font-size: 0.78rem; }
.testi-note {
  margin-top: 18px; font-size: 0.78rem; color: var(--c-muted);
  background: var(--c-bg-soft); border: 1px dashed var(--line);
  border-radius: 10px; padding: 10px 14px;
}

/* Kamus / glossary */
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gloss-item {
  background: var(--c-white); border: 1px solid var(--line);
  border-left: 4px solid var(--c-gold);
  border-radius: 10px; padding: 14px 16px;
}
.gloss-item dt { font-weight: 800; color: var(--c-green-900); font-size: 0.95rem; }
.gloss-item dd { margin: 4px 0 0; color: var(--c-muted); font-size: 0.88rem; }

/* Article layout */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 38px; align-items: start;
}
.article-body { min-width: 0; }
.article-body img.hero-img {
  border-radius: var(--radius); box-shadow: var(--shadow); margin: 18px 0;
  aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
}
.meta-line {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  color: var(--c-muted); font-size: 0.82rem; margin: 6px 0 12px;
}
.meta-line .dot { color: var(--c-green-600); }
.article-body h2 { padding-top: 8px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--c-gold);
  background: var(--c-bg-soft); border-radius: 0 10px 10px 0; color: #33463c;
}
.sidebar { display: grid; gap: 20px; position: sticky; top: 92px; }
.side-box {
  background: var(--c-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft);
}
.side-box h3 { margin: 0 0 10px; font-size: 1.02rem; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-box li a { font-size: 0.9rem; font-weight: 600; display: block; padding: 8px 10px; border-radius: 8px; background: var(--c-bg-soft); }
.side-box li a:hover { background: var(--c-bg-mist); text-decoration: none; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border-radius: 10px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--c-white); font-size: 0.9rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--c-green-900); color: var(--c-gold-soft); font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--c-bg-soft); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--c-white); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 15px 18px; font-weight: 700;
  color: var(--c-green-900); display: flex; justify-content: space-between; gap: 14px;
  list-style: none; align-items: center; font-size: 0.97rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-bg-mist); color: var(--c-green-800);
  display: grid; place-items: center; font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; background: var(--c-gold); color: var(--c-green-950); }
.faq-item .faq-a { padding: 0 18px 16px; color: #33463c; font-size: 0.93rem; }

/* Notice boxes */
.notice {
  border-radius: 12px; padding: 16px 18px; margin: 18px 0;
  font-size: 0.92rem; border: 1px solid;
}
.notice b { display: block; margin-bottom: 4px; }
.notice-info { background: #eef5f0; border-color: #c9dfd2; color: #1e3a2c; }
.notice-warn { background: #fdf3e4; border-color: #ecd9ae; color: #5c4408; }
.notice-red { background: #fdeef1; border-color: #f0c4cd; color: #6b1023; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(1100px 400px at 15% -40%, rgba(233, 184, 23, 0.22), transparent 60%),
    linear-gradient(120deg, var(--c-green-950), var(--c-green-800));
  color: var(--c-white); border-radius: 18px;
  padding: 34px 30px; display: flex; gap: 24px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--c-white); margin: 0 0 6px; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.cta-band p { color: #cfe0d7; margin: 0; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Forms */
.form-card {
  background: var(--c-white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
  padding: 30px; max-width: 520px; margin: 0 auto;
}
.form-card h1 { font-size: 1.5rem; margin: 0 0 4px; }
.form-card .sub { color: var(--c-muted); font-size: 0.9rem; margin-bottom: 18px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--c-green-900); }
.field input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 0.95rem; font-family: var(--font);
  background: var(--c-bg-soft); color: var(--c-ink);
}
.field input:focus { outline: none; border-color: var(--c-green-600); background: var(--c-white); }
.form-note { font-size: 0.78rem; color: var(--c-muted); margin-top: 14px; }
.wide-block { max-width: 560px; margin: 0 auto; }

/* Search page */
.search-hero { text-align: center; padding: 46px 0 8px; }
.big-search {
  display: flex; max-width: 620px; margin: 20px auto 10px;
  border: 2px solid var(--c-green-800); border-radius: 999px;
  overflow: hidden; background: var(--c-white); box-shadow: var(--shadow-soft);
}
.big-search input { flex: 1; border: 0; padding: 13px 20px; font-size: 1rem; min-width: 0; background: transparent; }
.big-search input:focus { outline: none; }
.big-search button {
  border: 0; background: var(--c-green-800); color: var(--c-white);
  padding: 0 26px; font-weight: 700; cursor: pointer; font-size: 0.95rem;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 8px; }
.tag-cloud a {
  background: var(--c-white); border: 1px solid var(--line);
  color: var(--c-green-800); border-radius: 999px; padding: 7px 16px;
  font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-soft);
}
.tag-cloud a:hover { background: var(--c-bg-mist); text-decoration: none; border-color: var(--c-green-600); }
.search-results { max-width: 760px; margin: 26px auto 0; display: grid; gap: 14px; text-align: left; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-green-950); color: #b9cfc3;
  border-top: 3px solid var(--c-gold); margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px; padding: 44px 20px 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--c-white); font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.footer-brand svg { width: 30px; height: 30px; }
.site-footer h4 { color: var(--c-gold-soft); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer p { font-size: 0.86rem; color: #9fb5aa; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #cfe0d7; font-size: 0.88rem; }
.site-footer ul a:hover { color: var(--c-gold-soft); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px; text-align: center; font-size: 0.78rem; color: #8aa396;
}
.footer-legal .legal-line { max-width: 980px; margin: 0 auto 8px; }
.footer-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.fbadge {
  border: 1.5px solid #4c6a5c; color: #cfe0d7; border-radius: 8px;
  padding: 4px 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
}
.fbadge.gold { border-color: var(--c-gold); color: var(--c-gold-soft); }

/* ============ FLOAT BAR (slot & koin) ============ */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, #0d3527, var(--c-green-950));
  border-top: 2px solid var(--c-gold);
  box-shadow: 0 -8px 26px rgba(6, 19, 13, 0.45);
}
.float-in {
  display: flex; align-items: center; gap: 14px;
  max-width: 1150px; margin: 0 auto; padding: 9px 16px;
}
.float-slot { flex: none; width: 54px; height: 54px; }
.float-slot .reel { animation: reelSpin 2.6s ease-in-out infinite; transform-origin: center; }
.float-slot .reel2 { animation-delay: 0.4s; }
.float-slot .reel3 { animation-delay: 0.8s; }
.float-slot .coin { animation: coinPop 2.2s ease-in-out infinite; transform-origin: center; }
.float-slot .coin2 { animation-delay: 1.1s; }
@keyframes reelSpin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes coinPop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-3px); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .float-slot .reel, .float-slot .coin { animation: none; }
}
.float-text { min-width: 0; }
.float-text b { display: block; color: var(--c-white); font-size: 0.92rem; line-height: 1.3; }
.float-text small { color: #a8c2b5; font-size: 0.72rem; line-height: 1.35; display: block; }
.float-actions { display: flex; gap: 10px; margin-left: auto; flex: none; }
.fbtn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 10px 22px;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.01em;
  border: 2px solid transparent;
}
.fbtn-daftar {
  background: linear-gradient(180deg, #e33b58, var(--c-red));
  color: var(--c-white); box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}
.fbtn-login {
  background: linear-gradient(180deg, var(--c-gold-soft), var(--c-gold));
  color: var(--c-green-950); box-shadow: 0 4px 14px rgba(233, 184, 23, 0.35);
}
.fbtn:hover { text-decoration: none; transform: translateY(-1px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    display: none; order: 5; width: 100%;
    flex-direction: column; gap: 2px; padding: 8px 0 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 1rem; }
  .header-search { order: 4; width: 100%; margin: 4px 0; }
  .header-search input { width: 100%; flex: 1; }
  .header-actions { width: 100%; }
  .brand { margin-right: auto; }
  .header-in { gap: 10px; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gloss { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-in { padding: 40px 20px 44px; }
  .float-in { gap: 10px; padding: 8px 12px; }
  .float-slot { width: 44px; height: 44px; }
  .float-text b { font-size: 0.8rem; }
  .float-text small { font-size: 0.64rem; }
  .float-actions { flex-direction: column; gap: 6px; }
  .fbtn { padding: 7px 16px; font-size: 0.78rem; }
  body { padding-bottom: 108px; }
  .btn { padding: 9px 16px; }
  .section { padding: 34px 0; }
  .cta-band { padding: 26px 20px; }
  .crumbs { font-size: 0.76rem; }
}
@media (max-width: 460px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}
