/* ==========================================================================
   magnum777.bet — Main Stylesheet
   Tema: Casino Dark + Brand Multi-Accent (merah, cokelat, oranye, hijau,
   kuning, ungu, biru, hitam). Responsif penuh.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Base */
  --c-bg: #0b0b0f;
  --c-bg-2: #12121a;
  --c-bg-3: #191922;
  --c-bg-4: #22222e;
  --c-line: rgba(255, 255, 255, 0.09);
  --c-line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --c-text: #f4f4f7;
  --c-text-2: #b9b9c6;
  --c-text-3: #86868f;

  /* Brand accents */
  --c-red: #d6212b;
  --c-red-2: #a5161f;
  --c-gold: #f5c445;
  --c-gold-2: #e0a21a;
  --c-orange: #ff7a18;
  --c-green: #1db954;
  --c-purple: #7a3bb5;
  --c-blue: #2d7df6;
  --c-brown: #6b452a;
  --c-yellow: #ffd43b;

  /* Gradients */
  --g-gold: linear-gradient(135deg, #ffe27a 0%, #f5c445 42%, #e0a21a 100%);
  --g-red: linear-gradient(135deg, #f0444e 0%, #d6212b 50%, #8f0f17 100%);
  --g-cta: linear-gradient(135deg, #ff9d2e 0%, #f5c445 34%, #e0a21a 68%, #d6212b 100%);

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 2px 10px rgba(0, 0, 0, 0.4);
  --sh-2: 0 10px 30px rgba(0, 0, 0, 0.5);
  --sh-gold: 0 6px 22px rgba(245, 196, 69, 0.32);
  --sh-red: 0 6px 22px rgba(214, 33, 43, 0.34);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --hdr-h: 68px;
  --dock-h: 74px;

  --ff: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ff-display: "Trebuchet MS", "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(214, 33, 43, 0.16), transparent 62%),
    radial-gradient(900px 480px at 92% 4%, rgba(122, 59, 181, 0.15), transparent 64%),
    radial-gradient(760px 420px at 50% 100%, rgba(224, 162, 26, 0.09), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 8px);
}

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

a {
  color: var(--c-gold);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover,
a:focus {
  color: var(--c-yellow);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  line-height: 1.28;
  margin: 0 0 0.6em;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.72rem, 4.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.05rem); }
h3 { font-size: clamp(1.16rem, 2.4vw, 1.42rem); }
h4 { font-size: 1.06rem; }

p {
  margin: 0 0 1.1em;
  color: var(--c-text-2);
}

ul, ol {
  color: var(--c-text-2);
  padding-left: 1.35rem;
  margin: 0 0 1.15em;
}

li { margin-bottom: 0.5em; }

strong { color: #fff; font-weight: 700; }

blockquote {
  margin: 1.6em 0;
  padding: 1.05rem 1.3rem;
  border-left: 4px solid var(--c-gold);
  background: linear-gradient(90deg, rgba(245, 196, 69, 0.11), rgba(245, 196, 69, 0.02));
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: #efe6cf;
  font-style: normal;
}

blockquote p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: 2.2rem 0;
}

code {
  background: var(--c-bg-3);
  border: 1px solid var(--c-line);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--c-gold);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-gold);
  color: #14141b;
  padding: 0.6rem 1rem;
  z-index: 999;
  font-weight: 800;
  border-radius: 0 0 var(--r-sm) 0;
}

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: 46px 0;
}

.section-tight { padding: 30px 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}

.sec-head h2,
.sec-head h1 {
  margin: 0;
}

.sec-head .eyebrow {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-2);
  font-weight: 800;
  margin-bottom: 4px;
}

.sec-head .link-more {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 18px;
}

.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. Announcement marquee (top strip)
   -------------------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, #6b0f16, #d6212b 46%, #ff7a18);
  color: #fff;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 14px;
  height: 34px;
  overflow: hidden;
}

.topbar-tag {
  flex: 0 0 auto;
  background: #14141b;
  color: var(--c-gold);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 196, 69, 0.5);
}

.marquee {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: mq 34s linear infinite;
}

.marquee-track span {
  padding-right: 3.2rem;
  font-weight: 600;
}

@keyframes mq {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 14, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.hdr-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  text-decoration: none;
}

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

.brand img {
  width: 38px;
  height: 38px;
}

