/* ==========================================================================
   Gaspol189 - gaspol189.games
   Casino information site (informational only). Dark / red / gold theme.
   ========================================================================== */

:root {
  --bg: #0a0d12;
  --bg-2: #0f141c;
  --panel: #131a24;
  --panel-2: #182131;
  --line: #243044;
  --text: #f2f5f9;
  --muted: #9daabb;
  --red: #e2273d;
  --red-2: #b31b2f;
  --gold: #f6c445;
  --gold-2: #d9a217;
  --green: #2ec27e;
  --blue: #4c8dff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }

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

html, body { margin: 0; padding: 0; max-width: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 480px at 85% -180px, rgba(226, 39, 61, 0.16), transparent 65%),
    radial-gradient(900px 420px at -10% 220px, rgba(246, 196, 69, 0.07), transparent 60%),
    var(--bg);
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  overflow-wrap: break-word;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffd970; text-decoration: underline; }

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

::selection { background: var(--red); color: #fff; }

.container {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 13, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, #ffe9a8 0%, var(--gold) 34%, var(--gold-2) 72%, #8a6a0b 100%);
  color: #3d2a02;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 0 0 2px rgba(246, 196, 69, 0.25), 0 4px 10px rgba(0, 0, 0, 0.45);
}

.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.4px;
  color: #fff;
  white-space: nowrap;
}

