.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-slot-games__dark-section {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 1em;
  text-align: justify;
}

.page-slot-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
}

.page-slot-games__btn-primary:hover {
  background-color: #d66a06;
}

.page-slot-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
  margin-left: 15px;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b6;
  border-color: #1e87b6;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__hero-section {
  padding: 10px 0 40px; /* Small top padding, not --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  margin-top: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-slot-games__type-grid,
.page-slot-games__hot-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-slot-games__type-card,
.page-slot-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-slot-games__type-card:hover,
.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-image,
.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title,
.page-slot-games__game-details h3 {
  font-size: 1.4em;
  font-weight: 600;
  margin: 15px 10px 10px;
  color: #26A9E0;
}

.page-slot-games__card-description,
.page-slot-games__game-details p {
  font-size: 0.95em;
  padding: 0 15px 15px;
  color: #555555;
  flex-grow: 1;
}

.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__benefits-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

.page-slot-games__benefits-item strong {
  color: #26A9E0;
}

.page-slot-games__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  color: #ffffff;
}

.page-slot-games__guide-item {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-slot-games__guide-item strong {
  color: #f0f0f0;
}

.page-slot-games__promotions-section {
  padding: 50px 0;
}

.page-slot-games__promo-strip-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-slot-games__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-card .page-slot-games__card-image {
  height: 180px;
}

.page-slot-games__promo-content {
  padding: 15px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slot-games__promo-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: 600;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-slot-games__promo-btn:hover {
  background-color: #1e87b6;
}

.page-slot-games__game-details {
  padding: 15px;
  text-align: center;
}

.page-slot-games__hot-games-name {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 5px;
  color: #26A9E0;
}

.page-slot-games__hot-games-rtp {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 10px;
}

.page-slot-games__hot-games-desc {
  font-size: 0.9em;
  color: #555555;
}

.page-slot-games__brand-intro {
  padding: 50px 0;
  text-align: center;
}

.page-slot-games__winner-ticker {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.page-slot-games__ticker-wrapper {
  overflow: hidden;
  width: 100%;
}

.page-slot-games__ticker-content {
  display: flex;
  animation: scroll-left 30s linear infinite;
  white-space: nowrap;
}

.page-slot-games__ticker-item {
  padding: 0 20px;
  font-size: 1.1em;
  color: #ffd700; /* Gold color for winners */
  flex-shrink: 0;
}

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

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-slot-games__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Game Trial Modal */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.page-slot-games__reward-modal[hidden] {
  display: none;
}

.page-slot-games__reward-modal-content {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
}

.page-slot-games__game-trial-shell {
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 90vw;
  max-width: 1024px;
  max-height: 768px;
  position: relative;
}

.page-slot-games__game-trial-topbar, .page-slot-games__game-trial-bottombar {
  background-color: #333;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9em;
  flex-shrink: 0;
}

.page-slot-games__game-trial-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 300px; /* Minimum height for iframe */
}

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

.page-slot-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  z-index: 5;
  pointer-events: auto;
}

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

.page-slot-games__game-trial-start {
  background-color: #EA7C07;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}

.page-slot-games__game-trial-start:hover {
  background-color: #d66a06;
}

/* === VERBATIM REQUIRED CSS BLOCKS (FOR HOMEPAGE TRIAL) === */
/* This is included as per strict instructions, even if this is not the homepage. */
@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;
  }
}

@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: 0 auto;
    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;
  }
}

/* === MOBILE RESPONSIVE ADAPTATIONS @media (max-width: 768px) === */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
  }

  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 10px 15px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__type-grid,
  .page-slot-games__hot-games-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-slot-games__card-image,
  .page-slot-games__game-image {
    height: 150px;
  }

  .page-slot-games__promo-strip-track {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-slot-games__promo-card {
    flex-direction: column;
  }

  .page-slot-games__promo-btn {
    align-self: stretch;
    text-align: center;
  }

  .page-slot-games__benefits-item {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-slot-games__guide-item {
    font-size: 1em;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games__faq-toggle { font-size: 20px; width: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }

  .page-slot-games__ticker-item {
    font-size: 0.9em;
  }

  .page-slot-games__reward-modal-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    border-radius: 0;
  }

  .page-slot-games__game-trial-shell {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .page-slot-games__game-trial-viewport {
    min-height: 200px;
  }

  .page-slot-games__game-trial-start {
    padding: 12px 20px;
    font-size: 1em;
  }
}