.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared */
}

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

/* HERO SECTION */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f0f8ff; /* Light blue background for hero */
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

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

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__subtitle {
  font-size: 1.25rem;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1f8ec4;
}

/* GENERAL SECTION STYLES */
.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* BENEFITS SECTION */
.page-slot-games__benefits-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-slot-games__benefit-card {
  background-color: #f7f7f7;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-slot-games__benefit-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__benefit-text {
  font-size: 1rem;
  color: #666666;
}

.page-slot-games__benefits-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* POPULAR GAMES SECTION */
.page-slot-games__popular-games-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__popular-games-section .page-slot-games__section-title,
.page-slot-games__popular-games-section .page-slot-games__section-description {
  color: #FFFFFF;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-play {
  display: inline-block;
  background-color: #EA7C07; /* Login color for play button */
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-play:hover {
  background-color: #c46606;
}

/* HOW TO PLAY SECTION */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.page-slot-games__step-card {
  background-color: #f7f7f7;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.page-slot-games__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 0.95rem;
  color: #666666;
}

.page-slot-games__how-to-play-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* PROMOTIONS SECTION */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__section-description {
  color: #FFFFFF;
}

.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-slot-games__promo-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-view-details {
  display: inline-block;
  background-color: #FFFFFF;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-view-details:hover {
  background-color: #e0f2f7;
}

/* FAQ SECTION */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-slot-games__faq-item {
  background-color: #f7f7f7;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff; /* Lighter brand color */
  border-bottom: 1px solid #d0e8f8;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: "−";
}

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #555555;
  background-color: #FFFFFF;
  border-top: 1px solid #e0e0e0;
}

/* CTA FINAL SECTION */
.page-slot-games__cta-final-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title,
.page-slot-games__cta-final-section .page-slot-games__section-description {
  color: #FFFFFF;
}

.page-slot-games__cta-final-section .page-slot-games__cta-buttons {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-slot-games__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
  }

  /* HERO SECTION */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-slot-games__subtitle {
    font-size: 1rem;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* GENERAL IMAGES AND CONTAINERS */
  .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__hero-section,
  .page-slot-games__benefits-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* BENEFITS SECTION */
  .page-slot-games__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
  }

  .page-slot-games__section-description {
    font-size: 1rem;
  }

  /* POPULAR GAMES SECTION */
  .page-slot-games__games-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__game-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-slot-games__btn-play {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* HOW TO PLAY SECTION */
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
  }

  /* PROMOTIONS SECTION */
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__promo-image {
    height: 160px; /* Adjust height for mobile */
  }

  .page-slot-games__btn-view-details {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ SECTION */
  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  /* CTA FINAL SECTION */
  .page-slot-games__cta-image {
    margin-top: 20px;
  }
}