@font-face {
      font-family: 'digital_sans_ef_medium';
      font-display: swap;
      src: url('https://dkzd8du6wd13r.cloudfront.net/Fonts/digital_sans_ef_medium.woff2?v=0') format('woff2'), url('https://dkzd8du6wd13r.cloudfront.net/Fonts/digital_sans_ef_medium.woff?v=0') format('woff');
      font-weight: normal;
      font-style: normal
    }

    @font-face {
      font-family: 'gilroybold';
      font-display: swap;
      src: url('https://dkzd8du6wd13r.cloudfront.net/Fonts/Gilroy-Bold.woff2?v=0') format('woff2'), url('https://dkzd8du6wd13r.cloudfront.net/Fonts/Gilroy-Bold.woff?v=0') format('woff');
      font-weight: normal;
      font-style: normal
    }

    @font-face {
      font-family: 'Open24DisplaySt';
      font-display: swap;
      src: url('https://dkzd8du6wd13r.cloudfront.net/Fonts/Open24DisplaySt.woff2?v=0') format('woff2');
      font-weight: normal;
      font-style: normal
    }

    @font-face {
      font-family: 'Glyphicons Halflings';
      font-display: swap;
      src: url('https://dkzd8du6wd13r.cloudfront.net/Fonts/glyphicons-halflings-regular.woff?v=0') 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'
    }

/* Safety: avoid horizontal overflow & keep media fluid */
  body {
    overflow-x: hidden;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  /* ============ Tablet and below (<= 991px) ============ */
  @media (max-width: 991px) {
    .home-inner-container {
      gap: 14px;
      margin-bottom: 26px;
    }

    .home-progressive-jackpot .border-container {
      gap: 24px;
    }

    .home-progressive-jackpot .jackpot-container {
      font-size: 30px;
      letter-spacing: 3px;
    }

    .footer-sitemap-section {
      padding-right: 0;
    }
  }

  /* ============ Mobile (<= 767px) ============ */
  @media (max-width: 767px) {

    /* Jackpot + Lottery: stack vertically, full width */
    .home-inner-container {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      margin: 12px 0 26px;
    }

    .home-inner-container [data-section="jackpot"],
    .home-inner-container [data-section="lottery"] {
      width: 100%;
    }

    .home-inner-container [data-section="lottery"] .lottery-result-container {
      max-width: 420px;
      margin: 0 auto;
    }

    /* Progressive jackpot: shrink nested paddings, gaps & fonts so it fits */
    .home-progressive-jackpot {
      padding: 6px;
      border-radius: 18px;
    }

    .home-progressive-jackpot .outer-container,
    .home-progressive-jackpot .inner-container {
      padding: 6px;
    }

    .home-progressive-jackpot .border-container {
      gap: 12px;
      padding: 6px;
    }

    .home-progressive-jackpot .jackpot-play-section {
      margin-left: 8px;
    }

    .home-progressive-jackpot .jackpot-play-section img {
      width: 62px;
    }

    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
      font-size: 18px;
    }

    .home-progressive-jackpot .jackpot-container {
      font-size: 22px;
      letter-spacing: 1px;
      padding: 6px;
    }

    .home-progressive-jackpot .jackpot-inner-container,
    .home-progressive-jackpot .jackpot-border-container {
      padding: 6px;
      line-height: 32px;
    }

    .home-progressive-jackpot .jackpot-currency {
      margin-right: 5px;
    }

    /* Announcement bar: stack title / marquee / date */
    .announcement-container {
      flex-direction: column;
      align-items: stretch;
      gap: 6px;
      padding: 8px 12px;
    }

    .announcement-container>[data-section="announcements"] {
      width: 100%;
    }

    .announcement-container [data-section="date"] {
      font-size: 11px;
      text-align: left;
    }

    /* Banner navigation arrows: closer to edges & smaller */
    .nav-btn {
      width: 34px;
      height: 34px;
      padding: 6px;
    }

    .nav-btn.main-prev {
      left: 8px;
    }

    .nav-btn.main-next {
      right: 8px;
    }

    .nav-btn img {
      width: 16px;
      height: 16px;
    }

    /* Topbar: allow wrapping instead of squeezing into 46%/54% */
    .topbar-container .row {
      flex-wrap: wrap;
      row-gap: 6px;
    }

    .topbar-left-container,
    .topbar-right-container {
      width: 100%;
    }

    /* Footer sitemap: wrap the 5 columns */
    .footer-sitemap-section {
      flex-wrap: wrap;
      row-gap: 14px;
    }

    .footer-sitemap-section>div {
      width: 50%;
    }

    /* Game carousels: fewer, larger tiles (still horizontally scrollable) */
    .game-list .game-item {
      width: calc((100% - (5px * 3.2 * 2)) / 3.2);
    }

    .container-content .game-list .game-item {
      width: calc((100% - (5px * 3.2 * 2)) / 3.2);
    }

    .popular-game-title-container .container-content .game-list .game-item {
      width: calc((100% - (5px * 3.2 * 2)) / 3.2);
    }

    /* Section title chevrons: less side padding */
    .container-title span,
    .popular-game-title-container .container-title span {
      padding: 5px 26px;
    }

    /* Footer sub-sections: stack & prevent right-edge overflow */
    .site-footer .row {
      margin-left: 0;
      margin-right: 0;
    }

    .footer-featured-product-section>div {
      width: 100%;
      min-width: 0;
    }

    .footer-featured-product-section .site-info-description {
      min-width: 0;
    }

    .footer-banking-section .banking-footer-section .bank-service-container {
      grid-template-columns: 1fr;
      margin: 14px;
      gap: 12px;
    }

    .footer-banking-section .bank-list-container {
      margin: 14px;
      padding: 16px;
    }

    .footer-copyright-section .col-md-12 {
      flex-wrap: wrap;
      gap: 14px;
    }

    .footer-copyright-section .col-md-12 .copyright {
      margin-left: 0;
    }

    .footer-description-section .site-description h1 {
      font-size: 20px;
      line-height: 1.3;
    }

    .footer-description-section .site-description p {
      text-align: left !important;
    }

    .footer-description-section h4,
    .footer-description-section .site-description {
      overflow-wrap: break-word;
      word-break: break-word;
    }
  }

  /* ============ Small phones (<= 480px) ============ */
  @media (max-width: 480px) {
    .footer-sitemap-section>div {
      width: 100%;
    }

    .home-progressive-jackpot .jackpot-container {
      font-size: 18px;
    }

    .home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
      font-size: 15px;
    }

    .home-progressive-jackpot .jackpot-play-section img {
      width: 52px;
    }

    /* Game carousels: ~2.4 tiles per row on very small screens */
    .game-list .game-item {
      width: calc((100% - (5px * 2.4 * 2)) / 2.4);
    }

    .container-content .game-list .game-item {
      width: calc((100% - (5px * 2.4 * 2)) / 2.4);
    }

    .popular-game-title-container .container-content .game-list .game-item {
      width: calc((100% - (5px * 2.4 * 2)) / 2.4);
    }
  }

  /* ---------- Footer grid ---------- */
 .footer-grid {
     display: grid;
     gap: 26px;
     max-width: 1200px;
     margin: 30px auto;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     font-family: 'Plus Jakarta Sans', sans-serif;
 }

 .footer-col h4 {
     color: var(--lp-col-1);
     font-size: 15px;
     font-weight: 700;
     margin: 0 0 14px;
     letter-spacing: .3px;
 }

 .footer-col ul {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 9px;
 }

 .footer-col a {
     color: var(--lp-text-muted);
     text-decoration: none;
     font-size: 13.5px;
     transition: color .25s var(--lp-ease);
 }

 .footer-col a:hover {
     color: var(--lp-gold);
 }

