.page-slot-games {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-bg: #111111;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  font-family: Arial, sans-serif;
  color: var(--text-light); /* Base text color for dark background */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  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;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-slot-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-view-promo {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background: var(--card-bg);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
  color: var(--background-dark);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

/* General Section Styles */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__section-subtitle {
  font-size: 1.2em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-center {
  text-align: center;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-slot-games__intro-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__intro-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

/* Featured Games Section */
.page-slot-games__featured-games-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-slot-games__game-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 15px 10px 10px;
  font-weight: 600;
}

.page-slot-games__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-slot-games__btn-play {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
}

.page-slot-games__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-slot-games__how-to-play-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.6;
}

.page-slot-games__how-to-play-content p {
  margin-bottom: 15px;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-slot-games__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
}

.page-slot-games__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: var(--background-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1em;
}

.page-slot-games__steps-list li strong {
  color: var(--secondary-color);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-slot-games__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__promo-card .page-slot-games__card-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__promo-card p {
  font-size: 1em;
  color: var(--text-light);
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-slot-games__btn-view-promo {
  background: var(--primary-color);
  color: var(--background-dark);
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
}

.page-slot-games__btn-view-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
}

/* Download Section */
.page-slot-games__download-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  text-align: center;
}

.page-slot-games__download-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-slot-games__download-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-slot-games__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: rgba(255, 211, 107, 0.1);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

/* General image responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }

  .page-slot-games__section-title {
    font-size: 2.2em;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 15px;
  }
}

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

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

  .page-slot-games__main-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-slot-games__cta-buttons,
  .page-slot-games__download-options {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-view-promo,
  .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;
    font-size: 1em;
  }

  /* 其他内容模块 - 通用容器 */
  .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  /* 产品展示图区域 */
  .page-slot-games__games-grid {
    grid-template-columns: 1fr !important; /* Single column for games */
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__game-card {
    width: 100%;
  }

  .page-slot-games__game-thumbnail {
    height: 180px; /* Adjust height for mobile */
  }

  .page-slot-games__intro-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr !important; /* Single column for cards */
    gap: 20px;
  }

  .page-slot-games__intro-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.4em;
  }

  .page-slot-games__promo-image {
    height: 200px;
  }

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

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__download-image,
  .page-slot-games__download-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__faq-item {
    margin-bottom: 10px;
  }

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

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

  .page-slot-games__steps-list li {
    font-size: 1em;
    padding-left: 35px;
  }

  .page-slot-games__steps-list li::before {
    width: 28px;
    height: 28px;
    font-size: 0.9em;
  }
}