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

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

/* Hero Section */
.page-slot-games__hero-section {
  background-color: #0a0a0a; /* Ensure dark background for hero */
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-section .page-slot-games__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-slot-games__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-slot-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 30px;
}

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-slot-games__btn-play {
  background-color: #EA7C07; /* Custom color for Login/Play */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-slot-games__btn-play:hover {
  background-color: #c76706;
  border-color: #c76706;
}

.page-slot-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__blocked-solution-section,
.page-slot-games__games-section,
.page-slot-games__promotions-section,
.page-slot-games__guide-section,
.page-slot-games__app-section,
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

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

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #0a0a0a;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__image-center {
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__light-bg .page-slot-games__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

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

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

.page-slot-games__light-bg .page-slot-games__card-title {
  color: #0a0a0a;
}

.page-slot-games__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__card p {
  color: #555555;
}

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

/* Games Grid */
.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-slot-games__light-bg .page-slot-games__game-title {
  color: #0a0a0a;
}

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

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

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__light-bg .page-slot-games__faq-item:hover {
  background-color: #f5f5f5;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__faq-question {
  color: #333333;
}

.page-slot-games__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

.page-slot-games__light-bg .page-slot-games__faq-title {
  color: #0a0a0a;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }

  .page-slot-games__hero-section .page-slot-games__container {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__hero-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-slot-games__cta-buttons {
    justify-content: center;
  }

  .page-slot-games__hero-image-wrapper {
    order: -1;
  }

  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 0; /* Ensures no double padding if shared handles body */
    padding-bottom: 60px;
  }

  .page-slot-games__hero-title {
    font-size: 2em;
    margin-top: 20px;
  }

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

  /* 产品展示图区域 */
  .page-slot-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__game-image {
    height: auto;
    max-width: 100% !important;
    width: 100% !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__solution-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__image-content {
    margin: 20px auto;
  }

  /* 按钮与按钮容器 */
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .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 15px;
  }

  /* 其他内容模块 */
  .page-slot-games__intro-section,
  .page-slot-games__blocked-solution-section,
  .page-slot-games__games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__app-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__solution-grid,
  .page-slot-games__promo-cards,
  .page-slot-games__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-slot-games__faq-title {
    font-size: 1em;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.2em;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}