/* MeteorBet88 Togel — layout & komponen utama */

:root {
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --purple: #c400ff;
  --purple-soft: #b135c6;
  --orange: #ff8c00;
  --bg-deep: #0a0a0f;
  --card-bg: #111;
  --text-main: #f2f2f2;
  --text-muted: #b8b8b8;
  --text-soft: #9ca3af;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.has-mb-theme,
body.has-bg-image {
  background-color: #06060c;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(180, 0, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(255, 140, 0, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 70%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #100818 0%, #080810 35%, #050508 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body.has-mb-theme::before,
body.has-bg-image::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 3px
    );
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

/* Navbar */
.navbar--mb-strip {
  background: linear-gradient(180deg, #141018 0%, #000 100%) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.28) !important;
  padding: 0 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.navbar--mb-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar--mb-strip::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 0, 255, 0.65) 25%, rgba(255, 215, 0, 0.85) 50%, rgba(196, 0, 255, 0.65) 75%, transparent 100%);
  pointer-events: none;
}

footer { margin-top: auto; }
.mb-footer { padding-bottom: 160px; }

/* Navbar */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 1rem;
  background: transparent !important;
  line-height: 1;
}
.navbar-brand img.site-logo,
.navbar-brand .site-logo {
  display: block;
  max-width: min(360px, 72vw);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: none;
  box-shadow: none;
}
.nav-link { font-weight: 600; letter-spacing: .03em; }
.nav-link.active { color: var(--gold) !important; }
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero-section { margin-top: 118px; }
@media (max-width: 768px) { .hero-section { margin-top: 108px; } }
.page-hero { margin-top: 108px; padding: 1.5rem 0; }
.page-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
  background: linear-gradient(90deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-inner, .carousel-item { height: auto !important; }
#bannerCarousel .carousel-inner,
#bannerCarousel .carousel-item {
  background: transparent;
}
.banner-slide-link { display: block; text-decoration: none; }
.banner-frame {
  background: #0a0a0f;
  border: 1px solid rgba(255,215,0,.22);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.55);
  line-height: 0;
}
.main-banner-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: #0a0a0f;
}
.banner-frame picture {
  display: block;
  width: 100%;
  line-height: 0;
}
.banner-frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* CTA */
.btn-gold {
  background: linear-gradient(145deg, #ffd700, #b8860b);
  color: #000 !important;
  font-weight: 800;
  border: none;
}
.btn-orange {
  background: linear-gradient(145deg, #ff9a2e, #e65c00);
  color: #fff !important;
  font-weight: 800;
  border: none;
}
.btn-rtp {
  background: linear-gradient(145deg, #8a19c8, #5a0d8a);
  color: #fff !important;
  font-weight: 800;
  border: 1px solid var(--purple);
}
.btn-gold:hover, .btn-orange:hover, .btn-rtp:hover { filter: brightness(1.08); }
.btn-cta { padding: 12px 8px; font-size: .85rem; border-radius: 8px; }

/* Marquee */
.running-text-container {
  background: linear-gradient(90deg, #000, #1a0a28 50%, #000);
  border-top: 1px solid rgba(255,215,0,.25);
  border-bottom: 1px solid rgba(255,215,0,.25);
  padding: 8px 0;
  margin-bottom: 1.5rem;
}
.running-text-container marquee { color: var(--gold); font-weight: 700; font-size: .9rem; }

/* ── Market card (alur NusaGG: header → periode → result box → footer) ── */
.market-card {
  background: linear-gradient(165deg, rgba(28,28,28,.94) 0%, rgba(10,10,10,.96) 100%);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .25s;
}
.market-card:hover { transform: translateY(-2px); }

.market-card--gold { border: 1px solid rgba(255,215,0,.35); }
.market-card--gold:hover { box-shadow: 0 0 24px rgba(255,215,0,.2); }
.market-card--purple { border: 1px solid rgba(196,0,255,.35); }
.market-card--purple:hover { box-shadow: 0 0 24px rgba(196,0,255,.25); }
.market-card--dual {
  border: 1px solid transparent;
  background-image: linear-gradient(#111,#0a0a0a), linear-gradient(135deg, var(--gold), var(--purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.card-header-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #000;
  border-bottom: 1px solid #2a2a2a;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.market-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 160px;
}
.market-title {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.market-next {
  flex: 0 0 auto;
  font-size: .72rem;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
@media (max-width: 576px) {
  .market-next { width: 100%; text-align: right; padding-top: 2px; }
}

/* Logo pasaran — lingkaran penuh, gambar cover */
.market-logo-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.market-logo-cell--sm { width: 56px; height: 56px; }
.market-logo-cell--modal { width: 52px; height: 52px; }
.market-logo-cell--table { width: 56px; height: 56px; margin: 0 auto; }
.market-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
  border-radius: 50%;
}
.market-logo--modal,
.market-logo--table { width: 100%; height: 100%; }
.card-body-market { padding: 1rem; flex: 1; overflow: hidden; }
.card-footer-custom {
  padding: 10px 12px 14px;
  background: #050505;
  border-top: 1px solid #222;
}

/* Result box — border animasi emas (inti NusaGG) */
@keyframes border-dance {
  0% { background-position: 0 0, 100% 100%, 0 100%, 100% 0; }
  100% { background-position: 100% 0, 0 100%, 0 0, 100% 100%; }
}
.result-number-box {
  background-color: #000;
  background-image:
    linear-gradient(90deg, #FFD700 50%, transparent 50%),
    linear-gradient(90deg, #FFD700 50%, transparent 50%),
    linear-gradient(0deg, #FFD700 50%, transparent 50%),
    linear-gradient(0deg, #FFD700 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px 3px, 15px 3px, 3px 15px, 3px 15px;
  background-position: 0 0, 100% 100%, 0 100%, 100% 0;
  animation: border-dance 4s infinite linear;
  border-radius: 6px;
  padding: 14px 12px;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  margin: 12px auto;
  box-shadow: 0 0 18px rgba(255,215,0,.35);
}
.market-card--purple .result-number-box {
  background-image:
    linear-gradient(90deg, #c400ff 50%, transparent 50%),
    linear-gradient(90deg, #c400ff 50%, transparent 50%),
    linear-gradient(0deg, #c400ff 50%, transparent 50%),
    linear-gradient(0deg, #c400ff 50%, transparent 50%);
  box-shadow: 0 0 18px rgba(196,0,255,.35);
}
.result-number {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .12em;
  line-height: 1.1;
  text-shadow: 3px 3px 8px rgba(0,0,0,.9);
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
}
.result-number.len-5 { font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: .08em; }
.result-number.len-3 { font-size: clamp(2rem, 5.5vw, 3.5rem); letter-spacing: .14em; }
@media (max-width: 768px) {
  .result-number-box { padding: 10px 8px; margin: 10px auto; }
}

/* Modal (alur: header → bg result pasaran → tabel 5 history → footer CTA) */
.modal-content { background: #1a1a1a; border: 1px solid var(--gold); color: var(--text-main); overflow: hidden; }
.modal-header { border-bottom: 1px solid #333; background: #000; }
.modal-header .modal-title { flex: 1; min-width: 0; }
.modal-header .market-logo-cell--modal { flex-shrink: 0; }
.modal-title-text {
  min-width: 0;
  line-height: 1.25;
  font-size: .95rem;
  color: var(--gold);
}
.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }
.modal-result-bg {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  padding: 30px 15px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
  min-height: 220px;
  overflow: hidden;
}
.modal-result-bg--pasaran {
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}
.modal-result-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.62) 100%);
  z-index: 1;
}
.modal-result-frame {
  position: absolute;
  inset: 8px 10px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 2;
}
.modal-result-content { position: relative; z-index: 3; }
.modal-result-content .text-light { color: #ececec !important; }
.table-history-mini { font-size: .85rem; border-color: #333; width: 100%; table-layout: fixed; }
.table-history-mini th {
  background: linear-gradient(180deg, #2a2035 0%, #1a1522 100%);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.12);
  vertical-align: middle;
  padding: 8px 6px;
}
.table-history-mini td {
  background: rgba(14, 14, 20, 0.9);
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  padding: 8px 6px;
  word-break: break-word;
}
.table-history-mini th:nth-child(1), .table-history-mini td:nth-child(1) { width: 28%; }
.table-history-mini th:nth-child(2), .table-history-mini td:nth-child(2) { width: 32%; }
.table-history-mini th:nth-child(3), .table-history-mini td:nth-child(3) { width: 40%; }
.text-gold { color: var(--gold); font-weight: bold; font-variant-numeric: tabular-nums; }
.modal-footer-custom { background: #000; border-top: 1px solid #333; padding: 15px; }

/* Result page table */
.result-master-table { table-layout: auto; margin-bottom: 0; min-width: 640px; }
.result-table-wrap {
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(165deg, rgba(18, 12, 28, 0.92) 0%, rgba(8, 8, 12, 0.95) 100%);
  backdrop-filter: blur(6px);
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.result-logo-cell { width: 76px; min-width: 76px; }
.result-master-table th {
  background: linear-gradient(180deg, #1f1528 0%, #141018 100%);
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.15);
  font-size: .8rem;
  white-space: nowrap;
  vertical-align: middle;
  padding: 10px 8px;
}
.result-master-table td {
  background: rgba(12, 12, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  color: #ececec;
  padding: 10px 8px;
  font-size: .85rem;
}
.result-master-table tbody tr:hover td {
  background: rgba(28, 18, 40, 0.95);
}
.result-master-table td:nth-child(2) {
  text-align: left;
  max-width: 140px;
  word-break: break-word;
  white-space: normal;
}
.result-master-table .text-gold { font-variant-numeric: tabular-nums; white-space: nowrap; }
.filter-pills .btn { font-size: .78rem; border-radius: 999px; max-width: 100%; }
.filter-pills { max-height: 220px; overflow-y: auto; padding-bottom: 4px; }

@media (max-width: 768px) {
  .main-banner-img { width: 100%; height: auto; }
}

.prediksi-modal .modal-title { line-height: 1.35; }

/* Prediksi — filter → grid kartu + gambar pasaran → modal angka */
.prediksi-filter-form {
  background: linear-gradient(135deg, #1a0a28, #111);
  border: 1px solid rgba(196,0,255,.35);
  border-radius: 12px;
  padding: 1.25rem;
}
.prediksi-filter-label {
  display: block;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: .75rem;
  color: var(--gold);
}
.prediksi-select { font-weight: 600; }

.prediksi-list { display: flex; flex-direction: column; gap: 1rem; }
.prediksi-grid { margin-bottom: 0; }

.prediksi-card {
  background: linear-gradient(165deg, #1c1c1c, #0a0a0a);
  border: 1px solid rgba(255,215,0,.28);
  border-radius: 12px;
  transition: box-shadow .2s, border-color .2s;
}
.prediksi-card--grid {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prediksi-card-hero {
  background: linear-gradient(180deg, #0d0d12, #050508);
  border-bottom: 1px solid rgba(255,215,0,.22);
  padding: 14px 16px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prediksi-card-img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.65));
}
.prediksi-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prediksi-card-body .btn { margin-top: auto; }
.prediksi-modal-hero {
  background: #050508;
  padding: 16px;
  border-bottom: 1px solid rgba(196,0,255,.25);
  text-align: center;
}
.prediksi-modal-hero-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: inline-block;
}
.prediksi-card:hover {
  border-color: rgba(255,215,0,.5);
  box-shadow: 0 0 20px rgba(255,215,0,.12);
}
.prediksi-card-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: #000;
  border: 1px solid var(--purple);
  color: var(--purple);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: .5rem;
}
.prediksi-card-date { font-size: .8rem; color: var(--text-muted); margin-bottom: .35rem; }
.prediksi-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.4;
}
.prediksi-card-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #d1d5db;
  margin-bottom: .5rem;
}
.prediksi-card-excerpt {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  line-height: 1.55;
}

.prediksi-modal .modal-content { border-color: var(--purple); }
.prediksi-angka-grid .prediksi-angka-box {
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  height: 100%;
}
.prediksi-angka-box .label {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.prediksi-angka-box .value {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
}
.prediksi-angka-box.shio .value { font-size: 1rem; }
.prediksi-modal-foot { background: #0a0a0a; border-top: 1px solid #333; }

.prediksi-pagination .page-link { font-weight: 700; font-size: .85rem; }

.prediksi-box {
  background: linear-gradient(135deg, #1a0a28, #111);
  border: 1px solid rgba(196,0,255,.4);
  border-radius: 12px;
  padding: 1.25rem;
}
.prediksi-angka {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .2em;
}

/* Buku mimpi */
.mimpi-search { max-width: 420px; margin: 0 auto 1.5rem; }
.mimpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.mimpi-item {
  background: #151515;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
  font-size: .8rem;
  transition: border-color .2s;
}
.mimpi-item:hover { border-color: var(--purple); }
.mimpi-item strong { color: var(--gold); display: block; font-size: 1.1rem; }

/* Status API — hanya tampil jika SHOW_API_STATUS aktif */
.api-status { font-size: .78rem; color: var(--text-muted); text-align: center; margin-bottom: 1rem; }
.api-status[hidden] { display: none !important; }
.api-status .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; margin-right: 6px; box-shadow: 0 0 6px #22c55e;
}
.api-status.error .dot { background: #ef4444; box-shadow: 0 0 6px #ef4444; }

.market-skeleton {
  min-height: 300px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1a1a1a 25%, #282828 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Spin 4D */
.spin4d-fab {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255,215,0,.4);
  background: linear-gradient(180deg,#0b0b0b,#000);
  border-radius: 999px; cursor: pointer; color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.78);
}
.spin4d-fabIcon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid rgba(255,215,0,.85);
  box-shadow: 0 0 14px rgba(255,215,0,.45);
  line-height: 0;
}
.spin4d-fabImg {
  width: 92%;
  height: 92%;
  max-width: 92%;
  max-height: 92%;
  display: block;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.spin4d-fabText { font-weight: 900; font-size: 12px; color: #ffd700; }
.spin4d-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,.75); }
.spin4d-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 14px; pointer-events: none;
}
.spin4d-modal.isOpen { pointer-events: auto; }
.spin4d-panel {
  width: 420px; max-width: 100%;
  background: linear-gradient(180deg,#0b0b0b,#000);
  border: 1px solid rgba(255,215,0,.38);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.85);
}
.spin4d-panel--framed {
  position: relative;
  background-color: #050505;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.spin4d-panel--framed::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.88));
  pointer-events: none; z-index: 0;
}
.spin4d-panel--framed > * { position: relative; z-index: 1; }
.spin4d-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px; border-bottom: 1px solid rgba(255,215,0,.14);
}
.spin4d-title { font-size: 14px; font-weight: 900; color: #ffd700; }
.spin4d-sub { font-size: 12px; color: rgba(255,255,255,.78); margin-top: 4px; }
.spin4d-close {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid rgba(255,215,0,.22);
  background: rgba(255,255,255,.06); color: #fff; cursor: pointer;
}
.spin4d-body { padding: 14px; }
.spin4d-number {
  display: flex; gap: 10px; justify-content: center;
  font-size: 34px; font-weight: 900; padding: 10px 0;
}
.spin4d-number .d { width: 26px; text-align: center; }
.spin4d-number .d.locked { color: #ffd700; }
.spin4d-input {
  width: 100%; height: 50px; margin-top: 8px;
  border-radius: 14px; border: 1px solid rgba(255,215,0,.22);
  background: rgba(255,255,255,.06); color: #fff;
  font-size: 18px; font-weight: 900; letter-spacing: 2px; text-align: center;
}
.spin4d-foot { padding: 12px 14px 14px; border-top: 1px solid rgba(255,215,0,.14); }
.spin4d-btn {
  width: 100%; height: 48px; border: none; border-radius: 14px;
  font-weight: 900; color: #000;
  background: linear-gradient(145deg,#ffd700,#b8860b); cursor: pointer;
}

/* Utilitas kontras & form */
.text-secondary { color: var(--text-muted) !important; }
.form-control.bg-dark, .form-select.bg-dark {
  color: #fff !important;
  border-color: #444 !important;
}
.form-control.bg-dark::placeholder { color: #8b949e; }
.form-select.bg-dark option { background: #111; color: #fff; }
.alert-secondary { background: #1a1a22; border-color: #333; color: #d1d5db; }
footer .text-secondary, footer p { color: var(--text-muted) !important; }
footer strong { color: #fff; }
.badge.bg-dark { color: #f3f4f6 !important; border-color: #555 !important; }
