.page-doi-tac {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark body background */
  background-color: #0A0A0A; /* Body Background */
}

.page-doi-tac__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

.page-doi-tac__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-doi-tac__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-doi-tac__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-doi-tac__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  border: none;
}

.page-doi-tac__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-doi-tac__btn--secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
}

.page-doi-tac__btn--secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-doi-tac__btn--large {
  padding: 15px 35px;
  font-size: 1.2rem;
}

/* Hero Section */
.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-doi-tac__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-doi-tac__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  color: #FFF6D6;
}

.page-doi-tac__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-doi-tac__hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-doi-tac__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-doi-tac__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-doi-tac__intro-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-doi-tac__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-doi-tac__feature-item {
  text-align: center;
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-doi-tac__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2C14E; /* Main color */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-doi-tac__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-doi-tac__feature-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-doi-tac__feature-text {
  color: #FFF6D6;
}

/* Why Partner Section */
.page-doi-tac__why-partner-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-doi-tac__dark-section .page-doi-tac__section-title {
  color: #FFD36B; /* Aux color for titles on dark sections */
}

.page-doi-tac__dark-section .page-doi-tac__section-description,
.page-doi-tac__dark-section p {
  color: #FFF6D6;
}

.page-doi-tac__why-partner-section .page-doi-tac__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-doi-tac__content-block {
  flex: 1;
  min-width: 300px;
}

.page-doi-tac__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-doi-tac__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__benefit-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #FFF6D6;
}

.page-doi-tac__benefit-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

/* How to Join Section */
.page-doi-tac__how-to-join-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-doi-tac__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-doi-tac__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

.page-doi-tac__step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-doi-tac__step-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-doi-tac__step-item p {
  color: #FFF6D6;
}

.page-doi-tac__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Commission Section */
.page-doi-tac__commission-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-doi-tac__commission-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-doi-tac__commission-text {
  flex: 1;
  min-width: 300px;
  color: #FFF6D6;
}

.page-doi-tac__commission-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-doi-tac__commission-tiers {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-doi-tac__commission-tiers li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD36B"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #FFF6D6;
}

/* FAQ Section */
.page-doi-tac__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-doi-tac__faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  background-color: #111111;
  user-select: none;
  list-style: none;
}

.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}

.page-doi-tac__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #FFD36B; /* Aux color */
  margin-left: 15px;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
  content: '−';
}

.page-doi-tac__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

/* Final CTA Section */
.page-doi-tac__cta-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-doi-tac__hero-content {
    text-align: center;
  }

  .page-doi-tac__hero-cta-group {
    justify-content: center;
  }

  .page-doi-tac__why-partner-section .page-doi-tac__container,
  .page-doi-tac__commission-content {
    flex-direction: column;
    text-align: center;
  }

  .page-doi-tac__content-block, .page-doi-tac__commission-text {
    order: 2;
  }

  .page-doi-tac__image-block, .page-doi-tac__commission-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-doi-tac__benefit-list,
  .page-doi-tac__commission-tiers {
    text-align: left;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-doi-tac {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-doi-tac__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-doi-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-doi-tac__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-align: center;
  }

  .page-doi-tac__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-doi-tac__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-doi-tac__btn,
  .page-doi-tac__btn--primary,
  .page-doi-tac__btn--secondary {
    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-doi-tac__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Intro Section */
  .page-doi-tac__intro-section {
    padding: 60px 0;
  }

  .page-doi-tac__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-doi-tac__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-doi-tac__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .page-doi-tac__feature-title {
    font-size: 1.4rem;
  }

  /* Why Partner Section */
  .page-doi-tac__why-partner-section {
    padding: 60px 0;
  }

  .page-doi-tac__why-partner-section .page-doi-tac__container {
    flex-direction: column;
  }

  .page-doi-tac__content-block,
  .page-doi-tac__image-block {
    order: unset; /* Reset order for mobile */
  }

  /* How to Join Section */
  .page-doi-tac__how-to-join-section {
    padding: 60px 0;
  }

  .page-doi-tac__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.6rem;
  }

  .page-doi-tac__step-title {
    font-size: 1.5rem;
  }

  /* Commission Section */
  .page-doi-tac__commission-section {
    padding: 60px 0;
  }

  .page-doi-tac__commission-content {
    flex-direction: column-reverse; /* Ensure text comes before image */
  }

  /* FAQ Section */
  .page-doi-tac__faq-section {
    padding: 60px 0;
  }

  .page-doi-tac__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-doi-tac__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* General Image adaptation */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Final CTA Section */
  .page-doi-tac__cta-section {
    padding: 60px 0;
  }
}