/* ============================================================
   Surga5000 — Portal Informasi Permainan (18+)
   Stylesheet utama — responsif ponsel / tablet / desktop
   ============================================================ */

:root {
  --bg: #0b0e13;
  --bg-2: #0e1219;
  --bg-3: #131926;
  --card: #151c29;
  --card-2: #1a2231;
  --line: #253044;
  --line-2: #2f3c55;
  --gold: #f2b632;
  --gold-2: #ffd166;
  --gold-dark: #b57e0a;
  --red: #e5484d;
  --red-2: #ff7a7e;
  --green: #3ecf8e;
  --blue: #5b9dff;
  --text: #e9edf3;
  --muted: #a6b1c3;
  --muted-2: #7e8aa0;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --floatbar-h: 78px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .35);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--floatbar-h) + 18px);
}

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

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

h1, h2, h3, h4 {
  line-height: 1.3;
  color: #fff;
  margin: 0 0 .6em;
  font-weight: 800;
  overflow-wrap: break-word;
}

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

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .35em 0; }

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

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

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ------------------------------------------------------------ TOMBOL */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .68rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #d99a12);
  color: #2a1c00;
  box-shadow: 0 4px 16px rgba(242, 182, 50, .28);
}
.btn-gold:hover {
  color: #1f1500;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(242, 182, 50, .4);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(242, 182, 50, .06);
}
.btn-outline:hover { background: rgba(242, 182, 50, .16); color: #ffe3a0; }

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.05rem; }

/* ------------------------------------------------------------ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 14, 19, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.32rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}
.logo-text em {
  font-style: normal;
  color: var(--gold-2);
}

.main-nav { margin-right: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: .5rem .8rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: .93rem;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-list a.active { color: var(--gold-2); background: rgba(242, 182, 50, .1); }

.nav-cta a {
  color: var(--gold-2);
  font-weight: 700;
}
.nav-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  padding: .5rem .7rem;
  border-radius: 8px;
}
.icon-search::before { content: "\1F50D"; font-size: .95rem; }
.icon-search:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  padding: .45rem .9rem;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}
.nav-toggle::before { content: "\2630  "; }

/* ------------------------------------------------------------ HERO */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, .78), rgba(11, 14, 19, .9)),
    linear-gradient(100deg, rgba(11, 14, 19, .95) 30%, rgba(11, 14, 19, .35)),
    url("/assets/img/hero-casino.jpg") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-in {
  padding: 88px 0 84px;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(242, 182, 50, .1);
  border: 1px solid rgba(242, 182, 50, .4);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  margin-bottom: .5em;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }

.hero-lead {
  font-size: 1.06rem;
  color: #c6cfdd;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .85rem;
  margin: 0;
}
.hero-trust .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-gold { background: var(--gold); }
.dot-red { background: var(--red-2); }
.dot-green { background: var(--green); }

/* ------------------------------------------------------------ SECTION */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 48px 0; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
.section-head .sub { color: var(--muted); font-size: 1rem; }

/* ------------------------------------------------------------ GRID & CARD */
.grid-2, .grid-3, .grid-4 { 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: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 182, 50, .55);
  box-shadow: var(--shadow);
}

.card-img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin: 0; }
.card-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.card-link { margin-top: auto; font-weight: 700; font-size: .9rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .22rem .7rem;
}
.chip-gold { color: var(--gold-2); border-color: rgba(242, 182, 50, .5); background: rgba(242, 182, 50, .07); }
.chip-green { color: var(--green); border-color: rgba(62, 207, 142, .5); background: rgba(62, 207, 142, .07); }
.chip-red { color: var(--red-2); border-color: rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .07); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* fitur / keunggulan */
.feature-card { padding: 26px 24px; align-items: flex-start; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: linear-gradient(160deg, rgba(242, 182, 50, .2), rgba(242, 182, 50, .05));
  border: 1px solid rgba(242, 182, 50, .4);
  margin-bottom: 6px;
}

.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin: .6em 0;
  color: var(--muted);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: .1em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(62, 207, 142, .14);
  border: 1px solid rgba(62, 207, 142, .5);
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.check-list li strong { color: var(--text); }

/* dua kolom media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------ TESTIMONI */
.testi-card { padding: 24px; }
.testi-stars { color: var(--gold-2); letter-spacing: 3px; font-size: .95rem; }
.testi-text { color: var(--muted); font-size: .95rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a1c00;
  background: linear-gradient(160deg, var(--gold-2), var(--gold-dark));
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .92rem; color: #fff; }
.testi-city { font-size: .8rem; color: var(--muted-2); }
.testi-note {
  margin-top: 26px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted-2);
}

