/* style/slot-games.css */

/* General styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f4f4f4; /* From body background in shared.css */
}

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

.page-slot-games__section {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #11A84E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Dark background for hero */
  overflow: hidden; /* Ensure no overflow */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-slot-games__hero-content {
  position: relative; /* Not absolute, for upper-image-lower-text */
  padding: 40px 20px;
  text-align: center;
  color: #F2FFF6; /* Light text for dark background */
  max-width: 900px;
  z-index: 1; /* Ensure content is above any potential overlay */
}

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

.page-slot-games__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-slot-games__cta-button--secondary {
  background: #22C768;
  color: #08160F;
}

.page-slot-games__cta-button--secondary:hover {
  background: #11A84E;
  color: #F2FFF6;
}

/* Content Images */
.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

/* Dark background section */
.page-slot-games__dark-bg {
  background-color: #08160F; /* Dark background */
  color: #F2FFF6; /* Light text */
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #F2C14E; /* Gold title on dark background */
}

.page-slot-games__dark-bg .page-slot-games__paragraph {
  color: #A7D9B8; /* Secondary light text */
}

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

.page-slot-games__feature-item {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold color for feature titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  color: #A7D9B8; /* Secondary light text */
}

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

.page-slot-games__card {
  background-color: #ffffff; /* White background for light body */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

.page-slot-games__card-title {
  font-size: 1.4em;
  color: #11A84E; /* Main brand color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__card-description {
  color: #333333;
}

/* Steps Grid for How to Play */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: #ffffff; /* White background for light body */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: #11A84E; /* Main brand color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__step-description {
  color: #333333;
}

.page-slot-games__link-text {
  color: #11A84E;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-slot-games__link-text:hover {
  text-decoration: underline;
}

/* Tips List */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background-color: #ffffff; /* White background for light body */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
  border-left: 5px solid #22C768; /* Auxiliary color accent */
}

.page-slot-games__list-item strong {
  color: #11A84E; /* Main brand color */
}

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

.page-slot-games__promo-card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Light text */
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold color for promo titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__promo-description {
  color: #A7D9B8; /* Secondary light text */
}

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

.page-slot-games__faq-item {
  background-color: #ffffff; /* White background for light body */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #11A84E; /* Main brand color */
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid #ddd;
}

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #333333;
  background-color: #ffffff;
}

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

/* Conclusion Section */
.page-slot-games__conclusion {
  text-align: center;
  padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

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

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

  .page-slot-games__paragraph {
    font-size: 1em;
  }

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

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

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

  /* Image responsive rules */
  .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__image-content,
  .page-slot-games__card-image,
  .page-slot-games__promo-card img { /* If promo cards had images */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsive rules - if any video elements are present */
  .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-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  /* Button responsive rules */
  .page-slot-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__feature-grid,
  .page-slot-games__card-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr; /* Stack columns on mobile */
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card {
    padding: 20px;
  }

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

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