.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy, #08162B); /* Fallback for body background */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding to avoid double header offset */
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #08162B;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to move content up over the image without overlapping text */
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-link,
.page-slot-games__btn-read-more {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(17, 68, 166, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(17, 68, 166, 0.6);
  background: linear-gradient(180deg, #3C84FF 0%, #1555CC 100%);
}

.page-slot-games__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
  margin-left: 20px;
  box-shadow: 0 5px 20px rgba(242, 193, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #1B3357; /* Divider */
  color: #FFF;
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.4);
}

.page-slot-games__section-title {
  font-size: 42px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
  border-radius: 2px;
}

.page-slot-games__section-subtitle {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-slot-games__light-bg {
  background-color: #08162B; /* Deep Navy, slightly lighter than Card BG for contrast */
  padding: 80px 0;
  color: #F3F8FF;
}

.page-slot-games__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #AFC4E8;
}

/* About Section */
.page-slot-games__about-section .page-slot-games__container {
  text-align: center;
}

/* Games Showcase */
.page-slot-games__games-showcase {
  padding: 80px 0;
  background-color: #08162B;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin: 20px 15px 10px;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games__btn-play {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  margin: 15px auto 25px;
  box-shadow: 0 3px 15px rgba(17, 68, 166, 0.3);
  width: calc(100% - 60px);
}

.page-slot-games__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(17, 68, 166, 0.5);
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-slot-games__step-card {
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84;
}

.page-slot-games__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-slot-games__btn-link {
  background: #F2C14E; /* Gold */
  color: #10233F; /* Card BG */
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-slot-games__btn-link:hover {
  background: #FFF;
  color: #000;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

.page-slot-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games__promo-card {
  background-color: #08162B; /* Deep Navy */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #1B3357; /* Divider */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin: 20px 25px 10px;
}

.page-slot-games__promo-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-slot-games__btn-read-more {
  background: #1D5FD1; /* Auxiliary Color */
  color: #ffffff;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  margin: 0 25px 25px;
  align-self: flex-start;
}

.page-slot-games__btn-read-more:hover {
  background: #2B73F6;
}

.page-slot-games__view-all-promos {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
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;
  color: #F3F8FF; /* Text Main */
}
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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  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; /* Text Secondary */
}
.page-slot-games__faq-answer p {
  margin: 0;
  padding: 0;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 40px;
  }
  .page-slot-games__section-title {
    font-size: 36px;
  }
  .page-slot-games__games-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-slot-games__hero-content {
    margin-top: -80px;
    padding: 25px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-slot-games__btn-secondary {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-slot-games__hero-image {
    object-fit: contain;
    height: 400px; /* Reduced height for mobile hero image */
  }
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 20px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px !important;
    padding: 12px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 !important;
  }
  .page-slot-games__btn-secondary {
    margin-top: 15px !important; /* Stack buttons */
  }
  .page-slot-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }
  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-slot-games__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__dark-section,
  .page-slot-games__light-bg,
  .page-slot-games__games-showcase,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }
  .page-slot-games__games-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__game-title,
  .page-slot-games__promo-title {
    font-size: 20px;
  }
  .page-slot-games__game-description,
  .page-slot-games__promo-description,
  .page-slot-games__text-block,
  .page-slot-games__step-description {
    font-size: 14px;
  }
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: 180px;
  }
  .page-slot-games__btn-play,
  .page-slot-games__btn-link,
  .page-slot-games__btn-read-more {
    padding: 10px 15px !important;
    font-size: 15px !important;
    width: calc(100% - 30px) !important;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 16px; }
  .page-slot-games__faq-toggle { font-size: 22px; width: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }

  /* Mobile 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__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;
  }
  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}