/* style/slot-games.css */
.page-slot-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Body background is white */
}

.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 */
  text-align: center;
  overflow: hidden;
  background-color: #f0f8ff;
}

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

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

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #444444;
}

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

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

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF; /* Ensure contrast */
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Ensure contrast */
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b3;
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__dark-section {
  background-color: #26A9E0; /* Main brand color as background */
  color: #FFFFFF; /* White text for contrast */
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: inherit; /* Inherits from parent, so white on dark, dark on light */
  margin-bottom: 30px;
  font-weight: 700;
}

.page-slot-games__section-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-slot-games__feature-item,
.page-slot-games__tips-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__feature-item p,
.page-slot-games__tips-item p {
  color: #f0f0f0; /* Light text for dark background */
}

.page-slot-games__feature-title,
.page-slot-games__tips-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__image-inline {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover;
  max-width: 800px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 70px;
  text-align: left;
  color: #333333;
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #26A9E0;
  line-height: 1;
}

.page-slot-games__step-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-slot-games__faq-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Default for details tag: hide overflow initially */
details.page-slot-games__faq-item:not([open]) .page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

details.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  transition: max-height 0.3s ease-in;
}

.page-slot-games__conclusion-section {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
  }

  .page-slot-games__content-area,
  .page-slot-games__dark-section {
    padding: 40px 15px;
  }

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 15px; /* Small top padding for mobile */
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-slot-games__description {
    font-size: 1rem;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  .page-slot-games__image-full-width,
  .page-slot-games__image-inline,
  .page-slot-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__content-area,
  .page-slot-games__dark-section,
  .page-slot-games__feature-item,
  .page-slot-games__tips-item,
  .page-slot-games__step-item,
  .page-slot-games__faq-item,
  .page-slot-games__cta-buttons,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  .page-slot-games__step-item {
    padding-left: 60px;
  }

  .page-slot-games__step-item::before {
    font-size: 1.5rem;
    left: 15px;
    top: 25px;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.6rem, 10vw, 2.2rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .page-slot-games__feature-title,
  .page-slot-games__tips-title {
    font-size: 1.2rem;
  }

  .page-slot-games__step-title {
    font-size: 1.3rem;
  }
}