.brand-name .tld { color: var(--gold); }

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); background: rgba(246, 196, 69, 0.1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover { border-color: var(--gold); color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn:hover { text-decoration: none; }

.btn-gold {
  background: linear-gradient(180deg, #ffd970, var(--gold) 45%, var(--gold-2));
  color: #33240a;
  box-shadow: 0 4px 14px rgba(246, 196, 69, 0.25);
}

.btn-gold:hover { filter: brightness(1.06); color: #2c1f05; }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-red {
  background: linear-gradient(180deg, #f0475c, var(--red) 55%, var(--red-2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(226, 39, 61, 0.3);
}

.btn-red:hover { filter: brightness(1.06); color: #fff; }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */

.hero { padding: 3rem 0 2.4rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.badge-red { border-color: rgba(226, 39, 61, 0.5); color: #ff8f9e; background: rgba(226, 39, 61, 0.12); }
.badge-gold { border-color: rgba(246, 196, 69, 0.45); color: var(--gold); background: rgba(246, 196, 69, 0.1); }
.badge-green { border-color: rgba(46, 194, 126, 0.45); color: #7fe0b2; background: rgba(46, 194, 126, 0.1); }

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.2px;
}

.hero h1 .hl { color: var(--gold); }

.hero-lead { color: var(--muted); font-size: 1.02rem; margin: 0 0 1.4rem; max-width: 34rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.3rem; }

.hero-cta .btn { padding: 0.72rem 1.5rem; font-size: 0.98rem; }

.hero-note { font-size: 0.82rem; color: var(--muted); }

.hero-note a { color: var(--muted); text-decoration: underline; }

.hero-media { position: relative; }

.hero-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -12px -12px auto auto;
  width: 130px;
  height: 130px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-top-right-radius: 22px;
  z-index: -1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto auto -12px -12px;
  width: 130px;
  height: 130px;
  border-bottom: 3px solid var(--red);
  border-left: 3px solid var(--red);
  border-bottom-left-radius: 22px;
  z-index: -1;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-chips svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 2.6rem 0; }

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 46rem; margin-bottom: 1.8rem; }

.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.3;
}

.section-head p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.cat-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover { transform: translateY(-4px); border-color: rgba(246, 196, 69, 0.55); text-decoration: none; }

.cat-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.cat-card-body { padding: 0.95rem 1.05rem 1.15rem; }

.cat-card-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: #fff; }

.cat-card-body p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.cat-card .more {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Promo cards
   -------------------------------------------------------------------------- */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.promo-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }

.promo-card-body { padding: 1rem 1.05rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }

.promo-card h3 { margin: 0; font-size: 1.05rem; }

.promo-card p { margin: 0; font-size: 0.86rem; color: var(--muted); flex: 1; }

.promo-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.85);
  border: 1px solid rgba(246, 196, 69, 0.5);
  color: var(--gold);
}

.promo-card .btn { align-self: flex-start; padding: 0.45rem 0.95rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Feature grids (why us / mobile / security)
   -------------------------------------------------------------------------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(226, 39, 61, 0.14);
  border: 1px solid rgba(226, 39, 61, 0.35);
  margin-bottom: 0.85rem;
}

.feat-icon.gold { background: rgba(246, 196, 69, 0.12); border-color: rgba(246, 196, 69, 0.4); }
.feat-icon.green { background: rgba(46, 194, 126, 0.12); border-color: rgba(46, 194, 126, 0.4); }
.feat-icon.blue { background: rgba(76, 141, 255, 0.12); border-color: rgba(76, 141, 255, 0.4); }

.feat h3 { margin: 0 0 0.45rem; font-size: 1.02rem; }

.feat p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* split section with image */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split .section-head { margin-bottom: 1rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }

.check-list svg { flex-shrink: 0; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.testi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testi-top { display: flex; align-items: center; gap: 0.7rem; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.av-red { background: linear-gradient(135deg, #f0475c, var(--red-2)); }
.av-gold { background: linear-gradient(135deg, #ffd970, var(--gold-2)); color: #33240a; }
.av-green { background: linear-gradient(135deg, #5ee0a4, #149963); }
.av-blue { background: linear-gradient(135deg, #7db1ff, #2f62c9); }

.testi-name { font-weight: 700; font-size: 0.93rem; }
.testi-role { font-size: 0.78rem; color: var(--muted); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; }

.testi p { margin: 0; font-size: 0.9rem; color: #cdd6e2; flex: 1; }

.testi-note {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.8rem;
}

/* --------------------------------------------------------------------------
   Glossary
   -------------------------------------------------------------------------- */

.gloss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.gloss {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
}

.gloss dt { font-weight: 800; color: var(--gold); font-size: 0.92rem; margin-bottom: 0.25rem; }

.gloss dd { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Article / prose
   -------------------------------------------------------------------------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.2rem;
  align-items: start;
}

.prose { font-size: 1rem; color: #dbe3ee; }

.prose h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #fff;
  padding-left: 0.85rem;
  border-left: 4px solid var(--gold);
}

.prose h3 { margin: 1.5rem 0 0.6rem; font-size: 1.12rem; color: #fff; }

.prose p { margin: 0 0 1rem; }

.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }

.prose li { margin-bottom: 0.45rem; }

.prose figure { margin: 1.6rem 0; }

.prose figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
}

.prose figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; text-align: center; }

.prose strong { color: #fff; }

.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.9rem; }

.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--panel-2); color: #fff; }

.callout {
  border: 1px solid rgba(246, 196, 69, 0.4);
  background: rgba(246, 196, 69, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  margin: 1.4rem 0;
  font-size: 0.92rem;
}

.callout-green { border-color: rgba(46, 194, 126, 0.4); background: rgba(46, 194, 126, 0.07); }

.callout-title { font-weight: 800; margin-bottom: 0.3rem; color: var(--gold); display: block; }

.callout-green .callout-title { color: var(--green); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.8rem 0 1.4rem;
}

/* sidebar */

.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

.side-card h2 { margin: 0 0 0.9rem; font-size: 1.02rem; color: #fff; }

.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

.side-list a { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 600; }

.side-list a:hover { color: var(--gold); }

.side-note { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { display: grid; gap: 0.8rem; max-width: 52rem; }

.faq-list.center { margin-inline: auto; }

details.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; line-height: 1; }

details.faq[open] summary::after { content: "\2212"; }

details.faq .faq-a {
  padding: 0 1.1rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.8rem;
}

details.faq .faq-a p { margin: 0; }

/* --------------------------------------------------------------------------
   Subpage hero + breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 2rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(226, 39, 61, 0.07), transparent);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }

.crumbs li { display: flex; align-items: center; gap: 0.35rem; }

.crumbs li + li::before { content: "/"; color: var(--line); }

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }

.crumbs [aria-current="page"] { color: var(--gold); font-weight: 600; }

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.25;
}

.page-hero .lead { margin: 0; color: var(--muted); max-width: 46rem; }

/* --------------------------------------------------------------------------
   Forms (daftar / login)
   -------------------------------------------------------------------------- */

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
}

.form-card h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }

.form-card .sub { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.3rem; }

.field { margin-bottom: 1.05rem; }

.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(246, 196, 69, 0.15); }

.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; }

.check-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }

.check-row input { margin-top: 4px; accent-color: var(--gold); }

.form-card .btn { width: 100%; padding: 0.8rem; font-size: 1rem; }

.form-foot { text-align: center; font-size: 0.88rem; color: var(--muted); margin: 1.1rem 0 0; }

.form-foot a { font-weight: 700; }

.noscript-box {
  border: 1px dashed rgba(246, 196, 69, 0.5);
  background: rgba(246, 196, 69, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Terms (promo pages)
   -------------------------------------------------------------------------- */

.terms-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.8rem 0;
}

.terms-box h2 { margin: 0 0 1rem; font-size: 1.15rem; color: #fff; }

.terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.terms-list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
  align-items: flex-start;
}

.terms-list .tick { color: var(--green); font-weight: 800; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(246, 196, 69, 0.12), transparent 60%),
    linear-gradient(135deg, #1a0e14, #20131b 45%, #101820);
  border: 1px solid rgba(246, 196, 69, 0.35);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.4rem;
}

.cta-band h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }

.cta-band p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 34rem; }

.cta-band .actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2.6rem 0 1.6rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.footer-brand p { color: var(--muted); font-size: 0.87rem; margin: 0.8rem 0 0; }

.footer-col h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin: 0 0 0.9rem; }

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.footer-col a { color: var(--muted); font-size: 0.88rem; }

.footer-col a:hover { color: var(--gold); }

.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.footer-legal p { margin: 0; font-size: 0.78rem; color: var(--muted); }

.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Floating bar (slot + coins)
   -------------------------------------------------------------------------- */

.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  pointer-events: none;
}

.floatbar-inner {
  pointer-events: auto;
  width: min(100% - 1rem, 720px);
  margin: 0 auto calc(0.6rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(246, 196, 69, 0.5);
  background:
    linear-gradient(180deg, rgba(24, 33, 49, 0.97), rgba(13, 18, 26, 0.97));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.float-reels {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a1c08, #120c04);
  border: 1px solid rgba(246, 196, 69, 0.55);
}

.reel {
  width: 26px;
  height: 34px;
  overflow: hidden;
  border-radius: 6px;
  background: #fdf6e3;
  position: relative;
}

.reel-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  font-size: 15px;
  line-height: 34px;
  animation: reel-spin 2.8s linear infinite;
}

.reel:nth-child(2) .reel-strip { animation-duration: 3.4s; }
.reel:nth-child(3) .reel-strip { animation-duration: 2.3s; }

@keyframes reel-spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-102px); }
}

.float-copy { min-width: 0; flex: 1; }

.float-copy strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-copy span { display: block; font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.float-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.fbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fbtn-daftar {
  background: linear-gradient(180deg, #ffd970, var(--gold) 45%, var(--gold-2));
  color: #33240a;
  box-shadow: 0 4px 12px rgba(246, 196, 69, 0.3);
}

.fbtn-daftar:hover { filter: brightness(1.06); text-decoration: none; color: #2c1f05; }

.fbtn-masuk { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }

.fbtn-masuk:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

.float-coin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffefb8 0%, #f6c445 45%, #b8860b 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  animation: coin-bob 3.2s ease-in-out infinite;
  pointer-events: none;
}

.float-coin.c1 { top: -6px; left: 16%; animation-delay: 0s; }
.float-coin.c2 { top: -8px; left: 78%; width: 14px; height: 14px; animation-delay: 1.1s; }
.float-coin.c3 { top: -5px; left: 45%; width: 12px; height: 12px; animation-delay: 2.2s; }

@keyframes coin-bob {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  padding: 1rem;
  overflow-y: auto;
}

.search-overlay.open { display: block; }

.search-panel {
  width: min(100%, 640px);
  margin: 6vh auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.search-top svg { flex-shrink: 0; color: var(--gold); }

#search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.02rem;
}

.search-close {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.search-close:hover { color: #fff; border-color: var(--red); }

.search-tags { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }

.search-tags-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.tag-chip {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.tag-chip:hover, .tag-chip.active { border-color: var(--gold); color: var(--gold); }

.search-results { list-style: none; margin: 0; padding: 0.5rem; max-height: 46vh; overflow-y: auto; }

.search-results li a {
  display: block;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
}

.search-results li a:hover { background: var(--panel-2); text-decoration: none; }

.search-results .sr-title { display: block; font-weight: 700; font-size: 0.93rem; color: #fff; }

.search-results .sr-desc { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }

.search-empty { padding: 1.4rem; text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */

.article-list { display: grid; gap: 1.1rem; }

.art-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  align-items: center;
}

.art-row img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.art-row h2 { margin: 0 0 0.4rem; font-size: 1.08rem; }

.art-row p { margin: 0 0 0.6rem; font-size: 0.88rem; color: var(--muted); }

.art-row .more { font-size: 0.83rem; font-weight: 700; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #33240a;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

::backtrack { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split img { max-width: 560px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 13, 18, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.6rem 1rem 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .main-nav a { padding: 0.7rem 0.8rem; font-size: 1rem; }
  .header-actions .btn-outline { display: none; }
  .header-inner { min-height: 58px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(100% - 1.4rem, 1160px); }
  .hero { padding: 2rem 0 1.8rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .section { padding: 2rem 0; }
  .art-row { grid-template-columns: 1fr; }
  .art-row img { aspect-ratio: 16 / 8; }
  .form-card { padding: 1.4rem 1.1rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .float-copy strong { font-size: 0.84rem; }
  .float-copy span { font-size: 0.68rem; }
  .fbtn { padding: 0.55rem 0.8rem; font-size: 0.8rem; }
  .float-reels .reel:last-child { display: none; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.02rem; }
  .fbtn { padding: 0.5rem 0.65rem; }
  .float-copy span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