/* ------------------------------------------------------------ GLOSARIUM */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.glossary-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.glossary-item dt { color: var(--gold-2); font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.glossary-item dd { margin: 0; color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------ ARTIKEL */
.page-head { padding: 44px 0 10px; }
.page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
.page-head .lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}

.article-hero {
  margin: 28px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.article-hero figcaption {
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--muted-2);
  background: var(--bg-3);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: #d5dbe6;
}
.article-body h2 {
  font-size: 1.45rem;
  margin: 2.1em 0 .7em;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.article-body h3 { font-size: 1.15rem; color: var(--gold-2); margin: 1.6em 0 .5em; }
.article-body p { line-height: 1.9; }
.article-body ul li, .article-body ol li { margin: .5em 0; color: #c6cfdd; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.note, .warn {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 1.4em 0;
  font-size: .95rem;
}
.note {
  background: rgba(91, 157, 255, .08);
  border: 1px solid rgba(91, 157, 255, .35);
  border-left: 4px solid var(--blue);
}
.warn {
  background: rgba(229, 72, 77, .08);
  border: 1px solid rgba(229, 72, 77, .35);
  border-left: 4px solid var(--red);
}
.note strong, .warn strong { color: #fff; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 1.4em 0;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--bg-3);
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
td { color: #c6cfdd; }

/* terkait */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: border-color .18s ease, transform .18s ease;
}
.related-card:hover { border-color: rgba(242, 182, 50, .55); transform: translateY(-2px); }
.related-card h3 { font-size: .98rem; margin: 0 0 6px; }
.related-card p { font-size: .84rem; color: var(--muted); margin: 0 0 8px; }
.related-card .more { font-size: .84rem; font-weight: 700; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, rgba(242, 182, 50, .12), rgba(242, 182, 50, .03));
  border: 1px solid rgba(242, 182, 50, .4);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.cta-band h2 {
  font-size: 1.25rem;
  margin: 0 0 4px;
  border: none;
  padding: 0;
}
.cta-band p { margin: 0; color: var(--muted); font-size: .93rem; }
.cta-band .btn { margin-left: auto; }

/* ------------------------------------------------------------ BREADCRUMB */
.breadcrumb { padding: 16px 0 0; font-size: .85rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--muted-2);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb [aria-current] { color: var(--gold-2); font-weight: 600; }

/* ------------------------------------------------------------ FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: .98rem;
  color: #fff;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(242, 182, 50, .12);
  border: 1px solid rgba(242, 182, 50, .45);
  color: var(--gold-2);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--gold-2); border-bottom: 1px dashed var(--line); }
.faq-answer { padding: 14px 20px 18px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ------------------------------------------------------------ PROMO */
.promo-card .card-img { aspect-ratio: 16 / 8.5; }
.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1c00;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: .28rem .7rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
}
.promo-terms {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 1.3em 0;
}
.promo-terms h3 {
  font-size: 1rem;
  color: var(--gold-2);
  margin: 0 0 10px;
}
.promo-terms dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; gap: 8px 14px; }
.promo-terms dt { color: var(--muted); font-weight: 700; font-size: .86rem; padding-top: 2px; }
.promo-terms dd { margin: 0; color: #c6cfdd; font-size: .92rem; }

/* ------------------------------------------------------------ AUTH */
.auth-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  padding: 52px 0 60px;
  align-items: stretch;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.auth-card h1 { font-size: 1.7rem; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  background: #0d1118;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: .98rem;
  font-family: var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, .18);
}
.field .hint { font-size: .78rem; color: var(--muted-2); margin-top: 5px; }

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--muted);
  margin: 18px 0;
}
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }

.auth-note {
  font-size: .82rem;
  color: var(--muted-2);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.auth-note strong { color: var(--muted); }

.auth-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.auth-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-side-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0) 0%, rgba(11, 14, 19, .92) 55%);
}
.auth-side-overlay h2 { font-size: 1.15rem; }
.auth-side-overlay ul { margin-bottom: 0; }
.auth-side-overlay li { font-size: .88rem; color: #c6cfdd; }

.auth-alt { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ SEARCH */
.search-hero { padding: 46px 0 26px; }
.search-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.search-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 22px 0 14px;
}
.search-box input {
  flex: 1;
  min-width: 0;
  background: #0d1118;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 16px;
  font-size: 1rem;
  font-family: var(--font);
}
.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 182, 50, .18);
}

