/* Base styles for the page */
.page-slot-games {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255,165,58,0.5);
}

.page-slot-games__section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #FFA53A;
  margin-bottom: 40px;
}

.page-slot-games__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFA53A;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__text-block p,
.page-slot-games__text-block ul,
.page-slot-games__text-block ol {
  color: #FFF3E6;
  margin-bottom: 15px;
}

.page-slot-games__text-block ul li,
.page-slot-games__text-block ol li {
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}

.page-slot-games__text-block ul li::before {
  content: '•';
  color: #FFA53A;
  position: absolute;
  left: 0;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #A84F0C 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,165,58,0.4);
}

.page-slot-games__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 1px solid #A84F0C;
}

.page-slot-games__btn-secondary:hover {
  background: #2a2d36;
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,165,58,0.2);
}

/* Hero Section */
.page-slot-games__home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 1280px;
  margin: 10px auto 0;
  padding: 0 16px 24px;
  box-sizing: border-box;
}

.page-slot-games__hero-brand,
.page-slot-games__hero-jackpot {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  height: auto;
}

.page-slot-games__hero-title {
  font-size: 2.2em;
  font-weight: 800;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,165,58,0.6);
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__hero-description {
  font-size: 1em;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 25px;
}

.page-slot-games__hero-trust-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.page-slot-games__hero-trust-icons img {
  
  
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

.page-slot-games__hero-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 40px;
  font-size: 1.1em;
}

.page-slot-games__game-trial {
  background-color: #0D0E12;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
  height: auto;
}

.page-slot-games__game-trial-shell {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 10px;
  overflow: hidden;
  background-color: #17191F;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: none;
}

.page-slot-games__game-trial-topbar,
.page-slot-games__game-trial-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-size: 0.9em;
  flex-shrink: 0;
}

.page-slot-games__game-title {
  font-weight: 600;
  color: #FFA53A;
}

.page-slot-games__game-controls .page-slot-games__btn-secondary {
  padding: 8px 15px;
  font-size: 0.85em;
}

.page-slot-games__game-trial-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 768; /* Default aspect ratio for game */
  flex: 1;
  min-height: 240px;
  overflow: hidden;
}

.page-slot-games__game-trial-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  min-height: 0;
}

.page-slot-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-slot-games__game-trial-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
}

.page-slot-games__game-trial-start {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,165,58,0.7);
  animation: pulse 1.5s infinite;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.page-slot-games__jackpot-title {
  font-size: 1.5em;
  color: #FFB04D;
  text-align: center;
  margin-bottom: 10px;
}

.page-slot-games__jackpot-amount {
  font-size: 2.5em;
  font-weight: 800;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 5px;
  text-shadow: 0 0 15px rgba(255,208,0,0.8);
}

.page-slot-games__jackpot-value {
  color: #FFD700;
}

.page-slot-games__jackpot-subtitle {
  font-size: 1em;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 15px;
}

.page-slot-games__jackpot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-slot-games__hero-jackpot-claim {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 40px;
  font-size: 1.1em;
  background: #c62828 !important;
  color: #fff !important;
}

/* Promotions Strip */
.page-slot-games__promo-strip {
  padding: 40px 0;
  background-color: #0D0E12;
  margin-top: 20px;
}

