.page-slot-games {
  color: #ffffff; /* Body background #0a0a0a (dark), so text must be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__dark-bg {
  background: #0a0a0a;
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body already has padding-top for header */
  overflow: hidden;
  text-align: center;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__tagline {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.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, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #1a7fb2;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-slot-games__about-section .page-slot-games__container {
  text-align: center;
}

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

.page-slot-games__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-slot-games__games-list .page-slot-games__container,
.page-slot-games__promotions-section .page-slot-games__container {
  text-align: center;
}

.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,
.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card img,
.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-slot-games__game-card h3,
.page-slot-games__promo-card h3 {
  font-size: 1.3em;
  color: #26A9E0;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-slot-games__game-card p,
.page-slot-games__promo-card p {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-slot-games__guide-section .page-slot-games__container {
  text-align: center;
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games__step-item a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-slot-games__step-item a:hover {
  color: #1a7fb2;
}

.page-slot-games__faq-section .page-slot-games__container {
  text-align: center;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-slot-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-slot-games__cta-final .page-slot-games__container {
  text-align: center;
}

.page-slot-games__cta-final p {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-slot-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    max-width: 700px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-slot-games__dark-bg {
    padding: 40px 0;
  }

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

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__hero-section {
    min-height: 450px;
    padding: 10px 0 40px 0; /* body already has padding-top for header */
  }

  .page-slot-games__hero-content {
    padding: 15px;
  }

  .page-slot-games__features,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item img,
  .page-slot-games__game-card img,
  .page-slot-games__promo-card img {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__game-card h3,
  .page-slot-games__promo-card h3 {
    font-size: 1.2em;
  }

  .page-slot-games__game-card p,
  .page-slot-games__promo-card p {
    font-size: 0.9em;
  }

  /* Image and container overflow prevention */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__about-section,
  .page-slot-games__games-list,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-slot-games__hero-section,
  .page-slot-games__about-section,
  .page-slot-games__games-list,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-slot-games__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__cta-center {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__faq-question {
    font-size: 1em;
  }

  .page-slot-games__faq-answer {
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }

  .page-slot-games__hero-section {
    min-height: 350px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9em;
  }
}