:root {
  --bg-body: #0f0722;
  --bg-header: #160a2e;
  --bg-nav: #281352;
  --bg-panel: #180c34;
  --bg-card: #1d103d;
  --bg-card-hover: #261550;
  --bg-footer: #1a0d36;
  --border-purple: #362166;
  --text-main: #ffffff;
  --text-soft: #c4b8de;
  --text-muted: #9384b8;
  --accent-gold: #facc15;
  --accent-orange: #ff6a00;
  --accent-orange-hover: #ff801f;
  --accent-purple-btn: #5228a8;
  --accent-purple-hover: #6535c9;
  --rtp-high: #22c55e;
  --rtp-mid: #f59e0b;
  --rtp-low: #ef4444;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.55;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

@media (min-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ================= HEADER & NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-top {
  background: var(--bg-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(250, 204, 21, 0.25));
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-login {
  background-color: var(--accent-purple-btn);
  color: #fff;
}

.btn-login:hover {
  background-color: var(--accent-purple-hover);
}

.btn-register {
  background-color: var(--accent-orange);
  color: #fff;
}

.btn-register:hover {
  background-color: var(--accent-orange-hover);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
  user-select: none;
}

.main-nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-purple);
  width: 100%;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 2px;
  padding-bottom: 2px;
}

.main-nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  border-bottom-color: var(--accent-gold);
}

/* ================= MAIN CONTENT ================= */
.main-content {
  padding-top: 18px;
  padding-bottom: 48px;
}

/* Provider Switcher */
.provider-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 14px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-purple) transparent;
}

.provider-switcher::-webkit-scrollbar {
  height: 4px;
}

.provider-switcher::-webkit-scrollbar-thumb {
  background: var(--border-purple);
  border-radius: 999px;
}

.provider-pill {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--border-purple);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.provider-pill:hover,
.provider-pill.active {
  background: var(--accent-purple-btn);
  border-color: var(--accent-gold);
  color: #fff;
}

/* Filter Panel */
.filter-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  flex: 1 1 100%;
}

@media (min-width: 900px) {
  .filter-tabs {
    flex: 1 1 520px;
  }
}

.filter-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 2px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  color: #ffffff;
  border-bottom-color: var(--accent-gold);
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 900px) {
  .filter-tools {
    width: auto;
  }
}

.sort-select {
  background: var(--bg-body);
  border: 1px solid var(--border-purple);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--accent-gold);
}

.search-wrap {
  position: relative;
  min-width: 200px;
}

.search-wrap input {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-purple);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 34px 8px 12px;
  font-size: 0.84rem;
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--accent-gold);
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.7;
  pointer-events: none;
}

/* Provider Heading & Countdown */
.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.provider-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gold-bar {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--accent-gold);
}

.provider-title-wrap h2 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.rtp-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-soft);
  background: var(--bg-panel);
  border: 1px solid var(--border-purple);
  padding: 6px 12px;
  border-radius: 999px;
  max-width: 100%;
}

.rtp-update-badge strong {
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--rtp-high);
  box-shadow: 0 0 8px var(--rtp-high);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ================= GAME GRID (2 KOLOM HP, 3 TABLET, 4 DESKTOP) ================= */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 640px) {
  .game-card {
    padding: 10px;
    gap: 9px;
  }
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
}

/* Gambar Responsif 16:10 (400x250 px) */
.thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #120826;
}

.thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.game-card:hover .thumb-box img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.badge-top {
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #14082b;
}

.badge-new {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.rtp-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.rtp-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-soft);
  flex-shrink: 0;
}

.rtp-track {
  flex: 1;
  min-width: 0;
  height: 7px;
  background: #0d061f;
  border-radius: 999px;
  overflow: hidden;
}

.rtp-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease, background-color 0.5s ease;
}

.rtp-percent {
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 38px;
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .rtp-row {
    gap: 8px;
  }
  .rtp-label {
    font-size: 0.72rem;
  }
  .rtp-percent {
    font-size: 0.76rem;
    min-width: 42px;
  }
}