.tag-cloud-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 12px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-flex;
  align-items: center;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .38rem 1rem;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  font-family: var(--font);
}
.tag:hover, .tag.active {
  color: var(--gold-2);
  border-color: rgba(242, 182, 50, .55);
  background: rgba(242, 182, 50, .08);
}

#search-results { padding: 10px 0 56px; }
.result-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color .15s ease;
}
.result-card:hover { border-color: rgba(242, 182, 50, .55); }
.result-card h3 { font-size: 1rem; margin: 0 0 4px; color: var(--gold-2); }
.result-card p { font-size: .87rem; color: var(--muted); margin: 0 0 6px; }
.result-card .url { font-size: .78rem; color: var(--green); }
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* ------------------------------------------------------------ FOOTER */
.site-footer {
  background: #080a0e;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1fr;
  gap: 34px;
  padding: 56px 0 34px;
}
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 14px 0 18px; }
.footer-badges { display: flex; gap: 10px; align-items: center; }
.badge-18 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #ff7a7e, #b3282d 70%);
  border: 2px solid rgba(255, 122, 126, .55);
  flex-shrink: 0;
}
.badge-info {
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .3rem .8rem;
}
.site-footer h3 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.site-footer nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav li { margin: 8px 0; }
.site-footer nav a { color: var(--muted); font-size: .92rem; }
.site-footer nav a:hover { color: var(--gold-2); }

.footer-legal {
  border-top: 1px dashed var(--line-2);
  padding: 18px 0 8px;
}
.footer-legal p {
  font-size: .8rem;
  color: var(--muted-2);
  margin: 8px 0;
}
.footer-legal strong { color: var(--muted); }
.footer-copy {
  text-align: center;
  font-size: .8rem;
  color: var(--muted-2);
  padding: 16px 0 6px;
  margin: 0;
}

/* ------------------------------------------------------------ FLOATBAR */
.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: linear-gradient(90deg, #191203 0%, #241a06 50%, #191203 100%);
  border-top: 1px solid rgba(242, 182, 50, .5);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .5);
}
.floatbar-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--floatbar-h);
}
.floatbar-visual {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.reel {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  background: linear-gradient(180deg, #2c3547, #151b27);
  border: 1px solid #3d4a63;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .45), inset 0 3px 6px rgba(255, 255, 255, .06);
  animation: reel-bob 3.6s ease-in-out infinite;
}
.reel-1 { color: var(--red-2); animation-delay: 0s; }
.reel-2 { color: var(--gold-2); animation-delay: .5s; }
.reel-3 { color: var(--green); animation-delay: 1s; }

.coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffefb8, #e9ab17 62%, #a86f00);
  border: 1px solid #7d5500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  animation: coin-shine 2.8s ease-in-out infinite;
}
.coin-1 { margin-left: 10px; }
.coin-2 { margin-top: -12px; animation-delay: 1.4s; }

.floatbar-text {
  margin: 0;
  color: #ffe9b0;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
}
.floatbar-text span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: #c8ab5e;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.floatbar-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@keyframes reel-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes coin-shine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.28); }
}
@media (prefers-reduced-motion: reduce) {
  .reel, .coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ RESPONSIF */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 30px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .main-nav { margin-right: 0; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0d1118;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .45);
  }
  .nav-open .nav-list { display: flex; }
  .nav-list a { padding: .7rem .6rem; font-size: 1rem; }
  .header-actions .btn { display: none; }
  .nav-cta { display: block; }
  .nav-cta a { display: block; text-align: center; border: 1px solid rgba(242, 182, 50, .5); margin-top: 8px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; padding: 34px 0 40px; }
  .hero-in { padding: 64px 0 60px; }
}

@media (max-width: 680px) {
  :root { --floatbar-h: 66px; }
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .promo-terms dl { grid-template-columns: 1fr; gap: 2px 0; }
  .promo-terms dt { margin-top: 8px; }
  .cta-band .btn { margin-left: 0; width: 100%; }
  .header-in { gap: 12px; }
  .header-actions { gap: 6px; }
  .icon-search { padding: .5rem .55rem; }

  .floatbar-in { gap: 12px; }
  .floatbar-text { display: none; }
  .floatbar-visual { gap: 4px; }
  .reel { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
  .coin { width: 15px; height: 15px; }
  .coin-2 { display: none; }
  .floatbar-actions { gap: 8px; flex: 1; }
  .floatbar-actions .btn { flex: 1; padding: .58rem .5rem; font-size: .9rem; }

  .hero-in { padding: 48px 0 52px; }
  .hero-cta .btn { width: 100%; }
  .search-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 42px 0 26px; }
  table { min-width: 460px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .floatbar-actions .btn { padding: .55rem .3rem; }
}