.brand-txt {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-txt small {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-text-3);
  background: none;
  -webkit-text-fill-color: var(--c-text-3);
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--c-text-2);
  font-size: 0.87rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--c-gold);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-3);
  color: var(--c-text);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.icon-btn:hover { background: var(--c-bg-4); color: var(--c-gold); }

.nav-toggle { display: none; }

/* Mobile drawer */
.mnav {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding: 10px 16px 16px;
}

.mnav.open { display: block; }

.mnav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.mnav-grid a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--c-bg-3);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 600;
}

.mnav-grid a:hover { background: var(--c-bg-4); text-decoration: none; }

/* --------------------------------------------------------------------------
   6. Search
   -------------------------------------------------------------------------- */
.searchbar {
  display: flex;
  gap: 8px;
  width: 100%;
}

.searchbar input[type="search"],
.searchbar input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-3);
  color: var(--c-text);
  font-size: 0.94rem;
  font-family: inherit;
}

.searchbar input::placeholder { color: var(--c-text-3); }

.searchbar input:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 69, 0.16);
}

.searchbar button {
  flex: 0 0 auto;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--g-gold);
  color: #1a1409;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.searchbar button:hover { filter: brightness(1.08); }

.header-search {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding: 12px 16px;
}

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

.header-search .searchbar {
  max-width: var(--wrap);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-gold {
  background: var(--g-gold);
  color: #1a1409;
  box-shadow: var(--sh-gold);
}

.btn-gold:hover { color: #1a1409; filter: brightness(1.07); }

.btn-red {
  background: var(--g-red);
  color: #fff;
  box-shadow: var(--sh-red);
}

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

.btn-green {
  background: linear-gradient(135deg, #2ee06b, #1db954 55%, #0e7d38);
  color: #04220f;
  box-shadow: 0 6px 22px rgba(29, 185, 84, 0.3);
}

.btn-green:hover { color: #04220f; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--c-line-strong);
  color: var(--c-text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-lg { padding: 15px 30px; font-size: 1.03rem; }
.btn-sm { padding: 8px 15px; font-size: 0.84rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  background: #0a0a0e url("../img/hero-bg.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.78) 0%, rgba(8, 8, 12, 0.62) 45%, rgba(8, 8, 12, 0.94) 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 54px 18px 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 34px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid;
}

.pill-red { color: #ffb3b8; border-color: rgba(214, 33, 43, 0.6); background: rgba(214, 33, 43, 0.16); }
.pill-gold { color: #ffe6a8; border-color: rgba(245, 196, 69, 0.55); background: rgba(245, 196, 69, 0.13); }
.pill-green { color: #a6f0c2; border-color: rgba(29, 185, 84, 0.55); background: rgba(29, 185, 84, 0.14); }
.pill-blue { color: #b6d4ff; border-color: rgba(45, 125, 246, 0.55); background: rgba(45, 125, 246, 0.14); }
.pill-purple { color: #dcc0ff; border-color: rgba(122, 59, 181, 0.6); background: rgba(122, 59, 181, 0.18); }
.pill-orange { color: #ffd0a8; border-color: rgba(255, 122, 24, 0.55); background: rgba(255, 122, 24, 0.14); }

.hero h1 {
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero h1 .hl {
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.04rem;
  color: #d8d8e2;
  max-width: 60ch;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
  max-width: 480px;
}

.hero-stat {
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
}

.hero-stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.24rem;
  color: var(--c-gold);
  line-height: 1.2;
}

.hero-stat span {
  font-size: 0.68rem;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Slot reel visual */
.reel-card {
  background: linear-gradient(160deg, rgba(34, 34, 46, 0.96), rgba(14, 14, 20, 0.96));
  border: 1px solid rgba(245, 196, 69, 0.28);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--sh-2);
}

.reel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-3);
  font-weight: 800;
}

.reel-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.reel-cell {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #1d1d28, #0e0e14);
  border: 1px solid rgba(245, 196, 69, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 900;
  color: var(--c-gold);
  text-shadow: 0 0 18px rgba(245, 196, 69, 0.5);
  animation: reelPulse 2.6s ease-in-out infinite;
}

.reel-cell:nth-child(2) { animation-delay: 0.35s; color: #ff8f4a; }
.reel-cell:nth-child(3) { animation-delay: 0.7s; }

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

.reel-note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: var(--c-text-3);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: linear-gradient(170deg, var(--c-bg-3), var(--c-bg-2));
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 69, 0.42);
  box-shadow: var(--sh-2);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-4);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 14, 0.86);
  border: 1px solid rgba(245, 196, 69, 0.5);
  color: var(--c-gold);
}

.card-rtp {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(6, 30, 16, 0.9);
  border: 1px solid rgba(29, 185, 84, 0.6);
  color: #8ff0b4;
}

.card-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card-body h3,
.card-body h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  line-height: 1.35;
}

.card-body h3 a,
.card-body h4 a { color: #fff; }

.card-body h3 a:hover,
.card-body h4 a:hover { color: var(--c-gold); text-decoration: none; }

.card-meta {
  font-size: 0.75rem;
  color: var(--c-text-3);
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-body p {
  font-size: 0.87rem;
  margin: 0 0 12px;
  color: var(--c-text-2);
}

.card-foot {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Article card */
.acard .card-media { aspect-ratio: 16 / 9; }

/* Category / provider tile */
.tile {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 148px;
  background: var(--c-bg-3);
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tile:hover img { transform: scale(1.06); opacity: 0.66; }

.tile-body {
  position: relative;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.3), rgba(8, 8, 12, 0.9));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 148px;
}

.tile-body h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
  color: #fff;
}

.tile-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--c-text-2);
}

.tile:hover { text-decoration: none; border-color: rgba(245, 196, 69, 0.4); }

/* Info box variants */
.box {
  border-radius: var(--r-md);
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  background: var(--c-bg-2);
  margin: 0 0 18px;
}

.box h3, .box h4 { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }

.box-warn {
  border-color: rgba(255, 122, 24, 0.42);
  background: linear-gradient(120deg, rgba(255, 122, 24, 0.1), rgba(255, 122, 24, 0.02));
}

.box-info {
  border-color: rgba(45, 125, 246, 0.42);
  background: linear-gradient(120deg, rgba(45, 125, 246, 0.1), rgba(45, 125, 246, 0.02));
}

.box-ok {
  border-color: rgba(29, 185, 84, 0.42);
  background: linear-gradient(120deg, rgba(29, 185, 84, 0.1), rgba(29, 185, 84, 0.02));
}

.box-danger {
  border-color: rgba(214, 33, 43, 0.45);
  background: linear-gradient(120deg, rgba(214, 33, 43, 0.12), rgba(214, 33, 43, 0.02));
}

/* --------------------------------------------------------------------------
   10. Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin: 0 0 20px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 8px;
  font-size: 0.82rem;
  color: var(--c-text-3);
}

th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

thead th {
  background: var(--c-bg-4);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

tbody tr:last-child td { border-bottom: 0; }

td strong { color: #fff; }

.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.val-up { color: #6ee79b; font-weight: 800; }
.val-mid { color: var(--c-gold); font-weight: 800; }
.val-down { color: #ff9a9f; font-weight: 800; }

/* --------------------------------------------------------------------------
   11. Leaderboard
   -------------------------------------------------------------------------- */
.lb {
  border: 1px solid rgba(245, 196, 69, 0.28);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(34, 27, 12, 0.7), rgba(14, 14, 20, 0.92));
  overflow: hidden;
}

.lb-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.lb-head h3 { margin: 0; font-size: 1.04rem; }

.lb-head .lb-time {
  font-size: 0.72rem;
  color: var(--c-text-3);
  font-weight: 700;
}

.lb-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--c-line);
}

.lb-row:last-child { border-bottom: 0; }

.lb-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.82rem;
  background: var(--c-bg-4);
  color: var(--c-text-2);
  border: 1px solid var(--c-line);
}

.lb-row:nth-child(2) .lb-rank { background: var(--g-gold); color: #1a1409; border-color: transparent; }
.lb-row:nth-child(3) .lb-rank { background: linear-gradient(135deg, #e7e7ef, #a9a9b8); color: #1a1a22; border-color: transparent; }
.lb-row:nth-child(4) .lb-rank { background: linear-gradient(135deg, #d9954f, #a2662c); color: #241202; border-color: transparent; }

.lb-name {
  min-width: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-name small {
  display: block;
  font-weight: 600;
  color: var(--c-text-3);
  font-size: 0.72rem;
}

.lb-val {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--c-gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.lb-foot {
  padding: 11px 16px;
  font-size: 0.74rem;
  color: var(--c-text-3);
  border-top: 1px solid var(--c-line);
  background: rgba(0, 0, 0, 0.25);
}

/* Winner ticker */
.ticker {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(29, 185, 84, 0.1), rgba(14, 14, 20, 0.6));
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 46px;
}

.ticker-label {
  flex: 0 0 auto;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #04220f;
  background: linear-gradient(135deg, #2ee06b, #1db954);
}

.ticker-view {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: mq 42s linear infinite;
  font-size: 0.86rem;
}

.ticker-track i {
  font-style: normal;
  padding: 0 1.6rem;
  color: var(--c-text-2);
}

.ticker-track i b { color: var(--c-gold); }

.ticker-track i em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. Tag cloud
   -------------------------------------------------------------------------- */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tagcloud a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-3);
  color: var(--c-text-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.tagcloud a:hover {
  text-decoration: none;
  color: #1a1409;
  background: var(--g-gold);
  border-color: transparent;
}

.tagcloud a.t-lg { font-size: 0.95rem; font-weight: 800; color: #fff; }
.tagcloud a.t-sm { font-size: 0.76rem; }

/* --------------------------------------------------------------------------
   13. Breadcrumb
   -------------------------------------------------------------------------- */
.crumbs {
  padding: 12px 0 0;
  font-size: 0.8rem;
  color: var(--c-text-3);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.crumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }

.crumbs li + li::before {
  content: "/";
  color: var(--c-text-3);
  opacity: 0.6;
}

.crumbs a { color: var(--c-text-2); }
.crumbs a:hover { color: var(--c-gold); }
.crumbs [aria-current="page"] { color: var(--c-gold); font-weight: 700; }

/* --------------------------------------------------------------------------
   14. Article typography
   -------------------------------------------------------------------------- */
.page-head {
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 26px;
}

.page-head h1 { margin-bottom: 10px; }

.page-head .lead {
  font-size: 1.02rem;
  color: var(--c-text-2);
  max-width: 74ch;
  margin-bottom: 0;
}

.entry-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--c-text-3);
  margin-bottom: 14px;
}

.entry-meta span { display: inline-flex; align-items: center; gap: 5px; }

.prose { font-size: 1rem; }

.prose h2 {
  margin-top: 2em;
  padding-top: 0.5em;
  border-top: 1px solid var(--c-line);
}

.prose h3 { margin-top: 1.6em; }

.prose > p:first-of-type {
  font-size: 1.06rem;
  color: #dcdce6;
}

.prose img {
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  margin: 1.4em 0;
}

.prose ul li::marker { color: var(--c-gold); }
.prose ol li::marker { color: var(--c-gold); font-weight: 800; }

.toc {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  padding: 16px 18px;
  margin: 0 0 26px;
}

.toc h2, .toc h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold-2);
  border: 0;
  padding: 0;
}

.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 5px; font-size: 0.9rem; }
.toc a { color: var(--c-text-2); }
.toc a:hover { color: var(--c-gold); }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #fff;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--c-gold);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
}

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

.faq-item[open] summary { border-bottom: 1px solid var(--c-line); }

.faq-body { padding: 14px 16px; }
.faq-body > :last-child { margin-bottom: 0; }

/* Steps */
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 22px; }

.steps li {
  counter-increment: st;
  position: relative;
  padding: 0 0 0 46px;
  margin-bottom: 16px;
}

.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--g-gold);
  color: #1a1409;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.steps li b { display: block; color: #fff; margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   15. Sidebar widgets
   -------------------------------------------------------------------------- */
.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--hdr-h) + 14px); }

