.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Rely on body for header offset, use small top padding */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  max-height: 600px; /* Limit height for desktop */
  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;
  min-height: 300px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: #f0f8ff;
}

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

.page-slot-games__cta-buttons--center {
  margin-top: 40px;
  justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

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

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

/* Section Titles */
.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #2F6BFF;
  border-radius: 2px;
}

/* Text Blocks */
.page-slot-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #1F2D3D;
}

.page-slot-games__dark-bg .page-slot-games__text-block {
  color: #f0f8ff;
}

/* Highlight Section */
.page-slot-games__highlights-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-slot-games__highlights-section .page-slot-games__container {
  padding-top: 0;
  padding-bottom: 0;
}

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

.page-slot-games__highlight-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-slot-games__highlight-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

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

.page-slot-games__highlight-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-slot-games__highlight-item p {
  font-size: 1rem;
  color: #f0f8ff;
}

/* Top Games Section */
.page-slot-games__top-games-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

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

.page-slot-games__game-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #1F2D3D;
}

.page-slot-games__card-title a {
  color: #1F2D3D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__card-title a:hover {
  color: #2F6BFF;
}

.page-slot-games__game-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 20px 20px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__guide-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-slot-games__guide-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-slot-games__guide-item p {
  font-size: 1.05rem;
  color: #1F2D3D;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__container {
  padding-top: 0;
  padding-bottom: 0;
}

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

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

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

.page-slot-games__promo-card .page-slot-games__card-title {
  color: #ffffff;
  font-size: 1.35rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__promo-card p {
  color: #f0f8ff;
  font-size: 0.95rem;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__tips-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__tips-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-slot-games__tips-item p {
  font-size: 1rem;
  color: #333333;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-slot-games__why-choose-section .page-slot-games__container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-slot-games__why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__why-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__why-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-slot-games__why-item p {
  font-size: 1rem;
  color: #f0f8ff;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.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 #D6E2FF;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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;
}
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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-answer p {
  font-size: 1rem;
  color: #333333;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-slot-games__conclusion-section .page-slot-games__section-title {
  margin-bottom: 30px;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-slot-games__hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }
  .page-slot-games__text-block {
    font-size: 1rem;
  }
  .page-slot-games__game-card img {
    
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 30px 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 */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-image img {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important;
    min-height: 200px; /* Ensure minimum size */
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-slot-games__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 25px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  /* 按钮与按钮容器 */
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__cta-buttons--center {
    margin-top: 30px;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-slot-games__section-title::after {
    width: 60px;
  }

  .page-slot-games__text-block {
    font-size: 0.95rem;
    text-align: left;
  }

  /* 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block;
  }
  .page-slot-games__highlights-section,
  .page-slot-games__top-games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }
  .page-slot-games__highlight-item,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__why-item,
  .page-slot-games__guide-item,
  .page-slot-games__tips-item {
    padding: 20px;
  }

  /* 产品展示图区域 */
  .page-slot-games__products-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-slot-games__game-card img {
    
  }
  .page-slot-games__card-title {
    font-size: 1.2rem;
    margin: 15px 15px 8px;
  }
  .page-slot-games__game-card p {
    padding: 0 15px 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-slot-games__guide-title,
  .page-slot-games__promo-card .page-slot-games__card-title,
  .page-slot-games__tips-title,
  .page-slot-games__why-title {
    font-size: 1.25rem;
  }
  .page-slot-games__faq-qtext {
    font-size: 1rem;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Ensure no image filters are applied */
.page-slot-games img {
  filter: none !important;
}