      @font-face {
        font-family: 'digital_sans_ef_medium';
        font-display: swap;
        src: url('templates/vendor/Fonts/digital_sans_ef_medium.woff2') format('woff2'),
          url('templates/vendor/Fonts/digital_sans_ef_medium.woff') format('woff');
        font-weight: normal;
        font-style: normal;
      }

      @font-face {
        font-family: 'gilroybold';
        font-display: swap;
        src: url('templates/vendor/Fonts/Gilroy-Bold.woff2') format('woff2'),
          url('templates/vendor/Fonts/Gilroy-Bold.woff') format('woff');
        font-weight: normal;
        font-style: normal;
      }

      @font-face {
        font-family: 'Open24DisplaySt';
        font-display: swap;
        src: url('templates/vendor/Fonts/Open24DisplaySt.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
      }

      @font-face {
        font-family: 'Glyphicons Halflings';
        font-display: swap;
        src: url('templates/vendor/Fonts/glyphicons-halflings-regular.woff') format('woff');
      }

      body {
        font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
        font-size: 14px;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      .h1,
      .h2,
      .h3,
      .h4,
      .h5,
      .h6 {
        font-family: inherit;
      }

      .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
        font-family: 'gilroybold';
      }

      .home-progressive-jackpot .jackpot-container {
        font-family: 'Open24DisplaySt';
      }

      .glyphicon {
        font-family: 'Glyphicons Halflings';
      }
            .wabuttonmob3 {
        position: fixed;
        bottom: 5%;
        left: 2%;
        z-index: 100;
        width: 70px;
        height: 70px;
      }

      @media only screen and (max-width: 600px) {
        .wabuttonmob3 {
          position: fixed;
          bottom: 8%;
          left: 5%;
          z-index: 100;
          width: 40px;
          height: 40px;
        }
      }
    :root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --header-height: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  --bg: #0b0b1a;
  --bg-card: #12132b;
  --bg-card-2: #1a1c3d;
  --bg-card-3: #23254e;

  --white: #ffffff;
  --grey-300: #c0c3e6;
  --grey-400: #888cb8;
  --grey-500: #595c8a;
  --grey-600: #3a3c61;

  --gold: #ff007f;
  --gold-light: #ff47a3;
  --gold-dark: #cc0066;
  --gold-dim: rgba(255, 0, 127, 0.15);
  --gold-glow: rgba(255, 0, 127, 0.4);

  --red: #00d4ff;
  --red-light: #52e1ff;
  --red-dark: #0099cc;
  --red-dim: rgba(0, 212, 255, 0.15);
  --red-glow: rgba(0, 212, 255, 0.4);

  --rtp-high: #00ffcc;
  --rtp-medium: #ffb700;
  --rtp-low: #ff2a6d;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input,
select {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes skeletonShimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: calc(400px + 100%) 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0e0f13;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 18px var(--gold-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-dim);
}

.btn-accent {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(240, 192, 64, 0.3);
}

.btn-accent:hover {
  background: rgba(240, 192, 64, 0.2);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 1rem;
}
.btn-lg {
  padding: 13px 30px;
  font-size: 0.85rem;
}

.btn-nav-outline {
  padding: 7px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-nav-gold {
  padding: 7px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  border: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-gold:hover {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  box-shadow: 0 3px 14px var(--red-glow);
}

.btn-red {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  border: none;
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  box-shadow: 0 4px 18px var(--red-glow);
  transform: translateY(-1px);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey-300);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.icon-btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #0e0f13;
}

.icon-btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.icon-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: #0e0f13;
  border-bottom: 1px solid rgba(240, 192, 64, 0.1);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(14, 15, 19, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-mobile-actions {
  display: none;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-300);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.section-providers {
  padding: calc(var(--header-height) + 20px) 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.providers-header {
  margin-bottom: 14px;
}

.providers-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
}

.provider-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  flex: 1;
}

.provider-slider::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--grey-300);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.provider-card {
  flex: 0 0 auto;
  min-width: 110px;
  padding: 9px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  animation: fadeIn 0.4s ease;
  position: relative;
  overflow: hidden;
}

.provider-card:hover {
  border-color: rgba(240, 192, 64, 0.4);
  background: var(--bg-card-2);
}

.provider-card.active {
  border-color: var(--gold);
  background: rgba(240, 192, 64, 0.08);
}

.provider-logo {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  overflow: hidden;
}

.provider-logo img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.provider-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.provider-card.active .provider-name,
.provider-card:hover .provider-name {
  color: var(--gold);
}

.provider-hot {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 1px 5px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 3px;
  line-height: 1.4;
  z-index: 1;
}

.loading-skeleton {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.skeleton-provider {
  flex: 0 0 110px;
  height: 64px;
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-2) 50%, var(--bg-card) 100%);
  background-size: 400px 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius);
}

.section {
  padding: 28px 0 60px;
}