.page-slot-games__promo-strip-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-slot-games__promo-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-slot-games__promo-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-name {
  font-size: 1.2em;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-slot-games__promo-desc {
  font-size: 0.9em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Hot Games Section */
.page-slot-games__hot-games {
  padding: 40px 0;
  background-color: #0D0E12;
}

.page-slot-games__hot-games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-slot-games__game-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__game-card img {
  width: 100%;
  
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-slot-games__game-name {
  font-size: 1.1em;
  font-weight: 600;
  color: #FFA53A;
  margin: 10px 5px 5px;
  flex-grow: 1;
}

.page-slot-games__game-rtp {
  font-size: 0.85em;
  color: #FFF3E6;
  margin-bottom: 5px;
}

.page-slot-games__game-desc {
  font-size: 0.8em;
  color: #999;
  margin-bottom: 10px;
  padding: 0 5px;
}

.page-slot-games__game-card .page-slot-games__btn-primary {
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  padding: 8px 10px;
  font-size: 0.9em;
}

.page-slot-games__btn-container {
  text-align: center;
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__view-all-games {
  font-size: 1.1em;
  padding: 15px 40px;
}

/* Platform Intro Section */
.page-slot-games__platform-intro {
  padding: 50px 0;
  background-color: #0D0E12;
}

.page-slot-games__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 50px 0;
  background-color: #0D0E12;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #2a2d36;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #17191F;
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Winner Ticker */
.page-slot-games__winner-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255,165,58,0.9);
  color: #17191F;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9em;
  z-index: 9999;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.page-slot-games__ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}

.page-slot-games__ticker-content span {
  margin-right: 50px;
  display: inline-block;
  font-weight: 600;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* Reward Modal */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-slot-games__reward-modal[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-slot-games__reward-modal-content {
  background: #17191F;
  border: 2px solid #FFA53A;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(255,165,58,0.8);
}

.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #FFA53A;
  cursor: pointer;
  line-height: 1;
}

.page-slot-games__reward-modal-title {
  font-size: 2em;
  color: #FFB04D;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(255,165,58,0.5);
}

.page-slot-games__reward-modal-text {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 1023px) {
  .page-slot-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot {
    display: none !important;
  }
  .page-slot-games__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-topbar,
  .page-slot-games__game-trial-bottombar {
    display: none !important;
  }
  .page-slot-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-slot-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .page-slot-games__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-slot-games__hot-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-slot-games__game-card img {
    
  }
  .page-slot-games__game-name {
    font-size: 1em;
  }
  .page-slot-games__game-desc,
  .page-slot-games__game-rtp {
    display: none;
  }
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
}

@media (min-width: 1024px) {
  .page-slot-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 10px auto 0;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot,
  .page-slot-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-slot-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-slot-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-slot-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-slot-games__promo-strip {
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
    padding: 0 10px;
  }
  .page-slot-games__hero-description {
    font-size: 0.85em;
    padding: 0 10px;
  }
  .page-slot-games__hero-trust-icons {
    gap: 10px;
  }
  .page-slot-games__hero-trust-icons img {
    
    
  }
  .page-slot-games__hero-cta {
    font-size: 1em;
    padding: 12px 30px;
  }

  .page-slot-games__section-title {
    font-size: 26px;
    padding: 0 15px;
  }
  .page-slot-games__section-subtitle {
    font-size: 16px;
    padding: 0 15px;
  }

  .page-slot-games__promo-strip-track {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 0 15px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__promo-card {
    flex-direction: row;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__promo-card img {
    
    
    flex-shrink: 0;
    object-fit: cover;
    max-width: 100% !important;
  }
  .page-slot-games__promo-content {
    padding: 10px;
    text-align: left;
  }
  .page-slot-games__promo-name {
    font-size: 1.1em;
  }
  .page-slot-games__promo-desc {
    font-size: 0.8em;
  }
  .page-slot-games__promo-content .page-slot-games__btn-secondary {
    font-size: 0.8em;
    padding: 6px 10px;
    width: fit-content;
    margin-top: 5px;
  }

  .page-slot-games__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 0 15px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__game-card img {
    
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-slot-games__game-name {
    font-size: 0.9em;
    margin: 8px 5px 0;
  }
  .page-slot-games__game-rtp,
  .page-slot-games__game-desc {
    display: none !important;
  }
  .page-slot-games__game-card .page-slot-games__btn-primary {
    padding: 6px 8px;
    font-size: 0.8em;
    width: calc(100% - 16px);
    margin: 0 8px 8px;
  }
  .page-slot-games__view-all-games {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-slot-games__platform-intro .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__platform-intro h2 {
    font-size: 24px;
  }
  .page-slot-games__platform-intro h3 {
    font-size: 20px;
  }
  .page-slot-games__platform-intro p,
  .page-slot-games__platform-intro li {
    font-size: 15px;
  }
  .page-slot-games__btn-container {
    padding: 0 15px;
    flex-direction: column;
    display: flex;
    gap: 10px;
  }
  .page-slot-games__btn-container .page-slot-games__btn-primary,
  .page-slot-games__btn-container .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }

  .page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }

  .page-slot-games__winner-ticker {
    font-size: 0.8em;
    padding: 8px 0;
  }

  /* General image and container responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__home-hero,
  .page-slot-games__promo-strip,
  .page-slot-games__hot-games,
  .page-slot-games__platform-intro,
  .page-slot-games__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}