/* style/slot-games-types-features.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-slot-games-types-features {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css for body background */
}

.page-slot-games-types-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, larger bottom for content */
  background-color: #0d0d0d; /* Dark background for hero section */
}

.page-slot-games-types-features__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-slot-games-types-features__hero-content {
  position: relative; /* Ensure content is above image wrapper if z-index is used */
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: -100px; /* Pull content up over the image a bit, but not overlapping text */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text block */
  border-radius: 10px;
}

.page-slot-games-types-features__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games-types-features__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games-types-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-slot-games-types-features__cta-buttons--bottom {
  margin-top: 40px;
}

.page-slot-games-types-features__btn-primary,
.page-slot-games-types-features__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-types-features__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-slot-games-types-features__btn-primary:hover {
  background-color: #ff8c00;
  border-color: #ff8c00;
}

.page-slot-games-types-features__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games-types-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games-types-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-slot-games-types-features__section--light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games-types-features__section--dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games-types-features__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-slot-games-types-features__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-slot-games-types-features__text-block {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

.page-slot-games-types-features__inline-link {
  color: #EA7C07;
  text-decoration: underline;
}

.page-slot-games-types-features__inline-link:hover {
  color: #ff8c00;
}

.page-slot-games-types-features__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-slot-games-types-features__list-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: inherit;
}

.page-slot-games-types-features__image-with-text-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.page-slot-games-types-features__image-content {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-slot-games-types-features__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
}

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

.page-slot-games-types-features__feature-card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-types-features__feature-card .page-slot-games-types-features__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games-types-features__feature-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games-types-features__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-slot-games-types-features__strategy-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games-types-features__strategy-image {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-slot-games-types-features__strategy-content {
  flex: 2;
  min-width: 300px;
  max-width: 50%;
}

.page-slot-games-types-features__faq-list {
  margin-top: 30px;
}

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

.page-slot-games-types-features__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: #eaf6fc; /* Lighter blue for summary */
}

.page-slot-games-types-features__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-types-features__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 10px;
}

.page-slot-games-types-features__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games-types-features__hero-content {
    margin-top: -80px;
  }

  .page-slot-games-types-features__image-with-text-block,
  .page-slot-games-types-features__strategy-card {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games-types-features__image-content,
  .page-slot-games-types-features__text-content,
  .page-slot-games-types-features__strategy-image,
  .page-slot-games-types-features__strategy-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games-types-features {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-types-features__hero-section {
    padding: 10px 0 20px 0;
  }

  .page-slot-games-types-features__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-slot-games-types-features__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games-types-features__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-slot-games-types-features__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-slot-games-types-features__btn-primary,
  .page-slot-games-types-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem;
  }
  
  .page-slot-games-types-features__cta-buttons--bottom {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-types-features__content-area {
    padding: 20px 15px;
  }

  .page-slot-games-types-features__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-slot-games-types-features__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: 20px;
  }

  .page-slot-games-types-features__text-block,
  .page-slot-games-types-features__list-item,
  .page-slot-games-types-features__feature-description,
  .page-slot-games-types-features__faq-answer p {
    font-size: 0.95rem;
  }

  .page-slot-games-types-features__image-content,
  .page-slot-games-types-features__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-types-features__feature-card .page-slot-games-types-features__feature-image {
    height: 180px;
  }

  .page-slot-games-types-features__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-slot-games-types-features__faq-answer {
    padding: 0 20px 15px 20px;
  }
  
  /* Ensure all image containers/elements are responsive */
  .page-slot-games-types-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-types-features__hero-image-wrapper,
  .page-slot-games-types-features__image-with-text-block,
  .page-slot-games-types-features__features-grid,
  .page-slot-games-types-features__feature-card,
  .page-slot-games-types-features__strategy-card,
  .page-slot-games-types-features__faq-list,
  .page-slot-games-types-features__faq-item,
  .page-slot-games-types-features__content-area,
  .page-slot-games-types-features__section--light-bg,
  .page-slot-games-types-features__section--dark-bg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  
  .page-slot-games-types-features__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games-types-features__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}