:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --background: #140C0C;
  --text-main: #FFF1E8;
  --border: #6A1E1E;
  --gold: #F3C54D;
  --deep-red: #7E0D0D;
}

/* Base styles for the page-dai-ly */
.page-dai-ly {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background); /* Page background color */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Hero Section */
.page-dai-ly__hero-section {
  padding-top: 10px; /* Small top padding, relying on shared.css for body padding */
  padding-bottom: 50px;
  text-align: center;
}

.page-dai-ly__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-dai-ly__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-dai-ly__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-dai-ly__hero-text-block {
  max-width: 800px;
}

.page-dai-ly__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive H1 font size */
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-dai-ly__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

/* General Section Title */
.page-dai-ly__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Buttons */
.page-dai-ly__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-dai-ly__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-dai-ly__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Benefits Section */
.page-dai-ly__benefits-section {
  padding: 60px 0;
  background-color: var(--background);
}

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

.page-dai-ly__benefit-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-dai-ly__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-dai-ly__benefit-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-dai-ly__card-title {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-dai-ly__card-description {
  font-size: 1rem;
  color: var(--text-main);
}

/* How to Join Section */
.page-dai-ly__how-to-join-section {
  padding: 60px 0;
  background-color: var(--background);
}

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

.page-dai-ly__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-dai-ly__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--deep-red);
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-dai-ly__cta-bottom {
  text-align: center;
}

/* Commission Section */
.page-dai-ly__commission-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-dai-ly__text-block {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-dai-ly__commission-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.page-dai-ly__commission-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is scrollable on small screens */
}

.page-dai-ly__commission-table th,
.page-dai-ly__commission-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--deep-red);
  color: var(--text-main);
}

.page-dai-ly__commission-table th {
  background-color: var(--deep-red);
  font-weight: bold;
  color: var(--gold);
}

.page-dai-ly__commission-table tr:nth-child(even) {
  background-color: rgba(42, 18, 18, 0.7); /* Slightly darker for even rows */
}

/* Marketing Tools Section */
.page-dai-ly__marketing-tools-section {
  padding: 60px 0;
  background-color: var(--background);
}

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

.page-dai-ly__tool-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

/* Payment Process Section */
.page-dai-ly__payment-process-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-dai-ly__payment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  color: var(--text-main);
}

.page-dai-ly__payment-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1rem;
}

.page-dai-ly__payment-list li::before {
  content: '✓';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Terms Section */
.page-dai-ly__terms-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-dai-ly__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  color: var(--text-main);
}

.page-dai-ly__terms-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1rem;
}

.page-dai-ly__terms-list li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

/* FAQ Section */
.page-dai-ly__faq-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-dai-ly__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-dai-ly__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-dai-ly__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--gold);
  list-style: none; /* Hide default marker for summary */
}

.page-dai-ly__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-dai-ly__faq-qtext {
  flex-grow: 1;
}

.page-dai-ly__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--text-main);
}

.page-dai-ly__faq-item[open] .page-dai-ly__faq-toggle {
  content: '-';
}

.page-dai-ly__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-main);
}

/* Call to Action Section */
.page-dai-ly__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-red); /* Using Deep Red for CTA background */
  color: var(--text-main);
}

.page-dai-ly__cta-content {
  max-width: 900px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-dai-ly__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-dai-ly__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-dai-ly__hero-content-wrapper {
    flex-direction: column;
  }

  .page-dai-ly__hero-image {
    margin-bottom: 20px;
  }

  .page-dai-ly__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .page-dai-ly__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-dai-ly__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-dai-ly__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .page-dai-ly img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-dai-ly__benefits-section,
  .page-dai-ly__how-to-join-section,
  .page-dai-ly__commission-section,
  .page-dai-ly__marketing-tools-section,
  .page-dai-ly__payment-process-section,
  .page-dai-ly__terms-section,
  .page-dai-ly__faq-section,
  .page-dai-ly__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-dai-ly__btn-primary,
  .page-dai-ly a[class*="button"],
  .page-dai-ly 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 20px !important;
    font-size: 1rem !important;
  }

  .page-dai-ly__btn-large {
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
  }
  
  .page-dai-ly__cta-buttons,
  .page-dai-ly__button-group,
  .page-dai-ly__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;
  }

  .page-dai-ly__benefits-grid,
  .page-dai-ly__steps-grid,
  .page-dai-ly__tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-dai-ly__benefit-card,
  .page-dai-ly__step-card,
  .page-dai-ly__tool-card,
  .page-dai-ly__faq-item {
    padding: 20px;
  }

  .page-dai-ly__card-title {
    font-size: 1.2rem;
  }

  .page-dai-ly__card-description {
    font-size: 0.95rem;
  }

  .page-dai-ly__commission-table th,
  .page-dai-ly__commission-table td {
    padding: 10px;
    font-size: 0.9rem;
  }

  .page-dai-ly__payment-list li,
  .page-dai-ly__terms-list li,
  .page-dai-ly__faq-question,
  .page-dai-ly__faq-answer {
    font-size: 1rem;
  }

  .page-dai-ly__faq-question {
    padding: 15px 20px;
  }
}