/* PACE88 Custom Animated Logo */

@keyframes rotate-smooth {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pulse glow removed - keeps logo clean */

/* scale-bounce removed - keeps logo clean */

@keyframes color-shift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Logo Container */
.logo-animated {
  display: inline-block;
  position: relative;
  width: auto;
  height: 50px;
  max-width: 280px;
  perspective: 800px;
}

/* 3D Flip Animation */
.logo-flip-container {
  width: 100%;
  height: 100%;
  perspective: 800px;
}

.logo-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  animation: logoFlip 6s ease-in-out infinite;
}

.logo-flip-front,
.logo-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.logo-flip-front img,
.logo-flip-back img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-flip-back {
  transform: rotateY(180deg);
}

.logo-flip-back img {
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)) hue-rotate(-10deg);
}

@keyframes logoFlip {
  0%, 40% { transform: rotateY(0deg); }
  50%, 90% { transform: rotateY(180deg); }
  100% { transform: rotateY(0deg); }
}

/* Rotating Ring Effect - disabled to keep logo clean */
.logo-animated::before {
  display: none;
}

/* Main Logo Image */
.logo-animated img {
  height: 50px;
  width: auto;
  display: block;
}

/* Sparkle Animation - disabled to keep logo clean */
.logo-animated::after {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-animated {
    height: 38px;
    max-width: 200px;
  }
  .logo-animated img,
  .logo-flip-front img,
  .logo-flip-back img {
    height: 38px;
  }
}

