/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default page background */
}

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

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

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

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

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

.page-slot-games__btn-center {
  display: block;
  margin: 40px auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-slot-games__hero-section .page-slot-games__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 400px; /* Enforce minimum size */
  min-height: 200px;
}

/* General Content Sections */
.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__responsible-gambling-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 80px 0;
}

.page-slot-games__intro-section .page-slot-games__section-title,
.page-slot-games__guide-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__strategy-section .page-slot-games__section-title,
.page-slot-games__responsible-gambling-section .page-slot-games__section-title,
.page-slot-games__cta-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__intro-section .page-slot-games__section-description,
.page-slot-games__guide-section .page-slot-games__section-description,
.page-slot-games__promotions-section .page-slot-games__section-description,
.page-slot-games__faq-section .page-slot-games__section-description {
  color: #555555;
}

.page-slot-games__game-types-section .page-slot-games__section-description,
.page-slot-games__strategy-section .page-slot-games__section-description,
.page-slot-games__responsible-gambling-section .page-slot-games__section-description,
.page-slot-games__cta-section .page-slot-games__section-description {
  color: #f0f0f0;
}

.page-slot-games__content-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-slot-games__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Game Type List */
.page-slot-games__game-type-list,
.page-slot-games__guide-list,
.page-slot-games__strategy-list,
.page-slot-games__promotion-list,
.page-slot-games__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__game-type-list li,
.page-slot-games__guide-list li,
.page-slot-games__strategy-list li,
.page-slot-games__promotion-list li,
.page-slot-games__responsible-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-slot-games__game-type-list li:last-child,
.page-slot-games__guide-list li:last-child,
.page-slot-games__strategy-list li:last-child,
.page-slot-games__promotion-list li:last-child,
.page-slot-games__responsible-list li:last-child {
  margin-bottom: 0;
}

.page-slot-games__game-type-heading,
.page-slot-games__guide-heading,
.page-slot-games__strategy-heading,
.page-slot-games__promotion-heading,
.page-slot-games__responsible-heading {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__game-type-list li .page-slot-games__game-type-heading,
.page-slot-games__strategy-list li .page-slot-games__strategy-heading,
.page-slot-games__responsible-list li .page-slot-games__responsible-heading {
  color: #FFFFFF;
}

.page-slot-games__guide-list li .page-slot-games__guide-heading,
.page-slot-games__promotion-list li .page-slot-games__promotion-heading {
  color: #017439;
}

.page-slot-games__game-type-text,
.page-slot-games__strategy-text,
.page-slot-games__responsible-text {
  color: #cccccc;
}

.page-slot-games__guide-text,
.page-slot-games__promotion-text {
  color: #666666;
}

.page-slot-games__link {
  color: #017439;
  text-decoration: underline;
}

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

.page-slot-games__mobile-app-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0f8f0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-slot-games__mobile-app-text {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-slot-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-heading {
  font-size: 1.2em;
  color: #017439;
  margin: 0;
  font-weight: bold;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  font-weight: bold;
  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 30px;
  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; /* Ensure it expands sufficiently */
  padding: 20px 30px;
}

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

/* Final CTA Section */
.page-slot-games__cta-section {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-section .page-slot-games__container {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper {
    max-width: 100%;
    justify-content: center;
  }
  .page-slot-games__hero-image {
    min-width: 200px;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-slot-games__hero-image {
    width: 100%;
    min-width: unset;
  }

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

  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gambling-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow images to shrink below 200px on mobile for proper fit */
    min-height: unset !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__content-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons,
  .page-slot-games__mobile-app-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure buttons stack vertically */
    gap: 15px;
  }

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

  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
}