/* ===== Pragmatic Gold Ledger — Transaction ===== */
.prg-txn {
  margin: 0 0 20px;
  font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
}

.prg-txn-head {
  text-align: center;
  margin-bottom: 14px;
}

.prg-txn-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #a67c00, #f5d77a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #bf941f;
}

.prg-txn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.prg-txn-side {
  background: linear-gradient(165deg, #1a1508 0%, #0d0b06 100%);
  border: 1px solid rgba(212, 175, 55, .32);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.prg-txn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #f5e6b8;
  border-bottom: 1px solid rgba(212, 175, 55, .2);
  background: rgba(212, 175, 55, .08);
}

.prg-txn-label span { color: #d4af37; }

.prg-txn-dep .prg-txn-label span { color: #4ade80; }
.prg-txn-wd .prg-txn-label span { color: #fbbf24; }

.prg-txn-live {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.prg-txn-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: prgTxnPulse 1.4s infinite;
}

@keyframes prgTxnPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.prg-txn-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.prg-txn-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px dashed rgba(212, 175, 55, .12);
  animation: prgTxnIn .45s ease;
}

.prg-txn-row:last-child { border-bottom: none; }

@keyframes prgTxnIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.prg-txn-av {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #1a1508;
  border: 2px solid rgba(245, 215, 122, .45);
}

.prg-txn-dep .prg-txn-av {
  background: linear-gradient(135deg, #4ade80, #16a34a);
  border-color: rgba(74, 222, 128, .5);
}

.prg-txn-wd .prg-txn-av {
  background: linear-gradient(135deg, #fde047, #d4af37);
}

.prg-txn-meta { min-width: 0; flex: 1; }

.prg-txn-id {
  font-size: 12px;
  font-weight: 700;
  color: #f5e6b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prg-txn-sub {
  font-size: 10px;
  color: #9ca3af;
}

.prg-txn-amt {
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.prg-txn-dep .prg-txn-amt { color: #4ade80; }
.prg-txn-wd .prg-txn-amt { color: #fde047; }

@media (max-width: 600px) {
  .prg-txn-grid { grid-template-columns: 1fr; }
}

/* ===== Pragmatic Gold — RTP Prism Gallery 3x4 ===== */
.prg-rtp {
  background:
    radial-gradient(ellipse 85% 50% at 50% -5%, rgba(212, 175, 55, .14) 0%, transparent 55%),
    linear-gradient(180deg, #0d0b06 0%, #1a1508 45%, #080604 100%);
  padding: 46px 0 54px;
  color: #f5e6b8;
  font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
  border-top: 1px solid rgba(212, 175, 55, .28);
}

.prg-rtp .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.prg-rtp-hd {
  text-align: center;
  margin-bottom: 28px;
}

.prg-rtp-hd h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #a67c00, #f5d77a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #bf941f;
}

.prg-rtp-hd p {
  margin: 0 auto;
  max-width: 640px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.55;
}

.prg-rtp-ctrl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.prg-rtp-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .4);
  color: #f5d77a;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.prg-rtp-clock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: prgRtpPulse 1.4s infinite;
}

@keyframes prgRtpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.prg-rtp-btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5d77a, #a67c00);
  color: #1a1508;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(212, 175, 55, .35);
}

.prg-rtp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 215, 122, .45);
}

.prg-rtp-btn:active { transform: translateY(0); }
.prg-rtp-btn[disabled] { opacity: .55; cursor: default; }

.prg-rtp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.prg-rtp-card {
  display: flex;
  gap: 0;
  background: linear-gradient(160deg, rgba(26, 21, 8, .95) 0%, rgba(8, 6, 4, .98) 100%);
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.prg-rtp-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #f5d77a, #d4af37, #a67c00);
}

.prg-rtp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 215, 122, .45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.prg-rtp-card.is-hot {
  border-color: rgba(253, 224, 71, .4);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .12), 0 4px 16px rgba(212, 175, 55, .15);
}

.prg-rtp-rank {
  position: absolute;
  top: 6px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  color: #1a1508;
  background: linear-gradient(135deg, #f5d77a, #d4af37);
  padding: 2px 6px;
  border-radius: 4px;
}

.prg-rtp-thumb {
  flex: 0 0 76px;
  width: 76px;
  position: relative;
  background: #0d0b06;
  overflow: hidden;
}

.prg-rtp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.prg-rtp-card:hover .prg-rtp-thumb img { transform: scale(1.08); }

.prg-rtp-pct {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(8, 6, 4, .9);
  border: 1px solid rgba(212, 175, 55, .35);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.prg-rtp-body {
  flex: 1;
  min-width: 0;
  padding: 8px 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prg-rtp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.prg-rtp-prov {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 58%;
}

.prg-rtp-chip {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prg-rtp-chip.is-gacor {
  color: #4ade80;
  background: rgba(74, 222, 128, .12);
  border: 1px solid rgba(74, 222, 128, .35);
}

.prg-rtp-chip.is-normal {
  color: #fde047;
  background: rgba(253, 224, 71, .1);
  border: 1px solid rgba(253, 224, 71, .3);
}

.prg-rtp-chip.is-low {
  color: #f87171;
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .35);
}

.prg-rtp-game {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #f5e6b8;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prg-rtp-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.prg-rtp-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width .85s cubic-bezier(.22, 1, .36, 1);
}

.prg-rtp-foot {
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.prg-rtp-pola {
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prg-rtp-jam {
  color: #f5d77a;
  font-weight: 600;
}

.prg-rtp-jam::before {
  content: "⏱ ";
  opacity: .75;
}

.prg-rtp-note {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  color: #6b7280;
}

.prg-win {
  position: fixed;
  bottom: 18px;
  right: 18px;
  transform: translateX(130%);
  z-index: 1035;
  width: 310px;
  max-width: calc(100vw - 36px);
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 11px 34px 11px 11px;
  background: linear-gradient(155deg, #1a1508 0%, #0d0b06 100%);
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .5);
  font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
  opacity: 0;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s;
}

.prg-win.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.prg-win-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .35);
  background: #0d0b06;
}

.prg-win-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prg-win-body { min-width: 0; flex: 1; }

.prg-win-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.prg-win-badge {
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, .14);
  border: 1px solid rgba(74, 222, 128, .35);
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

.prg-win-id {
  font-size: 11px;
  font-weight: 700;
  color: #f5d77a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prg-win-game {
  font-size: 12px;
  font-weight: 700;
  color: #f5e6b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prg-win-prov {
  font-size: 10px;
  color: #9ca3af;
  margin-bottom: 2px;
}

.prg-win-amt {
  font-size: 15px;
  font-weight: 800;
  color: #fde047;
  letter-spacing: .3px;
}

.prg-win.is-visible .prg-win-amt { animation: prgWinPop .6s ease; }

@keyframes prgWinPop {
  0% { transform: scale(.7); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.prg-win-close {
  position: absolute;
  top: 5px;
  right: 8px;
  border: none;
  background: transparent;
  color: #a67c00;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
}

.prg-win-close:hover { color: #f5d77a; }

@media (max-width: 900px) {
  .prg-rtp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .prg-rtp-grid { grid-template-columns: 1fr; }
  .prg-win { width: 280px; bottom: 10px; right: 10px; }
}
