/* 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;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top margin, body handles --header-offset */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -150px; /* Adjust to slightly overlap the image bottom for visual appeal */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0) 0%, #08160F 50%); /* Gradient fade from transparent to dark green */
  padding: 80px 20px 40px;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
  background: #11A84E; /* Main Color */
  color: #ffffff;
  border-color: #F2C14E; /* Gold */
}

/* Section styles */
.page-slot-games__introduction-section,
.page-slot-games__popular-games-section,
.page-slot-games__strategy-section,
.page-slot-games__why-choose-section,
.page-slot-games__cta-section {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Default white background */
}

.page-slot-games__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #F2C14E; /* Gold */
}

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

.page-slot-games__dark-section a {
  color: #2AD16F;
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #1E3A2A; /* Divider */
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

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

/* List styles */
.page-slot-games__game-list,
.page-slot-games__step-list,
.page-slot-games__tip-list,
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 900px;
}

.page-slot-games__game-item,
.page-slot-games__step-item,
.page-slot-games__tip-item,
.page-slot-games__promo-item {
  background-color: #f5f5f5;
  border-left: 5px solid #11A84E;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333; /* Dark text for light background */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-slot-games__dark-section .page-slot-games__game-item,
.page-slot-games__dark-section .page-slot-games__step-item,
.page-slot-games__dark-section .page-slot-games__tip-item,
.page-slot-games__dark-section .page-slot-games__promo-item {
  background-color: #11271B; /* Card BG */
  border-left-color: #2AD16F; /* Button highlight */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.page-slot-games__dark-section .page-slot-games__step-item strong {
  color: #F2C14E; /* Gold */
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-slot-games__feature-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for light background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #11A84E; /* Main Color */
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.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: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: #F2C14E; /* Gold */
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: 300;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: #11A84E; /* Main Color */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-qtext {
  color: #ffffff;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  color: #ffffff;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #A7D9B8;
}

.page-slot-games__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

/* Call to Action Section */
.page-slot-games__cta-container {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin: 60px auto;
  color: #F2FFF6;
}

.page-slot-games__cta-container .page-slot-games__section-title {
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
}

.page-slot-games__cta-container .page-slot-games__text-block {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-content {
    margin-top: -100px;
    padding: 60px 20px 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__introduction-section,
  .page-slot-games__game-types-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }
  .page-slot-games__hero-content {
    margin-top: -50px; /* Less overlap on mobile */
    padding: 40px 20px 20px;
  }
  .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__game-list,
  .page-slot-games__step-list,
  .page-slot-games__tip-list,
  .page-slot-games__promo-list,
  .page-slot-games__faq-list {
    padding: 0 15px;
  }
  .page-slot-games__game-item,
  .page-slot-games__step-item,
  .page-slot-games__tip-item,
  .page-slot-games__promo-item {
    padding: 12px 15px;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile responsive image, video, button, and container adaptations */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}