.widget {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  padding: 15px 16px;
}

.widget h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold-2);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}

.widget ul { list-style: none; padding: 0; margin: 0; }

.widget li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 0.88rem;
}

.widget li:last-child { border-bottom: 0; }

.widget a { color: var(--c-text); font-weight: 600; }
.widget a:hover { color: var(--c-gold); text-decoration: none; }

.widget-cta {
  border-color: rgba(245, 196, 69, 0.35);
  background: linear-gradient(170deg, rgba(48, 36, 12, 0.75), rgba(16, 16, 22, 0.9));
  text-align: center;
}

.widget-cta p { font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--c-line);
  background: #08080c;
  padding: 34px 0 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}

.foot-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold-2);
  margin: 0 0 12px;
}

.foot-col ul { list-style: none; padding: 0; margin: 0; }

.foot-col li { margin-bottom: 7px; font-size: 0.86rem; }

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

.foot-about p { font-size: 0.86rem; color: var(--c-text-3); }

.foot-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--c-red);
  color: #ff9aa0;
  font-weight: 900;
  font-size: 0.86rem;
  background: rgba(214, 33, 43, 0.14);
  flex: 0 0 auto;
}

.foot-legal {
  border-top: 1px solid var(--c-line);
  padding-top: 18px;
  font-size: 0.78rem;
  color: var(--c-text-3);
}

