:root  {
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* === PREMIUM RED & GOLD SYSTEM === */
  --color-body-bg: #2b0404; /* Diubah dari hitam ke merah gelap marun */
  --color-text: #ffffff;
  --color-text-soft: #f5e6e6; /* Diubah ke tone putih kemerahan */
  --color-article-text: #eae8da;

  /* Emas Mewah */
  --color-primary: #a17f1a;
  --color-primary-alt: #f1c40f;
  --color-primary-soft: #fff4cc;

  --color-primary-grad: linear-gradient(
    135deg,
    #bd9313,
    #ffd700
  );

  --color-primary-grad-horizontal: linear-gradient(
    90deg,
    #9a7812,
    #f1c40f,
    #9a7812
  );

  --color-accent-grad: linear-gradient(
    135deg,
    #f39c12,
    #f1c40f
  );

  /* === BORDER & SURFACE === */
  --color-border-soft: rgba(241, 196, 15, 0.2);
  --color-border-strong: #f1c40f;

  --color-surface-dark: rgba(74, 5, 5, 0.98); /* Diubah ke merah gelap transparan */
  --color-surface-soft: #3d0808; /* Diubah ke merah marun lembut */
  --color-surface-card: #4a0a0a; /* Diubah ke merah marun kartu */

  /* === BACKGROUND LAYERS === */
  --color-bg-dark-1: #1f0202; /* Diubah dari hitam pekat ke marun sangat gelap */
  --color-bg-dark-2: #360505; /* Diubah ke marun layer 2 */
  --color-bg-dark-2-hover: #540c0c; /* Diubah ke marun terang saat hover */

  /* === EFFECT & DECORATION === */
  --color-flame-grad: linear-gradient(135deg, #ffd700, #bd9313);
  --color-divider-red: linear-gradient(90deg, transparent, #ff3333, transparent); /* Diubah dari emas ke merah menyala */

  /* === SCROLLBAR === */
  --color-scrollbar-track: #260303; /* Diubah ke marun gelap */
  --color-scrollbar-thumb: #f1c40f;
  --color-scrollbar-shadow: rgba(241, 196, 15, 0.3);

  /* === BADGE SYSTEM === */
  --badge-viral-bg: #ff4d4d; /* Diubah dari kuning ke merah viral */
  --badge-viral-text: #ffffff; /* Diubah ke putih */
  --badge-new-bg: #f1c40f;
  --badge-new-text: #2b0404; /* Diubah dari hitam ke marun gelap */
  --badge-provider-bg: #f5cd79;
  --badge-provider-text: #2b0404; /* Diubah dari hitam ke marun gelap */
  --badge-ft-bg: #d32f2f; /* Diubah dari emas tua ke merah solid */
  --badge-ft-text: #ffffff;

  /* === SHADOW & GLOW === */
  --shadow-soft: 0 4px 15px rgba(255, 0, 0, 0.3); /* Diubah dari hitam ke glow merah transparan */
  --shadow-strong: 0 0 15px rgba(241, 196, 15, 0.15);
  --shadow-thumb: 0 2px 8px rgba(74, 10, 10, 0.8); /* Diubah dari hitam ke marun */
  --shadow-hero: 0 8px 24px rgba(43, 4, 4, 0.9); /* Diubah dari hitam ke marun */

  --shadow-btn-primary: 0 4px 12px rgba(241, 196, 15, 0.3);
  --shadow-btn-cta: 0 4px 12px rgba(241, 196, 15, 0.4);
  --shadow-btn-play: 0 4px 10px rgba(255, 215, 0, 0.4);
  --shadow-step-number: 0 0 8px rgba(241, 196, 15, 0.6);

  /* === HEADER & SECTION === */
  --color-header-bg: #3d0808; /* Diubah dari hitam ke marun */
  --section-bg-game-grad: linear-gradient(180deg, #2b0404 0%, rgba(94, 12, 12, 0.4) 50%, #2b0404 100%); /* Gradasi merah dominan */
  --hero-content-bg: rgba(74, 10, 10, 0.85); /* Diubah dari hitam ke marun transparan */
  --cta-bg: radial-gradient(circle at top, #5e0c0c 0%, #2b0404 100%); /* Gradasi radial merah dominan */

  /* === HERO & SEO === */
  --section-bg-game-image: url("https://pixel.gambar-lp.com/leoslot88/background-leoslot88-new.webp");
  --hero-overlay-grad: linear-gradient(90deg, #2b0404 0%, rgba(43, 4, 4, 0.8) 40%, transparent 100%); /* Overlay merah gelap */
  --seo-link: #f1c40f;
  --seo-link-border: rgba(241, 196, 15, 0.4);
  --footer-link: #fff4cc;

  --font-family-sans: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-md: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 32px
}

*  {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body  {
  font-family: var(--font-family-sans);
  background: var(--color-body-bg);
  color: var(--color-text);
  min-height: 100vh
}

a  {
  color: inherit;
  text-decoration: none
}

button  {
  font: inherit
}

img  {
  max-width: 100%;
  display: block;
}

.main-header  {
  width: 100%;
  padding: 12px 0;
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(241, 196, 15, 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner  {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative
}

.header-logo img  {
  display: block
}

.hamburger-btn  {
  font-size: 26px;
  background: 0 0;
  border: none;
  color: var(--color-primary-alt);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-md)
}

.hamburger-btn:hover  {
  background: rgba(241, 196, 15, 0.1)
}

.header-quick-links  {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  font-size: 16px
}

.header-quick-links a  {
  color: rgba(255, 255, 255, .85);
  position: relative;
  padding-bottom: 2px
}

.header-quick-links a::after  {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-grad-horizontal);
  transition: width .18s ease-out
}

.header-quick-links a:hover::after  {
  width: 100%
}

.header-quick-links a:hover  {
  color: var(--color-text)
}

.menu-list  {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.menu-item  {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-bg-dark-2);
  border: 1px solid rgba(241, 196, 15, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  transition: background .15s
}

.menu-item:hover  {
  background: var(--color-bg-dark-2-hover);
  border-color: var(--color-primary-alt);
}

.menu-item .menu-icon  {
  display: block;
  flex-shrink: 0;
  margin-right: 4px;
  border-radius: var(--radius-sm)
}

.hero-banner  {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none
}

.hero-img img  {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top
}

.hero-overlay  {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-grad)
}

.hero-content  {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  color: var(--color-text);
  max-width: 380px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--hero-content-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 196, 15, 0.2);
  box-shadow: var(--shadow-hero)
}

.hero-title  {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(43, 4, 4, .8) /* Diubah shadow ke marun */
}

.hero-subtitle  {
  font-size: 16px;
  opacity: .95;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(43, 4, 4, .8) /* Diubah shadow ke marun */
}

.hero-btn  {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  background: var(--color-primary-grad);
  color: #2b0404; /* Diubah ke marun agar kontras dengan gold */
  font-weight: 700;
  box-shadow: var(--shadow-btn-primary)
}

/* AREA CTA AUTH FULL FIX */
.cta-auth  {
  padding: 24px 16px; 
  background: var(--cta-bg);
  border-top: 1px solid rgba(241, 196, 15, 0.25);
  border-bottom: 1px solid rgba(241, 196, 15, 0.1);
  box-shadow: 0 10px 30px rgba(43, 4, 4, 0.9); /* Diubah shadow ke marun */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-inner  {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.cta-text  {
  flex: 1 1 auto
}

.cta-title  {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffd700, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle  {
  font-size: 12px;
  color: #f5e6e6; /* Diubah ke putih kemerahan soft */
  line-height: 1.5;
}

.cta-actions  {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px; 
  font-size: 15px; 
  font-weight: 850; 
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-login  {
  background: rgba(241, 196, 15, 0.04);
  border-color: #ffd700;
  color: #ffd700;
  box-shadow: inset 0 0 8px rgba(241, 196, 15, 0.1);
}

.btn-cta-login:hover {
  background: #ffd700;
  color: #2b0404; /* Diubah dari hitam ke marun */
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
}

.btn-cta-daftar  {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #2b0404; /* Diubah dari hitam ke marun */
  box-shadow: 0 4px 20px rgba(241, 196, 15, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-cta-daftar:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(241, 196, 15, 0.6);
}

.section-bg-game  {
  position: relative;
  padding: 5px 0;
  background: var(--section-bg-game-grad), var(--section-bg-game-image) center/cover no-repeat
}

.page-wrapper  {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 20px 40px
}

.game-block  {
  background: rgba(61, 8, 8, 0.95); /* Diubah dari hitam transparan ke marun transparan */
  border: 1px solid rgba(241, 196, 15, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px
}

.top-head  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

.left-head  {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto
}

.flame-icon  {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-flame-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px
}

.section-title  {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap
}

.red-divider  {
  flex: 1 1 auto;
  height: 2px;
  background: var(--color-divider-red);
  margin-left: 10px;
  border-radius: var(--radius-pill)
}

.btn-more  {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-primary-alt);
  background: transparent;
  color: var(--color-primary-alt);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.btn-more:hover  {
  background: var(--color-primary-grad);
  color: #2b0404; /* Diubah dari hitam ke marun */
}

.game-section  {
  margin: 10px 0 14px;
}

.games-viewport  {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 4px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.game-card.is-active {
  outline: none !important;
  box-shadow: 0 0 0 2px #ffd700;
  border-color: #ffd700;
}

/* ========================================================
   [1] KODE UNTUK GAME CARD UTAMA (TETAP KOTAK 1:1 + RTP)
   ======================================================== */
.games-grid  {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  justify-content: start;
  padding-top: 5px;
  grid-template-rows: 1fr;
  gap: 12px
}

/* Menggunakan :has(.rtp) untuk mendeteksi kartu Game asli agar tetap kotak 1:1 */
.game-card:has(.rtp), 
.game-card:not(:has(img[src*="provider"])) {
  background: #4a0a0a; /* Diubah dari #161616 hitam ke merah marun */
  border: 1px solid #7a1f1f; /* Diubah ke warna border marun terang */
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 132px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game-card:has(.rtp) .game-thumb {
  position: relative;
  width: 120px;
  aspect-ratio: 1 / 1; /* Game tetap kotak sempurna */
  height: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-thumb)
}

.game-card:has(.rtp) .game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Teks badge game di pojok kiri atas tetap menyala */
.game-card:has(.rtp) .badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--color-primary-grad);
  color: #2b0404; /* Diubah dari hitam ke marun */
  padding: 2px 6px;
  font-size: 9px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  font-weight: 800;
  z-index: 3;
  display: block !important;
}


/* ========================================================
   [2] KODE KHUSUS PROVIDER CARD (PERSEGI PANJANG & TANPA TAG)
   ======================================================== */
/* Jika kartu tidak memiliki rating RTP (berarti dia list provider di atas) */
.game-card:not(:has(.rtp)) {
  background: #3d0808; /* Diubah dari #121212 hitam ke marun */
  border: 2px solid #5e0c0c; /* Diubah dari gelap ke marun terang */
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px; /* Diperlebar agar proporsi persegi panjang bagus */
  scroll-snap-align: start;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-card:not(:has(.rtp)):hover {
  border-color: #ffd700;
  background: #540c0c; /* Diubah ke marun cerah */
  box-shadow: 0 0 12px rgba(241, 196, 15, 0.3);
}

.game-card:not(:has(.rtp)) .game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2.3 / 1; /* Mengikuti ukuran gambar horizontal asli */
  background: transparent; 
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.game-card:not(:has(.rtp)) .game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; 
  height: 100%;
  margin: auto;
  object-fit: contain; /* Gambar horizontal utuh tanpa kepotong */
  filter: none; /* Tampilkan warna asli tombol banner provider */
}

/* Tanpa Tag: Sembunyikan badge teks kuning khusus pada area provider */
.game-card:not(:has(.rtp)) .badge,
.game-card:not(:has(.rtp)) .badge-provider {
  display: none !important;
}


/* ========================================================
   [3] ELEMEN UMUM (PLAY OVERLAY & SCROLLBAR)
   ======================================================== */
.badge-provider  {
  background: var(--badge-provider-bg);
  color: var(--badge-provider-text)
}

.games-viewport::-webkit-scrollbar  {
  height: 5px
}

.games-viewport::-webkit-scrollbar-track  {
  background: var(--color-scrollbar-track);
  border-radius: var(--radius-pill)
}

.games-viewport::-webkit-scrollbar-thumb  {
  background: var(--color-scrollbar-thumb);
  border-radius: var(--radius-pill)
}

.play-overlay  {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 4, 4, 0.7); /* Diubah dari hitam transparan ke marun transparan */
  opacity: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 4;
}

.play-button  {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-grad);
  color: #2b0404; /* Diubah dari hitam ke marun */
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.game-card:hover .play-overlay,
.game-card:focus-within .play-overlay  {
  opacity: 1;
  pointer-events: auto;
}

/* === BAR RTP TETAP DI-PERTAHANKAN WARNA ASLINYA === */
.rtp  {
  width: 100%;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1f0202; /* Diubah dari hitam pekat ke marun gelap */
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.rtp-wrap  {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.rtp .rtp-text  {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
  color: #ffffff;
  z-index: 2;
}

.rtp .rtp-fill  {
  height: 20px;
  width: 0;
  transition: width .35s ease;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1;
}

.rtp .rtp-fill.low  {
  background: linear-gradient(90deg, #ffc33b, #b80f0f);
}

.rtp .rtp-fill.mid  {
  background: linear-gradient(90deg, #ffcc4a, #ff8a00);
}

.rtp .rtp-fill.high  {
  background: linear-gradient(90deg, #2ee37a, #0fb85b);
}

/* Sidebar (non-AMP) */
.menu-sidebar  {
  position: fixed;
  top: 0;
  left: -280px;
  height: 100vh;
  width: 260px;
  background: var(--color-bg-dark-1);
  border-right: 1px solid rgba(241, 196, 15, 0.2);
  padding: 20px 14px;
  overflow: auto;
  box-shadow: 4px 0 12px rgba(43, 4, 4, 0.6); /* Diubah shadow ke marun */
  transition: left .25s ease;
  z-index: 10000;
}

.menu-sidebar.is-open  {
  left: 0;
}

.menu-backdrop  {
  position: fixed;
  inset: 0;
  background: rgba(43, 4, 4, 0.6); /* Diubah dari hitam ke marun transparan */
  backdrop-filter: blur(2px);
  display: none;
  z-index: 9999;
}

.menu-backdrop.is-open  {
  display: block;
}

.games-grid-lainnya  {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 1024px)  {
  .games-grid-lainnya  {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px)  {
  .games-grid-lainnya  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.game-card-lainnya  {
  background: #3d0808; /* Diubah dari hitam ke marun */
  border: 1px solid #5e0c0c; /* Diubah ke border marun */
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.game-thumb-lainnya  {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-thumb);
  position: relative;
}

.game-thumb-lainnya img  {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay-lainnya  {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 4, 4, .6); /* Diubah dari hitam ke marun transparan */
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.play-button-lainnya  {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-grad);
  color: #2b0404; /* Diubah dari hitam ke marun */
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.game-card-lainnya:hover .play-overlay-lainnya,
.game-card-lainnya:focus-within .play-overlay-lainnya  {
  opacity: 1;
  pointer-events: auto;
}

.game-title-lainnya  {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-soft);
  line-height: 1.3;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-menu  {
  padding: 0
}

.bottom-menu .bottom-item  {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-text);
  font-size: 11px
}

.bottom-menu .bottom-item .icon  {
  display: block;
  margin: 0 auto
}

.only-mobile  {
  display: none
}

/* ===================================================
   RESPONSIVE MOBILE 
   =================================================== */
@media (max-width:768px)  {
  .only-mobile  {
    display: block
  }

  body  {
    padding-bottom: 68px; 
    background: #2b0404; /* Diubah dari hitam ke marun */
  }

  .main-header  {
    padding: 10px 0;
  }

  .header-inner  {
    padding: 0 12px
  }

  .hero-content,
  .hero-overlay  {
    display: none
  }

  .cta-inner  {
    padding: 4px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cta-actions  {
    flex-direction: row; 
    width: 100%;
    gap: 10px;
  }

  .btn-cta  {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 15px 0; 
    font-size: 14px;
  }

  .cta-subtitle  {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
  }
  
  .cta-title {
    text-align: center;
  }

  .page-wrapper  {
    max-width: 100%;
    padding: 12px;
  }

  .red-divider,
  .btn-more  {
    display: none
  }

  .game-block  {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px
  }

  .header-quick-links  {
    display: none
  }

  /* Ukuran khusus mobile untuk item grid slider horizontal */
  .game-card:has(.rtp) {
    width: 116px; 
    padding: 6px;
    border: 1px solid #7a1f1f; /* Diubah ke marun terang */
    background: #4a0a0a; /* Diubah dari hitam ke marun */
  }
  
  .game-card:not(:has(.rtp)) {
    width: 124px;
    padding: 10px;
    border: 2px solid #5e0c0c; /* Diubah ke marun terang */
    background: #3d0808; /* Diubah dari hitam ke marun */
  }

  .game-card:has(.rtp) .game-thumb {
    width: 104px;
    aspect-ratio: 1 / 1;
  }

  .game-card:not(:has(.rtp)) .game-thumb {
    width: 100%;
    aspect-ratio: 2.3 / 1;
  }

  .games-grid  {
    grid-auto-flow: column;
    grid-auto-columns: max-content; /* Otomatis mendeteksi lebar card game vs provider */
    justify-content: start;
    gap: 10px;
    padding-top: 5px
  }

  .games-grid-lainnya  {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .game-card-lainnya  {
    padding: 6px;
    background: #3d0808; /* Diubah dari hitam ke marun */
    border: 2px solid #5e0c0c; /* Diubah ke border marun */
  }

  .game-title-lainnya  {
    font-size: 11px;
  }

  .bottom-menu  {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    background: #3d0808; /* Diubah dari hitam ke marun */
    border-top: 2px solid var(--color-primary-alt);
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(43,4,4,0.8); /* Diubah shadow ke marun */
  }

  .bottom-menu a  {
    flex: 1;
    text-align: center;
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    padding: 6px 0;
    font-weight: 600;
  }
}

.main-footer  {
  padding: 24px 16px;
  border-top: 1px solid rgba(241, 196, 15, 0.2);
  background: #1f0202; /* Diubah dari hitam pekat ke marun sangat gelap */
}

.footer-inner  {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
  font-size: 12px;
  opacity: .85;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px
}

.footer-links  {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  justify-content: center
}

.footer-links a  {
  color: var(--color-primary-alt);
  font-size: 12px;
  text-decoration: none
}

.footer-links a:hover  {
  text-decoration: underline
}