.page-dai-ly-pub88 {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Custom background color for the page content */
  line-height: 1.6;
}

/* Hero Section */
.page-dai-ly-pub88__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #F5F7FA; /* Match page background */
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-dai-ly-pub88__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-dai-ly-pub88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-dai-ly-pub88__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-dai-ly-pub88__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-dai-ly-pub88__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-dai-ly-pub88__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-dai-ly-pub88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-dai-ly-pub88__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-dai-ly-pub88__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-dai-ly-pub88__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-dai-ly-pub88__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* General Section Styling */
.page-dai-ly-pub88__section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-dai-ly-pub88__section:nth-of-type(even) {
  background-color: #ffffff; /* Alternate background for readability */
}

.page-dai-ly-pub88__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-dai-ly-pub88__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-dai-ly-pub88__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Section */
.page-dai-ly-pub88__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-dai-ly-pub88__benefit-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-dai-ly-pub88__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-dai-ly-pub88__card-figure {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px; /* For image in card */
}

.page-dai-ly-pub88__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size for content images */
  min-width: 200px;
}

.page-dai-ly-pub88__card-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-dai-ly-pub88__card-text {
  font-size: 1em;
  color: #333333;
}

/* How-To Section */
.page-dai-ly-pub88__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.page-dai-ly-pub88__step-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-dai-ly-pub88__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FF5A4F;
  background: rgba(229, 57, 53, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.page-dai-ly-pub88__step-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-dai-ly-pub88__step-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-dai-ly-pub88__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to bottom */
}

.page-dai-ly-pub88__step-figure {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
}

.page-dai-ly-pub88__step-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

/* Commission Section */
.page-dai-ly-pub88__commission-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-dai-ly-pub88__commission-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is wide enough for content */
}

.page-dai-ly-pub88__commission-table th,
.page-dai-ly-pub88__commission-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
  color: #333333;
}

.page-dai-ly-pub88__commission-table th {
  background-color: #E53935;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

.page-dai-ly-pub88__commission-table tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

.page-dai-ly-pub88__commission-table tbody tr:hover {
  background-color: #ffe0e0;
}

.page-dai-ly-pub88__commission-note {
  font-size: 0.95em;
  color: #555555;
  margin-top: 20px;
  text-align: center;
}

/* Marketing Section */
.page-dai-ly-pub88__marketing-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly-pub88__marketing-list li {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-dai-ly-pub88__marketing-list li strong {
  color: #E53935;
}

.page-dai-ly-pub88__marketing-figure {
  margin-top: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
}

.page-dai-ly-pub88__marketing-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

.page-dai-ly-pub88__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-dai-ly-pub88__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-dai-ly-pub88__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly-pub88__faq-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-dai-ly-pub88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-dai-ly-pub88__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-dai-ly-pub88__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-dai-ly-pub88__faq-item[open] .page-dai-ly-pub88__faq-toggle {
  transform: rotate(45deg);
}

.page-dai-ly-pub88__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Conclusion Section - uses general section styles */

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-dai-ly-pub88__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-dai-ly-pub88__section-title {
    font-size: 2.2em;
  }

  .page-dai-ly-pub88__benefits-grid,
  .page-dai-ly-pub88__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + CTAs */
  .page-dai-ly-pub88__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-dai-ly-pub88__hero-content {
    padding: 0 15px;
  }

  .page-dai-ly-pub88__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
    margin-bottom: 10px;
  }

  .page-dai-ly-pub88__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-dai-ly-pub88__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  /* 2. Single-column long article containers */
  .page-dai-ly-pub88__section {
    padding: 40px 0;
  }

  .page-dai-ly-pub88__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-dai-ly-pub88__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-dai-ly-pub88__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* 3. General images and figures */
  .page-dai-ly-pub88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-dai-ly-pub88__hero-image-wrapper,
  .page-dai-ly-pub88__card-figure,
  .page-dai-ly-pub88__step-figure,
  .page-dai-ly-pub88__marketing-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* 4. Buttons and button containers */
  .page-dai-ly-pub88__btn,
  .page-dai-ly-pub88 a[class*="button"],
  .page-dai-ly-pub88 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;
  }

  .page-dai-ly-pub88__cta-buttons,
  .page-dai-ly-pub88__button-group,
  .page-dai-ly-pub88__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-pub88__cta-buttons {
    flex-direction: column; /* Force vertical stack for mobile CTAs */
  }

  /* 5. Registration tutorials and FAQ blocks */
  .page-dai-ly-pub88__benefits-grid,
  .page-dai-ly-pub88__steps-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 25px;
  }

  .page-dai-ly-pub88__benefit-card,
  .page-dai-ly-pub88__step-card {
    padding: 20px;
  }

  .page-dai-ly-pub88__step-number {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }

  .page-dai-ly-pub88__commission-table {
    min-width: unset;
  }

  .page-dai-ly-pub88__commission-table th,
  .page-dai-ly-pub88__commission-table td {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-dai-ly-pub88__marketing-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-dai-ly-pub88__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-dai-ly-pub88__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
}

/* Color contrast enforcement - default light background */
.page-dai-ly-pub88 {
  color: #333333; /* Default text for light background */
}

.page-dai-ly-pub88__card,
.page-dai-ly-pub88__faq-item,
.page-dai-ly-pub88__marketing-list li,
.page-dai-ly-pub88__step-card {
  background: #ffffff; /* Explicitly white background for cards/items */
  color: #333333;
}

.page-dai-ly-pub88__dark-section {
  background: #E53935;
  color: #ffffff;
}

.page-dai-ly-pub88__btn-primary {
  color: #ffffff; /* White text on red/orange gradient button */
}

.page-dai-ly-pub88__btn-secondary {
  color: #E53935; /* Red text on white button */
}

.page-dai-ly-pub88__commission-table th {
  background-color: #E53935;
  color: #ffffff;
}