.game-name {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f4f1ff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .game-name {
    font-size: 0.85rem;
  }
}

.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  background: var(--bg-panel);
  border: 1px dashed var(--border-purple);
  border-radius: var(--radius-md);
  color: var(--text-soft);
}

/* ================= ARTIKEL SEO ================= */
.seo-article {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-purple);
  color: var(--text-soft);
  word-wrap: break-word;
}

.seo-article h1 {
  font-size: 1.3rem;
  color: #e9e2ff;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .seo-article h1 {
    font-size: 1.55rem;
  }
}

.seo-article h2 {
  font-size: 1.08rem;
  color: #dfd5fa;
  margin-top: 22px;
  margin-bottom: 8px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .seo-article h2 {
    font-size: 1.18rem;
  }
}

.seo-article h3 {
  font-size: 0.98rem;
  color: var(--accent-gold);
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}

.seo-article p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.72;
}

.seo-article ul,
.seo-article ol {
  margin: 8px 0 14px 18px;
  font-size: 0.89rem;
  line-height: 1.7;
}

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

/* FAQ Block */
.seo-faq {
  margin-top: 26px;
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
}

@media (min-width: 640px) {
  .seo-faq {
    padding: 20px;
  }
}

.seo-faq h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.08rem;
  color: var(--accent-gold);
}

.faq-item {
  border-bottom: 1px dashed var(--border-purple);
  padding: 10px 0;
}

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

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

.faq-item p {
  margin-bottom: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-purple);
  padding: 36px 0 28px;
  margin-top: 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }
}

.footer-columns h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-columns ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-columns a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-providers {
  border-top: 1px solid var(--border-purple);
  padding: 18px 0;
}

.footer-providers-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-providers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.footer-prov-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.footer-prov-link:hover,
.footer-prov-link.active {
  color: #ffffff;
  border-color: var(--accent-gold);
  background: var(--accent-purple-btn);
}

.footer-payments {
  border-top: 1px solid var(--border-purple);
  border-bottom: 1px solid var(--border-purple);
  padding: 18px 0;
  margin-bottom: 18px;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-purple);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e9e4f8;
}

.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rtp-high);
  display: inline-block;
}

.payment-note {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.license-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.age-badge {
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ================= FLOATING WHATSAPP ================= */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ================= MODAL POLA ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 20, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1200;
}

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

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 22px;
}

.modal-head img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.modal-head h3 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.modal-head p {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.modal-rtp-wrap {
  margin-bottom: 14px;
}

.pola-details {
  list-style: none;
  background: var(--bg-body);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.pola-details li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-purple);
}

.pola-details li:last-child {
  border-bottom: none;
}

.pola-details strong {
  color: var(--accent-gold);
  text-align: right;
}

.modal-cta {
  width: 100%;
  padding: 12px;
}

/* Mobile Adjustments */
@media (max-width: 639px) {
  .brand-logo-img {
    height: 30px;
    max-width: 130px;
  }

  .header-actions {
    gap: 6px;
  }

  .btn {
    padding: 7px 11px;
    font-size: 0.72rem;
  }

  .filter-tools,
  .sort-select,
  .search-wrap {
    width: 100%;
  }
}

/* ================= HALAMAN HUB PROVIDER (/slots) ================= */
.hub-hero {
  background: var(--bg-panel);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hub-hero-text h1 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

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

.hub-search-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.hub-search-wrap input {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-purple);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 9px 34px 9px 12px;
  font-size: 0.84rem;
  outline: none;
}

.hub-search-wrap input:focus {
  border-color: var(--accent-gold);
}

/* Grid Box 250 x 250 Responsif */
.provider-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: center;
  width: 100%;
}

@media (min-width: 640px) {
  .provider-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .provider-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 250px));
    justify-content: center;
    gap: 22px;
  }
}

.provider-hub-card {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 35%, #2b165c 0%, var(--bg-card) 75%);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.provider-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 14px rgba(250, 204, 21, 0.18);
}

