/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Sections */
.page-slot-games__hero-section,
.page-slot-games__content-area,
.page-slot-games__promotions-section,
.page-slot-games__register-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 60px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* Light text for dark background */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1600px; /* Max width for the hero image */
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any potential background elements */
}

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

.page-slot-games__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles on light background */
}

.page-slot-games__section-title--light {
  color: #FFFFFF; /* Light title for dark background */
}

.page-slot-games__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for sub-titles on light background */
}

.page-slot-games__subsection-title--light {
  color: #FFFFFF; /* Light sub-title for dark background */
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-slot-games__text-block--light {
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}

.page-slot-games__feature-grid,
.page-slot-games__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-slot-games__feature-card,
.page-slot-games__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Ensure text is dark on light card background */
  border: 1px solid #e0e0e0;
}

.page-slot-games__feature-card:hover,
.page-slot-games__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-image,
.page-slot-games__category-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-slot-games__card-description {
  font-size: 1rem;
  color: #555555;
}

.page-slot-games__list {
  list-style: disc inside;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  text-align: left;
}

.page-slot-games__list--light li {
  color: #f0f0f0;
}

.page-slot-games__list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  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: #1a8cc5;
  border-color: #1a8cc5;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #e0f0f8;
  color: #1a8cc5;
}

.page-slot-games__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fd; /* Lighter background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section,
  .page-slot-games__content-area,
  .page-slot-games__promotions-section,
  .page-slot-games__register-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2.2rem;
  }

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

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

  .page-slot-games__subsection-title {
    font-size: 1.3rem;
  }

  .page-slot-games__text-block,
  .page-slot-games__list li,
  .page-slot-games__card-description,
  .page-slot-games__faq-answer p {
    font-size: 15px;
  }

  .page-slot-games__feature-grid,
  .page-slot-games__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-card,
  .page-slot-games__category-card,
  .page-slot-games__faq-item,
  .page-slot-games__container,
  .page-slot-games__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure images in content areas are not smaller than 200px */
.page-slot-games__feature-image,
.page-slot-games__category-image {
  min-width: 200px;
  min-height: 200px;
}