.foot-legal p { font-size: 0.78rem; color: var(--c-text-3); margin-bottom: 0.7em; }

.foot-legal a { color: var(--c-text-2); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 0.76rem;
  color: var(--c-text-3);
}

/* --------------------------------------------------------------------------
   17. Sticky conversion dock (register / login)
   -------------------------------------------------------------------------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.86), rgba(8, 8, 12, 0.98));
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(245, 196, 69, 0.34);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
}

.dock-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dock-note {
  flex: 0 0 auto;
  display: none;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--c-text-3);
  max-width: 168px;
  font-weight: 600;
}

.dock-note b { color: var(--c-gold); display: block; font-size: 0.76rem; }

.dock-btns {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Slot-machine style CTA buttons with coin shimmer */
.slot-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 2px solid;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.slot-btn:hover,
.slot-btn:focus {
  text-decoration: none;
  transform: translateY(-2px) scale(1.012);
}

.slot-btn small {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  opacity: 0.85;
  text-transform: uppercase;
  margin-top: 1px;
}

.slot-btn .sb-txt { position: relative; z-index: 3; }

.slot-btn .sb-ico {
  position: relative;
  z-index: 3;
  font-size: 1.2rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* shine sweep */
.slot-btn::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  animation: sweep 3.4s ease-in-out infinite;
}