/* Area Logo: Mengunci semua rasio gambar tetap di dalam box */
.provider-logo-stage {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.provider-logo-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.provider-hub-card:hover .provider-logo-stage img {
  transform: scale(1.06);
}

.provider-logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(250, 204, 21, 0.35);
  background: rgba(15, 7, 34, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.provider-logo-fallback span {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  background: linear-gradient(180deg, #fff380 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.provider-hub-meta {
  flex-shrink: 0;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.provider-hub-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.provider-hub-cta {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #160a2e;
  background: var(--accent-gold);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

@media (max-width: 639px) {
  .hub-search-wrap {
    max-width: 100%;
  }

  .provider-hub-card {
    padding: 9px;
  }

  .provider-logo-stage {
    padding: 4px;
  }

  .provider-hub-name {
    font-size: 0.74rem;
  }

  .provider-hub-cta {
    font-size: 0.63rem;
    padding: 2px 8px;
  }
}

.game-provider-tag {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: -4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider-tag {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.32);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 639px) {
  .game-provider-tag {
    font-size: 0.58rem;
    padding: 3px 6px;
    letter-spacing: 0.25px;
  }
}

/* ================= LOGO PROVIDER FOOTER (EFEK MENYALA SAAT AKTIF) ================= */
.footer-providers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .footer-providers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  .footer-providers-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
  }
}

.footer-prov-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.footer-prov-link img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.52;
  filter: grayscale(65%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.footer-prov-fallback {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.2;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

/* Efek Hover */
.footer-prov-link:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.65);
  background: rgba(82, 40, 168, 0.28);
}

.footer-prov-link:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.footer-prov-link:hover .footer-prov-fallback {
  color: #ffffff;
}

/* Efek MENYALA (Active Slug, misal saat berada di /slots/yggdrasil) */
.footer-prov-link.active {
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.24) 0%, rgba(82, 40, 168, 0.65) 75%, var(--bg-card) 100%);
  border-color: var(--accent-gold);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45), inset 0 0 12px rgba(250, 204, 21, 0.22);
  transform: translateY(-2px);
  animation: providerGlowPulse 2.4s infinite ease-in-out;
}

.footer-prov-link.active img {
  opacity: 1;
  filter: grayscale(0%) brightness(1.12) drop-shadow(0 0 8px rgba(250, 204, 21, 0.75));
  transform: scale(1.06);
}

.footer-prov-link.active .footer-prov-fallback {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.75);
}

@keyframes providerGlowPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.4), inset 0 0 10px rgba(250, 204, 21, 0.18);
  }
  50% {
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.72), inset 0 0 15px rgba(250, 204, 21, 0.32);
  }
}

/* ================= EFEK BAR RTP CAPSULE + DIAGONAL STRIPES ================= */
.rtp-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 24px;
  border-radius: 999px;
  background: #120826;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.rtp-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 24px;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
}

.rtp-fill {
  height: 100%;
  border-radius: 999px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 8px,
    rgba(0, 0, 0, 0.14) 8px,
    rgba(0, 0, 0, 0.14) 16px
  );
  background-size: 22.63px 22.63px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  animation: rtpStripeSlide 1.1s linear infinite;
  transition: width 0.45s ease, background-color 0.3s ease;
}

.rtp-label,
.rtp-percent {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  min-width: auto;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.92), 0 0 5px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

/* Ukuran bar di dalam pop-up modal detail pola */
.modal-rtp-wrap .rtp-row,
.modal-rtp-wrap .rtp-track {
  height: 28px;
}

.modal-rtp-wrap .rtp-label,
.modal-rtp-wrap .rtp-percent {
  font-size: 0.82rem;
}

@keyframes rtpStripeSlide {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 22.63px 0;
  }
}

@media (max-width: 639px) {
  .rtp-row,
  .rtp-track {
    height: 21px;
  }

  .rtp-label,
  .rtp-percent {
    font-size: 0.68rem;
  }
}