/* Base styles for the slot-games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background: var(--site-bg, #B71C1C); /* Background color */
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual appeal, but not covering text */
  background: rgba(19, 1, 1, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 55px);
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-slot-games__tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #FFF5E1;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 18px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-slot-games__btn-secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #E53935; /* Aux color */
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

/* General Card Styles */
.page-slot-games__card {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border color */
}

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

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
}

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

.page-slot-games__feature-title {
  font-size: 24px;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
  padding: 60px 0;
  background: #B71C1C; /* Background */
}

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

.page-slot-games__product-card {
  padding: 20px;
}

.page-slot-games__product-title {
  font-size: 22px;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__product-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-slot-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-small:hover {
  background: #F4D34D; /* Gold */
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
}

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

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

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.7);
}

.page-slot-games__step-title {
  font-size: 24px;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-slot-games__btn-text {
  color: #FFCC66; /* Glow */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-slot-games__btn-text:hover {
  color: #F4D34D; /* Gold */
  text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background: #B71C1C; /* Background */
}

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

.page-slot-games__promo-title {
  font-size: 22px;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__promo-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-slot-games__view-all-promos {
  text-align: center;
}

/* Article Section */
.page-slot-games__article-section {
  padding: 60px 0;
}

.page-slot-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #FFF5E1;
}

.page-slot-games__article-body h3 {
  font-size: 26px;
  color: #F4D34D; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__article-body p {
  margin-bottom: 1.5em;
}

.page-slot-games__article-body a {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

.page-slot-games__article-body a:hover {
  color: #F4D34D; /* Gold */
}

.page-slot-games__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-slot-games__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__article-figure figcaption {
  font-size: 14px;
  color: #FFCC66; /* Glow */
  margin-top: 10px;
  font-style: italic;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background: #B71C1C; /* Background */
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F4D34D; /* Gold */
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #C91F17; /* Main color */
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F4D34D; /* Gold */
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #C91F17; /* Main color */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main */
  font-size: 16px;
  line-height: 1.7;
}

/* Contact CTA Section */
.page-slot-games__contact-cta {
  padding: 60px 0 80px;
  text-align: center;
}

/* Dark Background Sections for contrast */
.page-slot-games__dark-section {
  background-color: #7A0E0E; /* Deep Red for darker sections */
  color: #FFF5E1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -80px;
    padding: 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .page-slot-games__tagline {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-slot-games__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }
  .page-slot-games__section-description {
    font-size: clamp(15px, 1.8vw, 17px);
  }
}

@media (max-width: 849px) {
  .page-slot-games__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-slot-games__hero-content {
    margin-top: 0; /* Prevent content from overlapping image */
    background: rgba(19, 1, 1, 0.9); /* Stronger background for readability */
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding */
    min-height: unset;
    margin-bottom: 30px;
  }
  .page-slot-games__hero-image {
    max-height: 40vh;
  }
  .page-slot-games__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }
  .page-slot-games__hero-content {
    padding: 15px;
    margin-top: 0;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }
  .page-slot-games__tagline {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 产品展示图区域 */
  .page-slot-games__products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-slot-games__product-card {
    padding: 15px;
  }
  .page-slot-games__product-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-slot-games__section-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 15px;
  }
  .page-slot-games__section-description {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 25px;
    padding: 0 5px;
  }
  .page-slot-games__article-body {
    font-size: 15px;
    line-height: 1.7;
    padding: 0 5px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__article-body h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-slot-games__article-figure {
    margin: 20px 0;
  }
  .page-slot-games__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__article-figure figcaption {
    font-size: 13px;
  }

  /* 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__features-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotions-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr; /* Single column for most grids on mobile */
    gap: 20px;
  }

  /* FAQ Section */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }

  /* Dark sections for contrast */
  .page-slot-games__dark-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__dark-section > .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}