/* Pacargospin site skin — overrides template sitecss .wrapper (background-altm.jpg)
   Source image: sites/pacargospin.com/bg/casino-background-fullhd.png
   CDN: https://cdn.gospin123.cloud/sites/pacargospin.com/bg/casino-background-fullhd.png
*/

/* html keeps black fallback; body/wrapper stay transparent so fixed image shows through */
html {
  background-color: #000 !important;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    #000 url('https://cdn.gospin123.cloud/sites/pacargospin.com/bg/casino-background-fullhd.png') no-repeat center center;
  background-size: cover, cover;
}

body,
.index-body,
.wrapper,
.middle-index,
.footer {
  background-color: transparent !important;
  background-image: none !important;
}

.game-front-wrapper {
  /* Background art only — same height feel as v2.1.3 (cover). Menu layout untouched. */
  background: url('https://cdn.gospin123.cloud/sites/pacargospin.com/bg/Gospin_Menu_Background_Spaced_TransparentArea.webp') no-repeat center center !important;
  background-size: cover !important;
  background-position: center center !important;
}

.footer {
  padding: 20px;
  color: #fff;
  border-top: 2px groove #a28300;
}

/* SEO footer collapse only — visual theme comes from promo.css gp-wrap markup */
.seo-footer.gsp-seo-collapsed {
  max-height: 220px !important;
  overflow: hidden !important;
  position: relative !important;
  margin-bottom: 0 !important;
}

.seo-footer.gsp-seo-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(17, 17, 24, 0), rgba(17, 17, 24, 0.95));
}

.gsp-seo-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 92%;
  margin: 10px auto 18px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #c9a84c, #a8893c);
  color: #000;
  font-family: "Barlow Condensed", sans-serif, system-ui;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gsp-seo-more:hover,
.gsp-seo-more:focus {
  background: linear-gradient(90deg, #e8c97a, #c9a84c);
  outline: none;
}

.gsp-seo-more__chev {
  font-size: 0.95em;
  line-height: 1;
}

/* Sticky bottom nav */
.bottom-nav-bar {
  background: rgba(8, 8, 10, 0.96) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.35) !important;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
}

.bottom-nav-bar a {
  color: #ffd54f !important;
}

.bottom-nav-bar a.active {
  color: #fff !important;
}

.index-card {
  background: url('/') center/cover no-repeat;
}

/* Progressive Jackpot — hide manual title (GIF already has text); reset template filters */
.progressive-jackpot > .h2,
.progressive-jackpot > p.h2,
.progressive-jackpot > h2,
.progressive-jackpot p.h2,
.progressive-jackpot .h2 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: transparent !important;
}

.progressive-jackpot {
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden !important;
}

.progressive-jackpot img {
  filter: none !important;
}

/* Mobile-safe: img drives height (no absolute fill — that crashed/broken-icon on some WebViews) */
.progressive-jackpot .jackpot-wrapper {
  position: relative !important;
  width: 100% !important;
  line-height: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

.progressive-jackpot img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top;
}

/* Live counting number — overlay centered on GIF */
.progressive-jackpot .jackpot-wrapper > span,
.progressive-jackpot #jackpot {
  position: absolute !important;
  left: 50% !important;
  top: 58% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
  width: 92% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  color: #fff6d8 !important;
  font-weight: 800 !important;
  font-size: clamp(0.95rem, 4.8vw, 1.75rem) !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
  pointer-events: none !important;
  text-shadow:
    0 0 3px rgba(255, 214, 90, 0.95),
    0 0 10px rgba(255, 150, 20, 0.7),
    0 0 18px rgba(255, 90, 0, 0.45),
    0 2px 3px rgba(0, 0, 0, 0.95) !important;
  -webkit-text-stroke: 0.35px rgba(255, 210, 120, 0.4);
  background: transparent !important;
}

@media (min-width: 900px) {
  .progressive-jackpot .jackpot-wrapper > span,
  .progressive-jackpot #jackpot {
    font-size: clamp(1.6rem, 2.8vw, 2.6rem) !important;
    top: 56% !important;
  }
}
