/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding as body handles header offset */
  background-color: #0a0a0a; /* Match body background for consistency */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-slot-games__hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

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

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%; /* Ensure buttons don't exceed container width */
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color for text */
  border: 2px solid #26A9E0;
}

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

/* Content Area */
.page-slot-games__content-area {
  width: 100%; /* Ensure width: 100% is present for desktop */
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -40px; /* Pull content up slightly to overlap hero for visual flow */
  position: relative; /* For z-index if needed */
  z-index: 1;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-slot-games__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-slot-games__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
}

.page-slot-games__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Ensure minimum size */
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__promo-section {
  text-align: center;
  margin: 60px 0;
  padding: 40px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-slot-games__promo-section .page-slot-games__content-image {
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons--centered {
  margin-top: 40px;
}

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

.page-slot-games__faq-item {
  background-color: #f0f0f0;
  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;
  cursor: pointer;
  background-color: #e9e9e9;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

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

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  border-top: 1px solid #e0e0e0;
  color: #555555;
  background-color: #ffffff;
}

.page-slot-games__faq-answer .page-slot-games__paragraph {
  margin-bottom: 10px;
}

.page-slot-games__faq-answer .page-slot-games__content-image {
  margin-top: 20px;
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .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 {
    padding: 10px 15px 40px;
  }

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

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

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

  .page-slot-games__content-area {
    padding: 40px 15px !important;
    margin-top: -20px; /* Adjust overlap for mobile */
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-slot-games__image-gallery {
    grid-template-columns: 1fr; /* Single column for images */
    gap: 15px;
  }

  .page-slot-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size even on mobile */
    min-height: 200px !important;
  }

  .page-slot-games__promo-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all containers containing images or buttons are responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Specific override for content-area to manage its own padding */
  .page-slot-games__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Video section (if present) top padding */
  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Video responsiveness (if any video is added) */
  .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;
  }
}