/* 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: #121212; /* Inherited from body, but explicitly set for clarity */
}

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

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: clamp(1em, 2vw, 1.2em);
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-slot-games__text-contrast-fix {
  color: #ffffff;
}

.page-slot-games__highlight {
  color: #FFFF00;
  font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  overflow: hidden;
  text-align: center;
  background-color: #121212; /* Ensure dark background for this section */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #FFFF00; /* Specific font color for login/register */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: clamp(1.1em, 2.2vw, 1.3em);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  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%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__introduction-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block {
  flex: 2;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
}

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

.page-slot-games__image-block {
  flex: 1;
  min-width: 200px;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-slot-games__center-image {
  text-align: center;
  margin-top: 40px;
}

/* Features Section */
.page-slot-games__features-section {
  background-color: #017439; /* Brand main color for dark section */
  padding: 60px 0;
  color: #ffffff;
}

.page-slot-games__features-section .page-slot-games__section-title,
.page-slot-games__features-section .page-slot-games__section-description {
  color: #ffffff;
}

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

.page-slot-games__feature-card {
  background-color: #ffffff; /* Light background for card */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #555555;
}

/* Gameshow Section */
.page-slot-games__gameshow-section {
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__gameshow-section .page-slot-games__section-title {
  color: #017439;
}

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

.page-slot-games__gameshow-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease;
}

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

.page-slot-games__gameshow-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__gameshow-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 15px 10px 10px;
  color: #017439;
}

.page-slot-games__gameshow-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
}

.page-slot-games__gameshow-cta {
  margin-top: 50px;
}

/* Guide Section */
.page-slot-games__guide-section {
  background-color: #121212; /* Dark background */
  padding: 60px 0;
  color: #ffffff;
}

.page-slot-games__guide-section .page-slot-games__section-title {
  color: #FFFF00;
}

.page-slot-games__guide-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__guide-step {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__promotion-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-slot-games__promotion-card.page-slot-games__reverse-layout {
  flex-direction: row-reverse;
}

.page-slot-games__promotion-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
}

.page-slot-games__promotion-content {
  flex: 1;
  max-width: 50%;
}

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

.page-slot-games__promotion-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #121212; /* Dark background */
  padding: 60px 0;
  color: #ffffff;
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: #FFFF00;
}

.page-slot-games__faq-section .page-slot-games__section-description {
  color: #f0f0f0;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFF00;
  cursor: pointer;
  list-style: none; /* For <details> summary */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Arbitrary large value to allow expansion */
  padding-top: 10px;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-games__conclusion-section .page-slot-games__text-block p {
  margin-bottom: 25px;
}

.page-slot-games__conclusion-section .page-slot-games__text-block a {
  color: #017439;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 30px 15px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 60vh;
  }

  .page-slot-games__content-wrapper {
    flex-direction: column;
  }

  .page-slot-games__image-block {
    flex: none;
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0;
  }

  .page-slot-games__promotion-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .page-slot-games__promotion-card.page-slot-games__reverse-layout {
    flex-direction: column;
  }

  .page-slot-games__promotion-image,
  .page-slot-games__promotion-content {
    max-width: 100%;
    flex: none;
  }

  .page-slot-games__promotion-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 30px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 40vh;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-content {
    padding: 0 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 产品展示图区域 */
  .page-slot-games__gameshow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__gameshow-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__content-wrapper,
  .page-slot-games__gameshow-card,
  .page-slot-games__promotion-card,
  .page-slot-games__guide-step,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-slot-games__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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: 12px 20px !important;
    font-size: 1em !important;
  }

  /* 其他内容模块 */
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__feature-card,
  .page-slot-games__guide-step {
    padding: 25px 15px;
  }
  .page-slot-games__card-title,
  .page-slot-games__step-title {
    font-size: 1.3em;
  }
  .page-slot-games__promotion-card {
    padding: 15px;
  }
  .page-slot-games__promotion-title {
    font-size: 1.3em;
  }
  .page-slot-games__promotion-text {
    font-size: 1em;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }
}