.games-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.games-title {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.games-title i {
  margin-right: 8px;
  color: var(--grey-300);
}

.games-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 230px;
  padding: 10px 36px 10px 14px;
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.search-box input::placeholder {
  color: var(--grey-400);
}

.search-box input:focus {
  border-color: rgba(240, 192, 64, 0.4);
  background: var(--bg-card);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-400);
  font-size: 0.8rem;
  padding: 3px;
  transition: var(--transition-fast);
}

.search-clear:hover {
  color: var(--white);
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
  animation: fadeIn 0.22s ease;
}

.filter-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
}

.filter-select {
  padding: 9px 30px 9px 12px;
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.78rem;
  min-width: 140px;
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23f0c040' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.filter-select:focus {
  border-color: rgba(240, 192, 64, 0.4);
}

.filter-select option {
  background: var(--bg-card-2);
  color: var(--white);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: rgba(240, 192, 64, 0.1);
  border: 1px solid rgba(240, 192, 64, 0.3);
  border-radius: 20px;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.filter-tag button {
  font-size: 1rem;
  color: var(--grey-300);
  transition: var(--transition-fast);
}

.filter-tag button:hover {
  color: var(--white);
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 2px;
}

#resultsCount {
  font-size: 1rem;
  color: var(--white);
}

#resultsCount strong {
  color: var(--gold);
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--grey-400);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
  color: var(--gold);
  border-color: rgba(240, 192, 64, 0.3);
  background: rgba(240, 192, 64, 0.08);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.games-grid.list-view {
  grid-template-columns: 1fr;
}

#gamesLoading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.skeleton-card {
  height: 360px;
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-2) 50%, var(--bg-card) 100%);
  background-size: 400px 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius-lg);
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  animation: fadeInUp 0.4s ease both;
  position: relative;
  box-shadow: 0 6px 24px rgba(229, 57, 53, 0.35);
}

.game-card:hover {
  border-color: rgba(240, 192, 64, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.game-card-header {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-card-3);
}

.game-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.game-card:hover .game-card-header img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
}

.badge-promo {
  background: rgba(0, 175, 90, 0.9);
  color: #fff;
}
.badge-hot {
  background: rgba(215, 40, 40, 0.9);
  color: #fff;
}
.badge-new {
  background: rgba(0, 145, 215, 0.9);
  color: #fff;
}

.game-online {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.68);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--white);
  z-index: 2;
}

.game-online .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rtp-high);
  animation: pulse 1.5s infinite;
}

.game-provider-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 4px;
  font-size: 0.54rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}

.game-rtp-bar-row {
  position: relative;
  width: 100%;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.game-rtp-bar-row.high {
  border-bottom: 2px solid rgba(0, 230, 118, 0.4);
}
.game-rtp-bar-row.medium {
  border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}
.game-rtp-bar-row.low {
  border-bottom: 2px solid rgba(255, 82, 82, 0.4);
}

.game-rtp-bar-fill {
  height: 100%;
  transition: width 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: absolute;
  left: 0;
  top: 0;
}

.game-rtp-bar-fill.high {
  background: linear-gradient(90deg, rgba(0, 168, 69, 0.85), rgba(0, 230, 118, 0.9));
  box-shadow: inset 0 0 12px rgba(0, 230, 118, 0.3);
}
.game-rtp-bar-fill.medium {
  background: linear-gradient(90deg, rgba(196, 154, 0, 0.85), rgba(255, 215, 0, 0.9));
  box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.3);
}
.game-rtp-bar-fill.low {
  background: linear-gradient(90deg, rgba(168, 32, 32, 0.85), rgba(255, 82, 82, 0.9));
  box-shadow: inset 0 0 12px rgba(255, 82, 82, 0.3);
}

.game-rtp-bar-fill.high::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: rtpShimmer 2.5s ease-in-out infinite;
}

@keyframes rtpShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.game-rtp-bar-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.game-rtp-status {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-rtp-status i {
  font-size: 0.58rem;
}

.game-rtp-status.high {
  color: var(--rtp-high);
}
.game-rtp-status.high i {
  color: var(--rtp-high);
}
.game-rtp-status.medium {
  color: var(--rtp-medium);
}
.game-rtp-status.medium i {
  color: var(--rtp-medium);
}
.game-rtp-status.low {
  color: var(--rtp-low);
}
.game-rtp-status.low i {
  color: var(--rtp-low);
}

.game-rtp-bar-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}

.game-rtp-bar-pct.high {
  color: #fff;
}
.game-rtp-bar-pct.medium {
  color: #fff;
}
.game-rtp-bar-pct.low {
  color: rgba(255, 255, 255, 0.9);
}

.game-card-body {
  padding: 11px 12px 10px;
}

.game-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider-text {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.game-pola {
  list-style: none;
  margin-bottom: 6px;
}

.game-pola li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  font-size: 1rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.game-pola li:last-child {
  border-bottom: none;
}

.game-pola li i {
  color: var(--gold);
  font-size: 0.54rem;
  width: 12px;
}

.game-pola-note {
  font-size: 1rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 10px;
}

.game-card-actions {
  display: flex;
  gap: 7px;
}

.game-card-actions .btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 1rem;
  border-radius: 6px;
}

