/* style/slot-games.css */

/* General styles for the page-slot-games scope */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, ensuring consistency */
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-slot-games__item-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for sub-titles */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Color contrast classes */
.page-slot-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for sections */
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__item-title,
.page-slot-games__light-bg .page-slot-games__text-block {
  color: #333333;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  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: #1e87b7;
  border-color: #1e87b7;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  margin-left: 15px;
}

.page-slot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-slot-games__btn-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-slot-games__btn-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

.page-slot-games__description {
  font-size: 1.25em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-slot-games__about-slots .page-slot-games__image-content {
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image fills container */
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Why k9club Section */
.page-slot-games__why-k9club .page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-slot-games__why-k9club .page-slot-games__grid-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__why-k9club .page-slot-games__grid-item .page-slot-games__item-title {
  color: #26A9E0;
}

/* Types of Slots Section */
.page-slot-games__types-of-slots .page-slot-games__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: #f8f8f8;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 15px;
  color: #26A9E0;
}

.page-slot-games__card-text {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1;
}

/* How to Play Section */
.page-slot-games__how-to-play .page-slot-games__flex-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__how-to-play .page-slot-games__text-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__how-to-play .page-slot-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.page-slot-games__how-to-play .page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-slot-games__play-now-button {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__promotions .page-slot-games__card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-slot-games__promotions .page-slot-games__card .page-slot-games__card-title {
  color: #26A9E0;
}

.page-slot-games__view-all-promos {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-games__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #1e87b7;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

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

.page-slot-games__cta-final .page-slot-games__section-title {
  color: #333333;
}

.page-slot-games__cta-final .page-slot-games__text-block {
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

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

  .page-slot-games__description {
    font-size: 1.1em;
  }

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

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

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

  .page-slot-games__dark-bg,
  .page-slot-games__light-bg {
    padding: 60px 0;
  }

  .page-slot-games__how-to-play .page-slot-games__flex-content {
    flex-direction: column;
  }

  /* Mobile image adaptation */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }

  .page-slot-games__card-image {
    height: auto !important; /* Override fixed height for responsiveness */
  }

  /* Mobile container adaptation */
  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__grid-item,
  .page-slot-games__flex-content,
  .page-slot-games__promo-cards,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* body already handles --header-offset, this section needs only small top padding */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-toggle {
    font-size: 1.2em;
  }
}