/* style/slot-games.css */

/* Root variables for colors */
:root {
  --page-slot-games-bg-color: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General page styling */
.page-slot-games {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  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: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-slot-games-deep-green);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-weight: bold;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  /* No fixed font-size, rely on clamp for responsiveness if needed, but not fixed large */
  font-size: clamp(2em, 4vw, 3em);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__small-btn {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__intro-section p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-card-bg);
  border-top: 1px solid var(--page-slot-games-divider-color);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

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

.page-slot-games__feature-card {
  background-color: var(--page-slot-games-bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease;
}

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

.page-slot-games__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__game-types-section > .page-slot-games__container > p {
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
}

.page-slot-games__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__game-type-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease;
}

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

.page-slot-games__game-type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, will be adjusted by object-fit */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-slot-games__game-type-card h3 {
  font-size: 1.4em;
  color: var(--page-slot-games-gold-color);
  padding: 20px 20px 10px;
}

.page-slot-games__game-type-card p {
  color: var(--page-slot-games-text-secondary);
  padding: 0 20px 20px;
  font-size: 0.95em;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__how-to-play-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-slot-games__how-to-play-list li {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__list-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__list-title::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-weight: bold;
}

.page-slot-games__how-to-play-list p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 15px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__promotions-section > .page-slot-games__container > p {
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
}

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold-color);
  padding: 20px 20px 10px;
}

.page-slot-games__promo-card p {
  color: var(--page-slot-games-text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
  font-size: 0.95em;
}

.page-slot-games__promo-card .page-slot-games__btn-primary,
.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 20px 20px;
  text-align: center;
}

.page-slot-games__all-promos-cta {
  text-align: center;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__tips-section > .page-slot-games__container > p {
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.page-slot-games__tips-list li {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__tips-list p {
  color: var(--page-slot-games-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg-color);
}

.page-slot-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  border: 1px solid var(--page-slot-games-border-color);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-gold-color);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
  list-style: none; /* For details/summary */
}

.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;
  color: var(--page-slot-games-gold-color);
  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: 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

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

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--page-slot-games-deep-green);
  border-top: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__cta-final-section p {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 40px;
}

/* Image and Button Responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are never too small */
.page-slot-games__feature-image,
.page-slot-games__game-type-image,
.page-slot-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 30px 0 !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

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

  .page-slot-games__hero-description,
  .page-slot-games__intro-section p,
  .page-slot-games__promotions-section > .page-slot-games__container > p,
  .page-slot-games__tips-section > .page-slot-games__container > p,
  .page-slot-games__cta-final-section p {
    font-size: 1em !important;
  }

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

  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promo-card,
  .page-slot-games__how-to-play-list li,
  .page-slot-games__tips-list li,
  .page-slot-games__faq-item {
    padding: 20px !important;
  }

  .page-slot-games__feature-image,
  .page-slot-games__game-type-image,
  .page-slot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  .page-slot-games__list-title,
  .page-slot-games__feature-title,
  .page-slot-games__game-type-title,
  .page-slot-games__promo-title {
    font-size: 1.3em !important;
  }

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

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