/* ============================================================
   JNT777 OFFICIAL LANDING PAGE - PURE LIGHTWEIGHT CSS3
   Palet: Obsidian Black (#09090b) + Rich Gold (#f5c542) + Bronze (#1c170f)
   ============================================================ */
:root {
  --bg-page: #09090b;
  --bg-surface: #121114;
  --bg-card: #181512;
  --gold-top: #2b2110;
  --gold-dark: #141008;
  --gold: #f5c542;
  --gold-bright: #fde047;
  --gold-amber: #d97706;
  --green: #22c55e;
  --border: #2b251c;
  --border-gold: rgba(245, 197, 66, 0.38);
  --text-main: #f8fafc;
  --text-soft: #d6d3d1;
  --text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: radial-gradient(circle at 50% 0%, #241b0c 0%, var(--bg-page) 55%);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.inline-gold {
  color: var(--gold);
  font-weight: 700;
}

.inline-gold:hover {
  text-decoration: underline;
}

/* ================= FLOATING LEFT SOCIAL BAR ================= */
.cp-bar {
  position: fixed;
  top: 220px;
  left: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cp-item {
  display: flex;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(24, 19, 11, 0.94);
  border: 1px solid var(--border-gold);
  border-left: none;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  overflow: hidden;
  transition: width 0.28s ease, background 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.cp-item:hover {
  width: 165px;
  background: #2f2310;
}

.cp-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cp-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
  padding-right: 12px;
}

@media (max-width: 900px) {
  .cp-bar {
    display: none;
  }
}

/* ================= STICKY HEADER & GOLD NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8);
}

.utility-bar {
  background: #0d0b08;
  border-bottom: 1px solid rgba(245, 197, 66, 0.2);
  font-size: 0.76rem;
  padding: 5px 0;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amp-switch-link {
  background: rgba(245, 197, 66, 0.14);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 999px;
}

.amp-switch-link:hover {
  background: var(--gold);
  color: #120f08;
}

.lang-pill {
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.complaint-link {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.warn-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  color: #120f08;
  font-size: 0.68rem;
  font-weight: 900;
}

.brand-bar {
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-dark) 100%);
  padding: 10px 0;
}

.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(245, 197, 66, 0.3));
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-masuk {
  background: linear-gradient(180deg, #27272a 0%, #141416 100%);
  color: var(--gold);
  border-color: var(--gold);
}

.btn-daftar {
  background: linear-gradient(180deg, #f5c542 0%, #d97706 100%);
  color: #120f08;
  border-color: #fde047;
}

.btn-lg {
  padding: 12px 26px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* Gold Navigation Bar + Submenu Permainan */
.primary-nav {
  background: linear-gradient(180deg, #f5c542 0%, #b45309 100%);
  border-top: 1px solid #fef08a;
  border-bottom: 2px solid #78350f;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 900;
  color: #120f08;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.current,
.nav-has-sub:hover > .nav-link {
  background: #120f08;
  color: var(--gold);
}

.caret-down {
  font-size: 0.7rem;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 185px;
  list-style: none;
  background: #120f08;
  border: 1px solid var(--gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
  z-index: 1050;
  overflow: hidden;
}

.nav-has-sub:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #f8fafc;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nav-dropdown li:last-child a {
  border-bottom: none;
}

.nav-dropdown li a:hover {
  background: #2b2110;
  color: var(--gold);
  padding-left: 22px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 36px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-gold);
  border-radius: 5px;
  padding: 0 8px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
}

/* ================= TICKER & OFFICIAL STRIP ================= */
.ticker-bar {
  background: #12100d;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 0.78rem;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-badge {
  background: var(--gold);
  color: #120f08;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  padding-left: 100%;
  color: var(--text-soft);
  animation: marqueeSlide 26s linear infinite;
}

.ticker-track-wrap:hover .ticker-track {
  animation-play-state: paused;
}

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

.ticker-welcome {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.74rem;
}

.official-strip {
  padding: 8px 0 4px;
  text-align: center;
}

.official-banner-text {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(245, 197, 66, 0.35);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 8px 0 4px;
}

.breadcrumb a {
  color: var(--gold);
}

.main-wrap {
  padding: 12px 0 36px;
}

/* ================= HOME HERO SPLIT GRID ================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.hero-slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #14110a;
  aspect-ratio: 820 / 380;
}

.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.slider-cta-overlay {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.btn-hero-play,
.btn-hero-reg {
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid #fde047;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.btn-hero-play {
  background: linear-gradient(180deg, #27272a 0%, #121214 100%);
  color: var(--gold);
}

.btn-hero-reg {
  background: linear-gradient(180deg, #f5c542 0%, #d97706 100%);
  color: #120f08;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  width: 30px;
  height: 36px;
  cursor: pointer;
  z-index: 5;
  font-size: 1rem;
}

.slider-arrow.prev { left: 8px; border-radius: 4px; }
.slider-arrow.next { right: 8px; border-radius: 4px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--gold);
}

.hero-side-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 900px) {
  .hero-side-col {
    grid-template-columns: 1fr;
  }
}

.side-promo-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.side-promo-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

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

/* ================= 4 PERMAINAN LOBBY STRIP (HOME) ================= */
.lobby-strip-section {
  margin-bottom: 18px;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--gold);
}

.section-heading-row h2 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.4px;
}

.see-all-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
}