@keyframes sweep {
  0% { left: -80%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

/* coin particles */
.slot-btn .coins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.slot-btn .coins i {
  position: absolute;
  bottom: -12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff3c4, #f5c445 52%, #b8860b);
  box-shadow: 0 0 7px rgba(245, 196, 69, 0.85);
  animation: coinUp 3.2s linear infinite;
  opacity: 0;
}

.slot-btn .coins i:nth-child(1) { left: 12%; animation-delay: 0s; }
.slot-btn .coins i:nth-child(2) { left: 30%; animation-delay: 0.55s; width: 7px; height: 7px; }
.slot-btn .coins i:nth-child(3) { left: 52%; animation-delay: 1.1s; }
.slot-btn .coins i:nth-child(4) { left: 71%; animation-delay: 1.7s; width: 6px; height: 6px; }
.slot-btn .coins i:nth-child(5) { left: 88%; animation-delay: 2.3s; }

@keyframes coinUp {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  18% { opacity: 0.95; }
  100% { transform: translateY(-62px) scale(1.05) rotate(200deg); opacity: 0; }
}

/* Register button — gold */
.slot-btn-daftar {
  background: linear-gradient(180deg, #ffe488 0%, #f5c445 40%, #e0a21a 72%, #b97d09 100%);
  border-color: #fff0b8;
  color: #26190a;
  box-shadow: 0 6px 20px rgba(245, 196, 69, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  animation: pulseGold 2.6s ease-in-out infinite;
}

.slot-btn-daftar:hover {
  color: #26190a;
  box-shadow: 0 10px 28px rgba(245, 196, 69, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 6px 20px rgba(245, 196, 69, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 6px 28px rgba(245, 196, 69, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
}

/* Login button — crimson */
.slot-btn-login {
  background: linear-gradient(180deg, #ff5a63 0%, #d6212b 42%, #a5161f 76%, #6f0d14 100%);
  border-color: #ff9ba1;
  color: #fff;
  box-shadow: 0 6px 20px rgba(214, 33, 43, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -3px 0 rgba(0, 0, 0, 0.26);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.slot-btn-login:hover {
  color: #fff;
  box-shadow: 0 10px 28px rgba(214, 33, 43, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.slot-btn-login .coins i {
  background: radial-gradient(circle at 32% 28%, #ffffff, #ffd6d9 50%, #ff7a82);
  box-shadow: 0 0 7px rgba(255, 140, 148, 0.85);
}

/* Inline CTA block */
.cta-block {
  border: 1px solid rgba(245, 196, 69, 0.34);
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 220px at 18% 0%, rgba(214, 33, 43, 0.2), transparent 62%),
    linear-gradient(160deg, rgba(40, 32, 12, 0.75), rgba(14, 14, 20, 0.94));
  padding: 26px 22px;
  text-align: center;
  margin: 30px 0;
}

.cta-block h2, .cta-block h3 { margin-top: 0; }

.cta-block p { max-width: 62ch; margin-left: auto; margin-right: auto; }

.cta-block .btn-row { justify-content: center; }

.cta-fineprint {
  font-size: 0.74rem;
  color: var(--c-text-3);
  margin: 14px 0 0;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form-card {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--c-bg-3), var(--c-bg-2));
  padding: 24px 22px;
  box-shadow: var(--sh-2);
}

.field { margin-bottom: 15px; }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.field label .req { color: #ff8a90; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: #0d0d13;
  color: var(--c-text);
  font-size: 0.94rem;
  font-family: inherit;
}

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

.field .hint {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-3);
  margin-top: 5px;
}

.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--c-text-2);
  margin-bottom: 14px;
}

.check input {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--c-gold);
}

/* --------------------------------------------------------------------------
   19. Misc utilities
   -------------------------------------------------------------------------- */
.provider-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.provider-chip {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-3);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text-2);
}

.provider-chip.on { color: #1a1409; background: var(--g-gold); border-color: transparent; }

.notice-18 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(214, 33, 43, 0.4);
  background: linear-gradient(120deg, rgba(214, 33, 43, 0.13), rgba(214, 33, 43, 0.02));
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 0 0 20px;
}

.notice-18 p { margin: 0; font-size: 0.85rem; }
.notice-18 p + p { margin-top: 6px; }

.rel-list { list-style: none; padding: 0; margin: 0; }

.rel-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
}

.rel-list li:last-child { border-bottom: 0; }

.rel-list a { color: #fff; font-weight: 700; font-size: 0.94rem; }
.rel-list a:hover { color: var(--c-gold); text-decoration: none; }
.rel-list p { margin: 3px 0 0; font-size: 0.82rem; color: var(--c-text-3); }

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.pager a, .pager span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-3);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text-2);
}

.pager span[aria-current] { background: var(--g-gold); color: #1a1409; border-color: transparent; }

.pager a:hover { background: var(--c-bg-4); color: #fff; text-decoration: none; }

.search-results { list-style: none; padding: 0; margin: 0; }

.search-results li {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.search-results h3 { margin: 0 0 4px; font-size: 1rem; }
.search-results p { margin: 0; font-size: 0.86rem; }
.search-results .url { font-size: 0.75rem; color: var(--c-green); margin-top: 6px; }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 700px) {
  .dock-note { display: block; }
  .dock-inner { max-width: 860px; }
}

@media (max-width: 1080px) {
  .nav a { padding: 8px 7px; font-size: 0.82rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 40px 18px 36px; }
  .layout-2col { grid-template-columns: 1fr; }
  .side { position: static; }
  .g-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .section { padding: 34px 0; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat b { font-size: 1.05rem; }
  table { font-size: 0.85rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .prose { font-size: 0.98rem; }
}

@media (max-width: 520px) {
  :root { --dock-h: 70px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; max-width: none; }
  .hero-stats .hero-stat:last-child { grid-column: span 2; }
  .brand img { width: 34px; height: 34px; }
  .brand-txt { font-size: 1.1rem; }
  .slot-btn { font-size: 0.96rem; min-height: 52px; padding: 8px 10px; }
  .slot-btn .sb-ico { font-size: 1.05rem; }
  .lb-row { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 9px 12px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .cta-block { padding: 20px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar, .site-header, .dock, .site-footer, .ticker { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a { color: #000; }
}

/* Judul hasil pencarian — hanya untuk pembaca layar & struktur heading */
.sr-heading{
    position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0
}
