/* style/slot-games.css */

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

/* Header offset to prevent content from being hidden by fixed header */
.page-slot-games__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* Sections */
.page-slot-games__hero-section,
.page-slot-games__promotions-section,
.page-slot-games__strategy-section,
.page-slot-games__cta-final-section {
  background-color: #017439; /* Brand primary color for dark sections */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__content-area,
.page-slot-games__guide-section,
.page-slot-games__faq-section {
  background-color: #ffffff; /* White background for light sections */
  padding: 80px 20px;
  text-align: center;
  color: #333333; /* Dark text for light background */
}

/* Max width for content */
.page-slot-games__hero-content,
.page-slot-games__content-area,
.page-slot-games__promotions-section .page-slot-games__text-block,
.page-slot-games__promotions-section .page-slot-games__promo-list,
.page-slot-games__guide-section .page-slot-games__text-block,
.page-slot-games__strategy-section .page-slot-games__text-block,
.page-slot-games__strategy-section .page-slot-games__strategy-list,
.page-slot-games__faq-container,
.page-slot-games__cta-final-section .page-slot-games__text-block {
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__hero-content {
  margin-bottom: 40px;
}

/* Titles and Headings */
.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-slot-games__feature-title,
.page-slot-games__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: inherit;
}

/* Text blocks */
.page-slot-games__hero-description,
.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-slot-games__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

/* Links */
.page-slot-games__link {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-slot-games__link:hover {
  color: #fff;
}

.page-slot-games__content-area .page-slot-games__link,
.page-slot-games__guide-section .page-slot-games__link,
.page-slot-games__faq-section .page-slot-games__link {
  color: #017439; /* Brand primary color for links on light background */
}

.page-slot-games__content-area .page-slot-games__link:hover,
.page-slot-games__guide-section .page-slot-games__link:hover,
.page-slot-games__faq-section .page-slot-games__link:hover {
  color: #005a2d;
}

/* Image styles */
.page-slot-games__hero-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-slot-games__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-slot-games__feature-card,
.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for cards on dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff; /* Light text for dark cards */
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-card {
  background-color: #f8f8f8; /* Light background for cards on light sections */
  color: #333333; /* Dark text for light cards */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-card .page-slot-games__btn-tertiary {
  margin-top: auto; /* Push button to bottom */
}

/* Lists */
.page-slot-games__promo-list,
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games__promo-list li,
.page-slot-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
}

.page-slot-games__promo-list li::before,
.page-slot-games__strategy-list li::before {
  content: '✔️';
  margin-right: 10px;
  color: #FFFF00; /* Yellow checkmark */
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
.page-slot-games__faq-container {
  text-align: left;
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: #f0f0f0; /* Light gray background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: #e8e8e8;
  border-bottom: 1px solid #dcdcdc;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-slot-games__hero-section,
  .page-slot-games__content-area,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 15px; /* Adjust padding for mobile */
  }

  /* Ensure all images are responsive on mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure all image/video containers are responsive on mobile */
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-list,
  .page-slot-games__strategy-list,
  .page-slot-games__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-slot-games__promo-list li,
  .page-slot-games__strategy-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding: 15px;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px;
  }
}