/* Homepage Trial CSS (as per strict instruction, even for inner page) */
@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;
  }
}

/* General Page Styles */
.page-slot-games {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background */
}

.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;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block p {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #F3F8FF;
}

.page-slot-games__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #F3F8FF;
}

.page-slot-games__text-block ul li {
  margin-bottom: 0.5em;
  line-height: 1.6;
  color: #F3F8FF;
}

.page-slot-games__text-block strong {
  color: #F2C14E;
}

.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #08162B;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2B73F6;
  border: 2px solid #2B73F6;
}

.page-slot-games__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF;
}

.page-slot-games__dark-section {
  background-color: #10233F; /* Card BG */
  padding: 60px 0;
}

.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__popular-games-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 60px 0;
}

.page-slot-games__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__card h3 {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-slot-games__card h3 a {
  color: #F2C14E;
  text-decoration: none;
}

.page-slot-games__card h3 a:hover {
  text-decoration: underline;
}

.page-slot-games__card p {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
  flex-grow: 1;
}

/* Benefits Grid */
.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__benefit-card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Game Grid */
.page-slot-games__game-grid,
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card-button {
  margin-top: auto;
  width: 100%;
}

/* How to Play Steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-card h3 {
  font-size: 1.5em;
  color: #4FA8FF; /* Glow */
}

.page-slot-games__step-card p {
  color: #AFC4E8;
}

.page-slot-games__tip-list {
  list-style-type: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-games__tip-list li {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #F3F8FF;
  text-align: left;
}

.page-slot-games__tip-list li strong {
  color: #F2C14E;
}

.page-slot-games__tip-list li ul {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
  color: #AFC4E8;
}

.page-slot-games__text-center {
  text-align: center;
  margin-top: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84;
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF;
}
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: #1B3357; /* Divider */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
  line-height: 1.6;
}

/* Reward Modal (from homepage trial CSS requirement) */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-slot-games__reward-modal.page-slot-games--reward-open {
  visibility: visible;
  opacity: 1;
}
.page-slot-games__reward-modal-content {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  line-height: 1;
}
.page-slot-games__reward-modal h3 {
  color: #F2C14E; /* Gold */
  font-size: 1.8em;
  margin-bottom: 15px;
}
.page-slot-games__reward-modal p {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  line-height: 1.5;
}

.is-hidden {
  display: none !important;
  pointer-events: none !important;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__hero-content {
    padding: 40px 15px;
  }
  .page-slot-games__main-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__benefits-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  /* General images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Containers with images/content */
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__benefits-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__benefits-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .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 {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__main-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-description {
    font-size: 0.9em;
  }
  .page-slot-games__card h3 {
    font-size: 1.2em;
  }
  .page-slot-games__card p {
    font-size: 0.85em;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 1em; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}