/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: #22C768; /* Auxiliary */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-slot-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  z-index: 10;
  margin-top: -150px; /* Overlap slightly for visual flow, but text is below image */
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color */
  border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__features-section,
.page-slot-games__tips-section,
.page-slot-games__cta-final-section {
  padding: 60px 0;
}

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-slot-games__list-item {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__list-item strong {
  color: #22C768;
}

.page-slot-games__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

/* Game Types Section */
.page-slot-games__game-type-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* How To Play Section - Dark background */
.page-slot-games__how-to-play-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-slot-games__how-to-play-section .page-slot-games__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__how-to-play-section .page-slot-games__text-block {
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__step-card {
  background-color: rgba(17, 39, 27, 0.8); /* Slightly transparent Card BG */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-slot-games__step-card .page-slot-games__card-title {
  color: #2AD16F; /* Button color for emphasis */
  font-size: 1.6em;
}

.page-slot-games__step-card .page-slot-games__card-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

/* Features Section */
.page-slot-games__features-section .page-slot-games__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-slot-games__feature-card .page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-slot-games__feature-card .page-slot-games__card-title {
  color: #F2FFF6;
}

.page-slot-games__feature-card .page-slot-games__card-description {
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__tips-list .page-slot-games__list-item {
  background-color: transparent;
  padding: 10px 0;
  border: none;
  box-shadow: none;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #A7D9B8;
}

.page-slot-games__tips-list .page-slot-games__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  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: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F; /* Button color */
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Final Section */
.page-slot-games__cta-final-section {
  text-align: center;
  padding: 60px 0 80px;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-slot-games__sub-title {
    font-size: 1.5em;
  }

  .page-slot-games__text-block,
  .page-slot-games__hero-description,
  .page-slot-games__card-description,
  .page-slot-games__list-item,
  .page-slot-games__faq-answer p {
    font-size: 1em;
  }

  .page-slot-games__hero-content {
    margin-top: -80px; /* Adjust overlap for smaller screens */
    padding: 20px 15px;
  }

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

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

  .page-slot-games__introduction-section,
  .page-slot-games__game-types-section,
  .page-slot-games__features-section,
  .page-slot-games__tips-section,
  .page-slot-games__cta-final-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

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

  /* Image responsiveness */
  .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-inline,
  .page-slot-games__game-type-card,
  .page-slot-games__step-card,
  .page-slot-games__feature-card,
  .page-slot-games__faq-item,
  .page-slot-games__cta-final-section .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

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

@media (max-width: 480px) {
  .page-slot-games__hero-content {
    margin-top: -60px;
  }
  .page-slot-games__hero-description {
    font-size: 0.95em;
  }
}