/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.page-slot-games__hero-section .page-slot-games__container {
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__game-button,
.page-slot-games__promo-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
}

/* Games Section */
.page-slot-games__games-section {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure it respects max-width: 100% */
}

.page-slot-games__game-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFFF00; /* Accent color for game titles */
}

.page-slot-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__game-button {
  background-color: #C30808; /* Custom color */
  color: #FFFF00; /* Custom font color */
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__game-button:hover {
  background-color: #a00606;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 80px 0;
}

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

.page-slot-games__feature-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

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

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

.page-slot-games__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: #ffffff;
}

.page-slot-games__guide-step {
  counter-increment: step-counter;
  font-size: 2em;
  font-weight: bold;
  color: #FFFF00; /* Accent color for steps */
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.page-slot-games__guide-step::before {
  content: "0" counter(step-counter);
}

.page-slot-games__guide-step:nth-child(n+10)::before {
  content: counter(step-counter);
}

.page-slot-games__guide-heading {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games__guide-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-slot-games__guide-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-slot-games__guide-description a:hover {
  color: #ffffff;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__tip-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__tip-heading {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__tip-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__promo-button {
  background-color: #C30808;
  color: #FFFF00;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__promo-button:hover {
  background-color: #a00606;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px 30px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 1em;
  color: #555555;
}

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

.page-slot-games__faq-answer a:hover {
  color: #00562e;
}

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

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

/* Image & Button Global Responsive Styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

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

  /* HERO Section */
  .page-slot-games__hero-section {
    padding: 60px 0;
    min-height: 450px;
    padding-top: 0; /* Ensures no double padding if shared.css sets body padding */
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%; /* Ensure buttons span full width */
  }

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

  .page-slot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  /* Product/Gameshow Grid */
  .page-slot-games__games-grid {
    grid-template-columns: 1fr; /* Single column for games */
    gap: 20px;
    overflow-x: hidden;
  }

  .page-slot-games__game-card {
    padding: 15px;
  }

  .page-slot-games__game-image {
    height: 200px;
  }

  /* Feature Grid */
  .page-slot-games__features-grid {
    grid-template-columns: 1fr; /* Single column for features */
    gap: 20px;
  }

  .page-slot-games__feature-card {
    padding: 20px;
  }

  .page-slot-games__feature-icon {
    height: 150px;
  }

  /* Guide List */
  .page-slot-games__guide-item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .page-slot-games__guide-step {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-slot-games__guide-heading {
    font-size: 1.5em;
  }

  /* Tips List */
  .page-slot-games__tip-item {
    padding: 20px;
  }

  .page-slot-games__tip-heading {
    font-size: 1.5em;
  }

  /* Promotions Grid */
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr; /* Single column for promotions */
    gap: 20px;
  }

  .page-slot-games__promo-image {
    height: 200px;
  }

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

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

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

  .page-slot-games__cta-buttons a {
    width: 100%;
  }

  /* Universal Image Adaption */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Universal Container Adaption */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__games-grid,
  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Universal Button Adaption */
  .page-slot-games__cta-button,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}