/* style/slot-games.css */

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

/* Section spacing and container */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-section,
.page-slot-games__intro-section,
.page-slot-games__why-choose-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__cta-final-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Specific background colors */
.page-slot-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-slot-games__light-bg {
  background-color: #11271B; /* Card BG, but used as light for contrast with dark body */
  color: #F2FFF6;
}

/* Text contrast fix for light background sections */
.page-slot-games__text-contrast-fix {
  color: #F2FFF6;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

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

/* Section Titles */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
}

/* Text Blocks */
.page-slot-games__text-block {
  font-size: 1em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block a {
  color: #57E38D;
  text-decoration: underline;
}

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

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

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* Features Grid / Card Layout */
.page-slot-games__features-grid {
  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: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-slot-games__card-text a {
  color: #57E38D;
  text-decoration: underline;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 30px;
}

.page-slot-games__list-item,
.page-slot-games__numbered-list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-slot-games__list-item-title,
.page-slot-games__numbered-list-item-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__list-item-text,
.page-slot-games__numbered-list-item-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__list-item-text a,
.page-slot-games__numbered-list-item-text a {
  color: #57E38D;
  text-decoration: underline;
}

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

.page-slot-games__promo-cards .page-slot-games__card {
  justify-content: space-between;
}

.page-slot-games__promo-cards .page-slot-games__btn-secondary {
  margin-top: 20px;
  width: fit-content;
  align-self: center;
}

/* FAQ Section */
.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: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__cta-final-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__features-grid,
  .page-slot-games__promo-cards,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-image,
  .page-slot-games__card-image,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__card {
    padding: 20px;
  }

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

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

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

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

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

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

  .page-slot-games__card-image {
    height: auto; /* Allow auto height on mobile for better fit */
  }

  .page-slot-games__list-item,
  .page-slot-games__numbered-list-item {
    padding: 15px;
  }
}