/* style/slot-games.css */
/* Body background is #0a0a0a (dark), so default text color for main content should be light */

.page-slot-games {
  color: #ffffff; /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

/* Container for content sections */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section specific styles */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
}

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

.page-slot-games__description {
  font-size: 1.1em;
  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: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  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: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn--center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block; /* For single centered button */
  width: fit-content;
}

.page-slot-games__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-slot-games__section-title--white {
  color: #ffffff;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: #ffffff; /* Default for dark sections */
}

.page-slot-games__text-block--white {
  color: #ffffff;
}

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

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Background colors for sections */
.page-slot-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Darker grey for light sections to contrast with dark body */
  color: #ffffff;
}

/* Benefits Grid */
.page-slot-games__benefits-grid,
.page-slot-games__types-grid,
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__benefit-card,
.page-slot-games__type-card,
.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; /* Ensure text is white on card */
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #26A9E0; /* Primary brand color for card titles */
  margin-bottom: 15px;
}

.page-slot-games__card-title--dark {
  color: #ffffff; /* For promo cards on dark background */
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slot-games__card-description--dark {
  color: #f0f0f0; /* Specific for promo cards on dark background */
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Lists */
.page-slot-games__numbered-list,
.page-slot-games__bullet-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff; /* Default for dark sections */
}

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

.page-slot-games__numbered-list strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Ensure images meet minimum size in content areas */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 30px 15px;
  }
}

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

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 20px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__image-content {
    margin: 20px auto;
  }

  .page-slot-games__benefits-grid,
  .page-slot-games__types-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__benefit-card,
  .page-slot-games__type-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.2em;
  }

  .page-slot-games__card-description {
    font-size: 0.9em;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure minimum size is maintained */
    min-height: 200px !important;
  }

  /* Mobile section/container responsiveness */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Video section specific mobile padding */
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Video responsiveness */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}