/* Base styles for the blog-s888-promotions-deep-dive page */
.page-blog-s888-promotions-deep-dive {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-blog-s888-promotions-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-s888-promotions-deep-dive__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-s888-promotions-deep-dive__dark-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-blog-s888-promotions-deep-dive__section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-s888-promotions-deep-dive__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-blog-s888-promotions-deep-dive__inline-link {
  color: #FFFF00; /* Custom color for links in content */
  text-decoration: underline;
}

.page-blog-s888-promotions-deep-dive__inline-link:hover {
  color: #017439;
}

/* Hero Section */
.page-blog-s888-promotions-deep-dive__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-blog-s888-promotions-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

.page-blog-s888-promotions-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-blog-s888-promotions-deep-dive__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-blog-s888-promotions-deep-dive__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-blog-s888-promotions-deep-dive__intro-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-blog-s888-promotions-deep-dive__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-s888-promotions-deep-dive__btn-primary,
.page-blog-s888-promotions-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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-blog-s888-promotions-deep-dive__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom color for Register/Login font */
  border: 2px solid #C30808;
}

.page-blog-s888-promotions-deep-dive__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-blog-s888-promotions-deep-dive__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-s888-promotions-deep-dive__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
  border-color: #017439;
}

/* Feature Grid */
.page-blog-s888-promotions-deep-dive__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-s888-promotions-deep-dive__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-s888-promotions-deep-dive__feature-icon {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-s888-promotions-deep-dive__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-blog-s888-promotions-deep-dive__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Promotions List */
.page-blog-s888-promotions-deep-dive__promotions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-s888-promotions-deep-dive__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-s888-promotions-deep-dive__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-blog-s888-promotions-deep-dive__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-s888-promotions-deep-dive__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-blog-s888-promotions-deep-dive__promo-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-s888-promotions-deep-dive__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-s888-promotions-deep-dive__promo-button:hover {
  background-color: #005a2d;
}

/* Guide Steps */
.page-blog-s888-promotions-deep-dive__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-s888-promotions-deep-dive__guide-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #333333;
}

.page-blog-s888-promotions-deep-dive__guide-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-blog-s888-promotions-deep-dive__guide-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* Info Grid */
.page-blog-s888-promotions-deep-dive__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-s888-promotions-deep-dive__info-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-s888-promotions-deep-dive__info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-blog-s888-promotions-deep-dive__info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-blog-s888-promotions-deep-dive__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-blog-s888-promotions-deep-dive__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-s888-promotions-deep-dive__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFF00;
  transition: background-color 0.3s ease;
}

.page-blog-s888-promotions-deep-dive__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-s888-promotions-deep-dive__faq-item summary::-webkit-details-marker,
.page-blog-s888-promotions-deep-dive__faq-item summary::marker {
  display: none;
}

.page-blog-s888-promotions-deep-dive__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-blog-s888-promotions-deep-dive__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.page-blog-s888-promotions-deep-dive__faq-item[open] .page-blog-s888-promotions-deep-dive__faq-toggle {
  content: "−";
}

.page-blog-s888-promotions-deep-dive__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog-s888-promotions-deep-dive__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-blog-s888-promotions-deep-dive__conclusion-section {
  padding-bottom: 80px;
}

/* Global image responsiveness */
.page-blog-s888-promotions-deep-dive img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-s888-promotions-deep-dive__container {
    padding: 0 30px;
  }

  .page-blog-s888-promotions-deep-dive__section {
    padding: 40px 0;
  }

  .page-blog-s888-promotions-deep-dive__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog-s888-promotions-deep-dive__intro-text {
    font-size: 1.1rem;
  }

  .page-blog-s888-promotions-deep-dive__cta-buttons {
    gap: 15px;
  }

  .page-blog-s888-promotions-deep-dive__btn-primary,
  .page-blog-s888-promotions-deep-dive__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-blog-s888-promotions-deep-dive__feature-icon {
    width: 200px;
  }

  .page-blog-s888-promotions-deep-dive__promotions-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-blog-s888-promotions-deep-dive__promo-image {
    height: 200px;
  }

  .page-blog-s888-promotions-deep-dive__faq-item summary {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog-s888-promotions-deep-dive__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    min-height: auto;
  }

  .page-blog-s888-promotions-deep-dive__hero-image-wrapper {
    max-height: 50vh;
  }

  .page-blog-s888-promotions-deep-dive__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog-s888-promotions-deep-dive__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-blog-s888-promotions-deep-dive__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* 通用图片与容器 */
  .page-blog-s888-promotions-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-s888-promotions-deep-dive__container,
  .page-blog-s888-promotions-deep-dive__section,
  .page-blog-s888-promotions-deep-dive__feature-card,
  .page-blog-s888-promotions-deep-dive__promo-card,
  .page-blog-s888-promotions-deep-dive__guide-item,
  .page-blog-s888-promotions-deep-dive__info-card,
  .page-blog-s888-promotions-deep-dive__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-s888-promotions-deep-dive__section {
    padding: 30px 0;
  }

  .page-blog-s888-promotions-deep-dive__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-blog-s888-promotions-deep-dive__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* 按钮与按钮容器 */
  .page-blog-s888-promotions-deep-dive__cta-buttons,
  .page-blog-s888-promotions-deep-dive__button-group,
  .page-blog-s888-promotions-deep-dive__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-blog-s888-promotions-deep-dive__btn-primary,
  .page-blog-s888-promotions-deep-dive__btn-secondary,
  .page-blog-s888-promotions-deep-dive__promo-button,
  .page-blog-s888-promotions-deep-dive a[class*="button"],
  .page-blog-s888-promotions-deep-dive 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;
    font-size: 1rem;
  }

  /* 产品展示图区域 - Not explicitly present as a grid of gameshows, but general grid handling */
  .page-blog-s888-promotions-deep-dive__feature-grid,
  .page-blog-s888-promotions-deep-dive__promotions-list,
  .page-blog-s888-promotions-deep-dive__guide-steps,
  .page-blog-s888-promotions-deep-dive__info-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    margin-top: 20px;
  }

  .page-blog-s888-promotions-deep-dive__feature-icon {
    width: 180px;
    height: auto;
  }

  .page-blog-s888-promotions-deep-dive__promo-image {
    height: 180px;
  }

  /* 其他内容模块 */
  .page-blog-s888-promotions-deep-dive__feature-title,
  .page-blog-s888-promotions-deep-dive__promo-title,
  .page-blog-s888-promotions-deep-dive__guide-title,
  .page-blog-s888-promotions-deep-dive__info-title {
    font-size: 1.3rem;
  }

  .page-blog-s888-promotions-deep-dive__feature-text,
  .page-blog-s888-promotions-deep-dive__promo-text,
  .page-blog-s888-promotions-deep-dive__guide-text,
  .page-blog-s888-promotions-deep-dive__info-text {
    font-size: 0.9rem;
  }

  .page-blog-s888-promotions-deep-dive__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-s888-promotions-deep-dive__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
}

/* Ensure no image filters are used */
.page-blog-s888-promotions-deep-dive img {
  filter: none !important;
}