/* Static provider catalogue: game browsing only, no launch action. */
.provider-game-catalog {
  background: linear-gradient(180deg, #17111e 0%, #0b0910 100%);
  border-top: 1px solid rgba(245, 171, 36, .45);
  border-bottom: 1px solid rgba(245, 171, 36, .25);
  color: #f6f1eb;
  padding: 18px max(14px, calc((100% - 1180px) / 2));
}
.provider-catalog-heading { text-align: center; margin-bottom: 14px; }
.provider-catalog-heading span { color: #d8a442; display: block; font-size: 11px; letter-spacing: 1.8px; }
.provider-catalog-heading strong { display: block; font-size: 22px; color: #fff; margin: 3px 0; }
.provider-catalog-heading small { color: #aaa1b2; font-size: 11px; }

/* Separated provider rows */
.provider-row-section { margin-bottom: 25px; border-bottom: 1px solid rgba(245,171,36,.1); padding-bottom: 20px; }
.provider-row-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; }
.provider-row-header h2 { color: #fff; font-size: 18px; margin: 0; }
.provider-row-header small { color: #aaa1b2; font-size: 11px; margin-top: 5px; display: block;}
.provider-row-label { color: #d8a442; font-size: 11px; letter-spacing: 1.8px; display: block; }

.provider-row-controls button {
  background: #21182a; border: 1px solid #61506b; border-radius: 5px; color: #d9d2dd;
  cursor: pointer; font-size: 18px; padding: 2px 8px; margin: 0 3px; transition: .2s;
}
.provider-row-controls button:hover { background: linear-gradient(135deg, #f8bf4b, #b36a16); border-color: #ffda75; color: #1a1010; }

.provider-row-viewport { overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.provider-row-viewport::-webkit-scrollbar { display: none; } /* Hide scrollbar for Chrome, Safari and Opera */
.provider-row-viewport { -ms-overflow-style: none; scrollbar-width: none; } /* Hide scrollbar for IE and Edge */

.provider-game-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(125px, 1fr);
  gap: 12px;
  /* Use min-content for the column width to prevent stretching beyond 6 columns */
  grid-template-columns: repeat(auto-fit, minmax(0, max-content)); 
  justify-content: start; /* Align items to the start */
  padding-bottom: 10px; /* Space for potential scrollbar that gets hidden */
}

.provider-game-card {
  position: relative; overflow: hidden; min-height: 160px; border: 1px solid #403448; border-radius: 8px;
  background: #211a28; box-shadow: 0 3px 9px rgba(0,0,0,.35);
}
.provider-game-card img, .provider-game-art { display: block; height: 128px; width: 100%; object-fit: cover; }
.provider-game-art { align-items: center; background: linear-gradient(145deg, #253c63, #111421); display: flex; justify-content: center; padding: 12px; }
.provider-game-art span { color: rgba(255,255,255,.88); font: 800 16px/1.1 Arial, sans-serif; text-align: center; text-shadow: 0 2px 3px #000; }
.provider-pragmatic-play { background: linear-gradient(145deg, #e85d04, #7b2d00); }
.provider-pg-soft { background: linear-gradient(145deg, #0a7296, #043842); }
.provider-habanero { background: linear-gradient(145deg, #a33425, #3b1116); }
.provider-microgaming { background: linear-gradient(145deg, #6f3b9f, #1c163a); }
.provider-game-name { color: #f4edf4; font: 700 11px/1.15 Lato, Arial, sans-serif; overflow: hidden; padding: 8px 30px 8px 8px; text-overflow: ellipsis; white-space: nowrap; }
.provider-game-demo { color: #f7cb5b; font-size: 9px; font-weight: bold; position: absolute; right: 8px; bottom: 8px; }
@media (min-width: 601px) {
  .provider-game-strip { grid-auto-columns: minmax(125px, 1fr); grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 600px) {
  .provider-game-catalog { padding: 15px 10px; }
  .provider-game-strip { grid-auto-columns: minmax(100px, 1fr); grid-template-columns: repeat(3, 1fr); }
  .provider-game-card { min-height: 120px; }
  .provider-game-card img, .provider-game-art { height: 90px; }
  .provider-game-name { font-size: 10px; padding: 6px 25px 6px 6px; }
  .provider-game-demo { font-size: 8px; right: 5px; bottom: 5px; }
}

/* ===== JACKPOT PLAY SECTION ===== */
.jackpot-play-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.jackpot-play-section picture img {
  height: 56px;
  width: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px auto;
}

.jackpot-play-text {
  font-family: 'Open24DisplaySt', 'Lato', sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #f5ab24;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  display: none; /* hidden since logo image already has this text */
}

.jackpot-play-text label {
  color: #5bc0de;
  font-weight: bold;
  cursor: default;
}

@media (max-width: 600px) {
  .jackpot-play-section picture img {
    height: 44px;
    width: 200px;
  }
}

/* ===== JACKPOT PLAY - COPIED EXACTLY FROM YINYANG88 ===== */
[data-section="jackpot"] a { text-decoration: none; }
.home-progressive-jackpot {
  color: #fff;
  padding: 10px 10px 18px 10px;
  display: flex;
  flex-direction: column;
}
.home-progressive-jackpot .jackpot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 2;
  font-family: 'Open24DisplaySt';
  font-size: 28px;
  letter-spacing: 5px;
  background-image: linear-gradient(#f4ad00, #3e2f0b);
  border-radius: 70px;
  padding: 10px;
}
.home-progressive-jackpot .jackpot-inner-container {
  background-color: #000;
  display: flex;
  flex-grow: 2;
  justify-content: center;
  border-radius: 50px;
  padding: 8px;
}
.home-progressive-jackpot .jackpot-border-container {
  display: flex;
  flex-grow: 2;
  justify-content: center;
  border-radius: 50px;
  border: 3px dotted #523607;
  background-color: #000;
  line-height: 30px;
  padding-bottom: 5px;
}
.home-progressive-jackpot .jackpot-currency {
  color: #f7a103;
  margin-right: 10px;
}
.home-progressive-jackpot .jackpot-play-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
  font-family: 'gilroybold', 'Lato', sans-serif;
  color: #fd6f16;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}
.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label {
  color: #009fc5;
}
.home-progressive-jackpot .jackpot-play-section picture {
  justify-content: end;
  display: flex;
}
.home-progressive-jackpot .jackpot-play-section img {
  height: auto;
  width: 64px;
}