.see-all-link:hover {
  color: var(--gold);
}

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

@media (min-width: 768px) {
  .lobby-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lobby-card-4 {
  background: linear-gradient(180deg, #211a10 0%, #110f0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lobby-card-4:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(245, 197, 66, 0.25);
}

.lobby-tag {
  font-size: 0.64rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.lobby-title {
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.lobby-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.lobby-btn-mini {
  margin-top: 4px;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gold);
  color: #120f08;
}

/* ================= PANELS, FORMS, PROMO, PERMAINAN ================= */
.panel-card,
.seo-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 18px;
}

.seo-box h1 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.seo-box h2 {
  font-size: 1.05rem;
  color: #ffffff;
  margin: 16px 0 8px;
}

.seo-box p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.seo-box ul {
  margin-left: 20px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.seo-box li {
  margin-bottom: 6px;
}

/* Category Hero & Filter Toolbar */
.category-hero-banner {
  background: linear-gradient(135deg, #2b200e 0%, #131110 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}

.cat-badge {
  display: inline-block;
  background: var(--gold);
  color: #120f08;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.cat-hero-content h1 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.cat-hero-content p {
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 720px;
}

.cat-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.toolbar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  background: #1b1814;
  color: var(--text-soft);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.pill-btn.active,
.pill-btn:hover {
  background: var(--gold);
  color: #120f08;
  border-color: var(--gold);
}

/* 4 Permainan Showcase Cards (/permainan) */
.games-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .games-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-showcase-card {
  background: linear-gradient(180deg, #1f1910 0%, #12100d 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.gsc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gsc-badge {
  background: var(--gold);
  color: #120f08;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 999px;
}

.gsc-status {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
}

.gsc-head h2 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 2px;
}

.gsc-sub {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.gsc-desc {
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.gsc-tags-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.gsc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gsc-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
}

.gsc-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.gsc-actions .btn {
  flex: 1;
}

/* Register Form */
.register-brand-head {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.register-brand-head img {
  margin: 0 auto 10px;
  height: 52px;
  width: auto;
}

.register-brand-head h1 {
  font-size: 1.3rem;
  color: var(--gold);
}

.register-brand-head p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.validation-alert {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid #ef4444;
  color: #fecaca;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.validation-success {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid #22c55e;
  color: #bbf7d0;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .reg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reg-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 5px;
}

.req {
  color: #ef4444;
}

.reg-row input,
.reg-row select,
.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0d0b08;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
}

.reg-row input:focus,
.reg-row select:focus,
.form-group input:focus {
  border-color: var(--gold);
}

.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-code {
  background: var(--gold);
  color: #120f08;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 3px;
  padding: 8px 14px;
  border-radius: 6px;
  user-select: none;
}

.captcha-refresh {
  background: #27272a;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}

.reg-agree {
  margin: 18px 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
}

.reg-submit-wrap {
  text-align: center;
}

/* Bonus Page */
.section-tab-bar {
  margin-bottom: 14px;
}

.tab-pill {
  display: inline-block;
  background: #241b0c;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 800;
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-banner-card {
  background: linear-gradient(135deg, #241b0c 0%, #12100d 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
}

.promo-banner-main {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.promo-left-info {
  flex: 1;
  min-width: 240px;
}

.promo-tag {
  display: inline-block;
  background: var(--gold);
  color: #120f08;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.promo-left-info h2 {
  font-size: 1.18rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.promo-left-info p {
  font-size: 0.85rem;
  color: var(--gold);
}

.promo-rate-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #120f08;
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-rate-circle span {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 700;
}

.promo-rate-circle strong {
  font-size: 1.25rem;
  color: #ffffff;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
}

.btn-info-toggle {
  background: #27272a;
  color: #ffffff;
  border: 1px solid var(--border);
}

.promo-detail-drawer {
  background: #0d0b08;
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.promo-detail-drawer h4 {
  color: var(--gold);
  margin-bottom: 8px;
}

.promo-detail-drawer ul {
  margin-left: 18px;
}

.promo-detail-drawer li {
  margin-bottom: 5px;
}

/* Mobile, Referral, Bantuan */
.section-heading-gold {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-heading-gold h1 {
  font-size: 1.3rem;
  color: var(--gold);
}

.section-heading-gold p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.mobile-download-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .mobile-download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.app-download-card,
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 20px;
}

.app-os-badge,
.contact-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #120f08;
  margin-bottom: 10px;
}

.app-download-card h2,
.contact-card h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.app-download-card p,
.contact-card p {
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.install-guide-box {
  background: #0d0b08;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}

.install-guide-box h3 {
  color: var(--gold);
  font-size: 0.96rem;
  margin-bottom: 8px;
}

.install-guide-box ol {
  margin-left: 20px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.install-guide-box li {
  margin-bottom: 6px;
}

.center-gold-title {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.step-num {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--gold);
  color: #120f08;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.table-wrap {
  overflow-x: auto;
}

.commission-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.commission-table th,
.commission-table td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.commission-table th {
  background: #21190c;
  color: var(--gold);
}

.faq-section h2 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 0.94rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* ================= FOOTER ================= */
.site-footer {
  background: #070709;
  border-top: 2px solid var(--gold-amber);
  padding: 24px 0 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--gold);
}

.footer-games-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-games-strip a:hover {
  text-decoration: underline;
}

.footer-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .footer-meta-grid { grid-template-columns: 1fr 1.4fr; }
}

.footer-group-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trust-badge,
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #141210;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-soft);
}

.trust-badge.age {
  border-color: var(--gold);
  color: var(--gold);
}

.pay-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.footer-copy {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ================= MODAL, ROLL WIDGET & MOBILE CTA ================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 400px;
  background: #16130e;
  border: 1px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
}

.modal-header {
  background: #241b0c;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 0.96rem;
  color: var(--gold);
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.modal-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gold);
}

.roll-widget {
  position: fixed;
  right: 14px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 950;
}

.roll-widget button {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: rgba(24, 20, 14, 0.92);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  cursor: pointer;
}

.mobile-bottom-bar {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 56px;
  }

  .ticker-welcome {
    display: none;
  }

  .site-logo img {
    height: 40px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 11px 16px;
  }

  .nav-dropdown {
    position: static;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding-left: 16px;
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #120f08;
    border-top: 1px solid var(--gold);
  }

  .m-cta {
    flex: 1;
    text-align: center;
    padding: 13px;
    font-size: 0.88rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
  }

  .m-login {
    background: #1e1a12;
    color: var(--gold);
  }

  .m-daftar {
    background: linear-gradient(180deg, #f5c542 0%, #d97706 100%);
    color: #120f08;
  }
}
