.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Custom background color */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Assuming body has --header-offset */
  padding-bottom: 40px;
  background-color: #E53935; /* Main brand color for hero background */
  color: #ffffff;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
}

.page-slot-games__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-slot-games__btn-text-link {
  background: none;
  color: #FF5A4F;
  border: none;
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-slot-games__btn-text-link:hover {
  color: #E53935;
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #E53935; /* Main brand color */
}

.page-slot-games__subsection-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #E53935;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.page-slot-games__ordered-list {
  list-style-type: decimal;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-slot-games__list-item strong {
  color: #E53935;
}

.page-slot-games__list--icon .page-slot-games__list-item {
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__list--icon .page-slot-games__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF5A4F;
  font-weight: bold;
}

.page-slot-games__list-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 5px;
  color: #E53935;
}

.page-slot-games__list-text {
  color: #333333;
}

/* Image Styling */
.page-slot-games__image-wrapper {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}

.page-slot-games__image-wrapper--center {
  text-align: center;
}

.page-slot-games__image-wrapper--small {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Card Layout */
.page-slot-games__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.page-slot-games__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games__card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-slot-games__card--dark-bg {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__card--dark-bg .page-slot-games__card-title {
  color: #FF5A4F;
}

.page-slot-games__card--dark-bg .page-slot-games__card-text {
  color: #f0f0f0;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Color Contrast Sections */
.page-slot-games__light-bg {
  background-color: #F5F7FA; /* Background */
  color: #333333; /* Text Main */
  padding: 60px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__subsection-title {
  color: #E53935;
}

.page-slot-games__light-bg .page-slot-games__text-block,
.page-slot-games__light-bg .page-slot-games__list-item {
  color: #333333;
}

.page-slot-games__dark-section {
  background-color: #E53935; /* Main brand color */
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__subsection-title {
  color: #FF5A4F; /* Auxiliary color for titles on dark background */
}

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section .page-slot-games__list-item {
  color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1em;
  color: #FF5A4F;
  position: relative;
  user-select: none;
}

.page-slot-games__faq-item summary::-webkit-details-marker,
.page-slot-games__faq-item summary::marker {
  display: none;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

/* CTA Buttons Centered */
.page-slot-games__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

/* Conclusion Section */
.page-slot-games__conclusion-section .page-slot-games__section-title {
  margin-bottom: 20px;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-slot-games__hero-title {
    font-size: 2em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

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

  /* 产品展示图区域 (Grid) */
  .page-slot-games__grid--2-col {
    grid-template-columns: 1fr;
  }

  /* 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__image-wrapper,
  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__card {
    max-width: 100% !important;
    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-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for button groups */
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__card-text {
    font-size: 0.95em;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__light-bg,
  .page-slot-games__dark-section {
    padding: 40px 0;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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