.games-grid.list-view .game-card {
  display: grid;
  grid-template-columns: 170px 1fr;
}

.games-grid.list-view .game-card-header {
  aspect-ratio: 1;
}

.games-grid.list-view .game-rtp-bar-row {
  display: none;
}

.games-grid.list-view .game-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 100%;
  max-width: 340px;
  max-height: 92vh;
  overflow-y: auto;
  background: #1a1c24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.3s ease;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
}

.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-badge-promo {
  padding: 2px 8px;
  background: var(--red-dim);
  border: 1px solid rgba(229, 57, 53, 0.4);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.modal-dot-sep {
  color: var(--grey-400);
  font-size: 0.75rem;
}

.modal-online-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--white);
}

.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rtp-high);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--grey-300);
  font-size: 0.78rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 82, 82, 0.25);
  color: #fff;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-game-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.modal-game-info {
  flex: 1;
  min-width: 0;
}

.modal-game-info h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.modal-provider {
  font-size: 0.72rem;
  color: var(--gold);
  display: block;
  margin-bottom: 7px;
}

.modal-rtp-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.modal-rtp-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.modal-rtp-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rtp-high);
}

.modal-rtp-val.medium {
  color: var(--rtp-medium);
}
.modal-rtp-val.low {
  color: var(--rtp-low);
}

.modal-section {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-section-last {
  border-bottom: none;
}

.modal-section-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.jam-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 0.78rem;
  color: var(--white);
}

.jam-row span:first-child {
  color: var(--white);
  font-size: 0.72rem;
}

.jam-row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--white);
}

.pola-pills {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pola-pill {
  display: block;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--white);
  text-align: left;
  cursor: default;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.pola-pill:hover {
  border-color: rgba(240, 192, 64, 0.35);
  background: rgba(240, 192, 64, 0.05);
}

.settings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.settings-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  font-size: 0.8rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.settings-list li:last-child {
  border-bottom: none;
}

.settings-list li i {
  color: var(--gold);
  font-size: 0.74rem;
  flex-shrink: 0;
}

.toggle-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 14px;
}

.toggle-badge.on {
  background: rgba(0, 230, 118, 0.14);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.32);
}
.toggle-badge.off {
  background: rgba(255, 82, 82, 0.12);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.28);
}

.modal-footer {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-footer .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.76rem;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

.no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--grey-500);
}

.no-results i {
  font-size: 2.5rem;
  margin-bottom: 14px;
  color: var(--grey-600);
}

.no-results p {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--grey-400);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--gold);
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer {
  background: var(--bg-card-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--grey-400);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 1rem;
  color: var(--grey-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.74rem;
  color: var(--grey-500);
}

.footer-bottom a {
  color: var(--gold);
}

.livechat-btn {
  position: fixed;
  bottom: 28px;
  left: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition-normal);
}

.livechat-btn:hover {
  transform: scale(1.08);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-card-3);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 192, 64, 0.3);
}

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(14, 15, 19, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 10px 14px;
  }

  .hamburger {
    display: flex;
  }

  .btn-nav-outline,
  .btn-nav-gold {
    display: none;
  }

  .nav-mobile-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
  }

  .btn-mobile-login,
  .btn-mobile-daftar {
    padding: 6px 14px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: none;
    white-space: nowrap;
    transition: var(--transition-fast);
  }

  .btn-mobile-login {
    background: #c49a20;
    color: var(--white);
  }

  .btn-mobile-daftar {
    background: var(--red);
    color: var(--white);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 58px;
  }

  .games-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .games-search-row {
    width: 100%;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
  }

  .games-grid,
  #gamesLoading {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .skeleton-card {
    height: 270px;
  }

  .game-card-body {
    padding: 9px 10px 8px;
  }

  .game-card-actions .btn {
    padding: 7px 8px;
    font-size: 0.63rem;
  }

  .modal-content {
    max-width: 100%;
  }

  .games-grid.list-view .game-card {
    grid-template-columns: 130px 1fr;
  }

  .results-info {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter-controls {
    flex-wrap: wrap;
  }

  .filter-select {
    flex: 1;
    min-width: 120px;
  }

  .back-to-top {
    bottom: 20px;
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .livechat-btn {
    bottom: 20px;
    left: 18px;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .games-grid,
  #gamesLoading {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .game-name {
    font-size: 0.74rem;
  }

  .modal-content {
    border-radius: var(--radius);
  }
}

@media (max-width: 360px) {
  .games-grid,
  #gamesLoading {
    grid-template-columns: 1fr;
  }
}

@media print {
  .header,
  .back-to-top,
  .livechat-btn,
  .modal-overlay {
    display: none !important;
  }
}
/* ===== BREADCRUMB BLUE MAGENTA ===== */
nav[aria-label="Breadcrumb"] {
  margin: 15px 0;
  padding: 10px 16px;
  background: rgba(18, 19, 43, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: transparent;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.85rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #c0c3e6;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: #ff007f;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.breadcrumb a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.breadcrumb a:hover {
  color: #ff47a3;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 0, 127, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.3);
}