/* Base styles for the page */
.page-dai-ly-j88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  padding-top: 0; /* Handled by body padding-top in shared.css */
}

.page-dai-ly-j88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-dai-ly-j88__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFB04A; /* Gold-like from button gradient */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-dai-ly-j88__section-description {
  font-size: 18px;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly-j88__text-block {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-dai-ly-j88__card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF1E8;
  border: 1px solid #6A1E1E; /* Border */
}

.page-dai-ly-j88__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
}

.page-dai-ly-j88__card-text {
  font-size: 15px;
  color: #FFF1E8;
  line-height: 1.6;
}

.page-dai-ly-j88__btn-primary,
.page-dai-ly-j88__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-dai-ly-j88__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-dai-ly-j88__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  box-shadow: 0 5px 20px rgba(255, 176, 74, 0.4);
}

.page-dai-ly-j88__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D;
}

.page-dai-ly-j88__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C; /* Background */
  border-color: #F3C54D;
}

/* Hero Section */
.page-dai-ly-j88__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 50px;
}

.page-dai-ly-j88__hero-image {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 30px; /* Space between image and content */
}

.page-dai-ly-j88__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default desktop cover */
  aspect-ratio: 16/9;
  min-height: 300px;
}

.page-dai-ly-j88__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-dai-ly-j88__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-dai-ly-j88__hero-description {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-dai-ly-j88__intro-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-dai-ly-j88__intro-section .page-dai-ly-j88__btn-secondary {
  margin-top: 30px;
}

/* Benefits Section */
.page-dai-ly-j88__benefits-section {
  padding: 80px 0;
  background-color: #2A1212; /* Card BG, used for dark section */
}

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

.page-dai-ly-j88__benefit-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* How to Join Section */
.page-dai-ly-j88__how-to-join-section {
  padding: 80px 0;
  background-color: #140C0C; /* Background */
}

.page-dai-ly-j88__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-dai-ly-j88__step-card {
  position: relative;
  padding-top: 50px;
}

.page-dai-ly-j88__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F3C54D; /* Gold */
  color: #140C0C; /* Background */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-dai-ly-j88__step-card .page-dai-ly-j88__card-title {
  margin-top: 25px;
}

.page-dai-ly-j88__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Commission Section */
.page-dai-ly-j88__commission-section {
  padding: 80px 0;
  background-color: #2A1212; /* Card BG */
}

.page-dai-ly-j88__commission-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-dai-ly-j88__commission-details img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-dai-ly-j88__commission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

.page-dai-ly-j88__commission-list li {
  background-color: #140C0C; /* Background */
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #FFF1E8;
  border-left: 5px solid #F3C54D; /* Gold */
}

.page-dai-ly-j88__commission-list li strong {
  color: #FFB04A;
}

/* FAQ Section */
.page-dai-ly-j88__faq-section {
  padding: 80px 0;
  background-color: #140C0C; /* Background */
}

.page-dai-ly-j88__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-dai-ly-j88__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
details.page-dai-ly-j88__faq-item summary.page-dai-ly-j88__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: #F3C54D; /* Gold */
}
details.page-dai-ly-j88__faq-item summary.page-dai-ly-j88__faq-question::-webkit-details-marker {
  display: none;
}
details.page-dai-ly-j88__faq-item summary.page-dai-ly-j88__faq-question:hover {
  background: #7E0D0D; /* Deep Red */
}
.page-dai-ly-j88__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-dai-ly-j88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-dai-ly-j88__faq-item .page-dai-ly-j88__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}

/* CTA Section */
.page-dai-ly-j88__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #7E0D0D; /* Deep Red */
}

.page-dai-ly-j88__cta-section .page-dai-ly-j88__section-title,
.page-dai-ly-j88__cta-section .page-dai-ly-j88__section-description {
  color: #FFF1E8; /* Text Main */
}

.page-dai-ly-j88__cta-section .page-dai-ly-j88__cta-button {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-dai-ly-j88__container {
    padding: 15px;
  }
  .page-dai-ly-j88__section-title {
    font-size: 32px;
  }
  .page-dai-ly-j88__section-description {
    font-size: 16px;
  }
  .page-dai-ly-j88__main-title {
    font-size: clamp(28px, 4vw, 42px);
  }
  .page-dai-ly-j88__hero-description {
    font-size: 18px;
  }
  .page-dai-ly-j88__commission-details img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  /* General content area padding for mobile */
  .page-dai-ly-j88__container,
  .page-dai-ly-j88__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-dai-ly-j88__hero-section {
    padding-top: 10px !important; /* Small top padding */
    min-height: auto;
  }
  .page-dai-ly-j88__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    height: auto !important;
    min-height: 200px;
  }
  .page-dai-ly-j88__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }
  .page-dai-ly-j88__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* 产品展示图区域 (if any grid-like section) */
  /* This page does not have a products-grid, but for compliance, if it had one: */
  /* .page-dai-ly-j88__products-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    overflow-x: hidden !important; 
  } */
  .page-dai-ly-j88__benefits-grid,
  .page-dai-ly-j88__steps-grid {
    grid-template-columns: 1fr !important; /* Single column layout for cards */
    gap: 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-dai-ly-j88__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-dai-ly-j88__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-dai-ly-j88__text-block {
    font-size: 15px;
  }

  /* 通用图片与容器 */
  .page-dai-ly-j88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-dai-ly-j88__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-dai-ly-j88__commission-details img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 按钮与按钮容器 */
  .page-dai-ly-j88__btn-primary,
  .page-dai-ly-j88__btn-secondary,
  .page-dai-ly-j88 a[class*="button"],
  .page-dai-ly-j88 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;
    font-size: 16px;
  }
  .page-dai-ly-j88__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile styles */
  details.page-dai-ly-j88__faq-item summary.page-dai-ly-j88__faq-question { padding: 15px; }
  .page-dai-ly-j88__faq-qtext { font-size: 16px; }
  .page-dai-ly-j88__faq-toggle { font-size: 24px; width: 28px; }
  details.page-dai-ly-j88__faq-item .page-dai-ly-j88__faq-answer { padding: 0 15px 15px; }

  .page-dai-ly-j88__commission-details {
    flex-direction: column;
    gap: 20px;
  }
  .page-dai-ly-j88__commission-list {
    min-width: unset;
    width: 100%;
  }
  .page-dai-ly-j88__card {
    padding: 20px;
  }
  .page-dai-ly-j88__card-title {
    font-size: 20px;
  }
}