.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-slot-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7); /* Glow */
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, shared.css handles body padding */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the bottom of the image for visual flow */
  background: linear-gradient(0deg, #7A0E0E 0%, rgba(122, 14, 14, 0.8) 50%, rgba(122, 14, 14, 0.5) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #F2B544; /* Border */
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFD700; /* Gold-like for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.page-slot-games__hero-description {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #F2B544 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-slot-games__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__btn-small:hover {
  background: linear-gradient(180deg, #F2B544 0%, #FFD86A 100%);
  transform: translateY(-1px);
}

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

.page-slot-games__feature-item {
  background: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
}

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

.page-slot-games__game-card {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-slot-games__game-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slot-games__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

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

.page-slot-games__step-item {
  background: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
}

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

.page-slot-games__promotion-card {
  background: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__promotion-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-slot-games__promotion-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-slot-games__tips-image-wrapper {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
}

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

.page-slot-games__tips-text {
  flex: 1;
}

.page-slot-games__tips-subtitle {
  font-size: 1.3em;
  color: #F4D34D; /* Gold */
  margin-top: 25px;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(255, 204, 102, 0.4);
}

.page-slot-games__tips-subtitle:first-of-type {
  margin-top: 0;
}

.page-slot-games__tips-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  cursor: pointer;
  background: #7A0E0E; /* Deep Red */
  border-bottom: 1px solid #F2B544;
  text-shadow: 0 0 5px rgba(255, 204, 102, 0.3);
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  border-bottom: 1px solid #F2B544;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFCC66; /* Glow */
}

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

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
}

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

.page-slot-games__faq-answer a {
  color: #FFD86A;
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #F2B544;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom {
  background: #7A0E0E; /* Deep Red */
  padding: 60px 0;
  text-align: center;
  border-top: 2px solid #F2B544; /* Border */
  border-bottom: 2px solid #F2B544; /* Border */
}

.page-slot-games__cta-bottom .page-slot-games__section-title {
  color: #FFD86A; /* Button gradient start color */
  text-shadow: 0 0 12px rgba(255, 216, 106, 0.9);
}

.page-slot-games__cta-bottom .page-slot-games__section-intro {
  color: #FFF5E1; /* Text Main */
  margin-bottom: 50px;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

  .page-slot-games__feature-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-slot-games__tips-content {
    flex-direction: column;
    align-items: center;
  }

  .page-slot-games__tips-image-wrapper {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-slot-games__tips-text {
    max-width: 100%;
  }

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

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

  .page-slot-games__container {
    padding: 0 15px !important;
  }

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

  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
  }

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

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

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

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__tips-image-wrapper {
    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__btn-small,
  .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-bottom .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 !important; /* Ensure vertical stacking for multiple buttons */
  }

  /* 其他内容模块 */
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  .page-slot-games__feature-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__promotion-card,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__promotion-title {
    font-size: 1.2em;
  }

  .page-slot-games__tips-content {
    gap: 20px;
  }

  .page-slot-games__tips-image-wrapper {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .page-slot-games__tips-subtitle {
    font-size: 1.1em;
    margin-top: 20px;
  }

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

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

  .page-slot-games__cta-bottom {
    padding: 40px 0;
  }

  .page-slot-games__cta-bottom .page-slot-games__section-intro {
    margin-bottom: 30px;
  }
}