/* Base styles for the specific page */
.page-blog-huong-dan-dang-ky-6ff-con {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #FFFFFF; /* Default body background is white */
}

.page-blog-huong-dan-dang-ky-6ff-con__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-blog-huong-dan-dang-ky-6ff-con__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-6ff-con__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-6ff-con__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-blog-huong-dan-dang-ky-6ff-con__hero-image img {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  object-fit: cover;
  display: block; /* Ensures image does not have extra space below */
}

.page-blog-huong-dan-dang-ky-6ff-con__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 15px 40px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-6ff-con__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #017439;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.page-blog-huong-dan-dang-ky-6ff-con__description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #555555;
  margin-bottom: 30px;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-6ff-con__btn-primary,
.page-blog-huong-dan-dang-ky-6ff-con__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-6ff-con__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin: 10px;
}

.page-blog-huong-dan-dang-ky-6ff-con__btn-primary:hover {
  background-color: #d82c2c;
  border-color: #d82c2c;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-6ff-con__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  margin: 10px;
}

.page-blog-huong-dan-dang-ky-6ff-con__btn-secondary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-6ff-con__cta-block {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-6ff-con__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Section specific styles */
.page-blog-huong-dan-dang-ky-6ff-con__intro-section,
.page-blog-huong-dan-dang-ky-6ff-con__prerequisites-section,
.page-blog-huong-dan-dang-ky-6ff-con__guide-section,
.page-blog-huong-dan-dang-ky-6ff-con__common-errors-section,
.page-blog-huong-dan-dang-ky-6ff-con__benefits-section,
.page-blog-huong-dan-dang-ky-6ff-con__faq-section,
.page-blog-huong-dan-dang-ky-6ff-con__cta-section {
  padding: 50px 0;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-6ff-con__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-6ff-con__medium-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-6ff-con__dark-bg {
  background-color: #017439;
  color: #ffffff;
}
.page-blog-huong-dan-dang-ky-6ff-con__dark-bg .page-blog-huong-dan-dang-ky-6ff-con__section-title {
  color: #ffffff;
}

/* Lists */
.page-blog-huong-dan-dang-ky-6ff-con__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.page-blog-huong-dan-dang-ky-6ff-con__list li {
  margin-bottom: 10px;
}

/* Step items */
.page-blog-huong-dan-dang-ky-6ff-con__step-item {
  margin-bottom: 50px;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
}

.page-blog-huong-dan-dang-ky-6ff-con__step-title {
  font-size: clamp(24px, 3vw, 32px);
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-6ff-con__article-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

.page-blog-huong-dan-dang-ky-6ff-con__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block; /* Ensures image does not have extra space below */
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-6ff-con__article-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #777777;
}

/* Benefits Grid */
.page-blog-huong-dan-dang-ky-6ff-con__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-6ff-con__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #ffffff;
}
.page-blog-huong-dan-dang-ky-6ff-con__benefit-card .page-blog-huong-dan-dang-ky-6ff-con__benefit-title {
  font-size: 22px;
  color: #FFFF00; /* Highlighted color for titles on dark background */
  margin-bottom: 15px;
  font-weight: 700;
}
.page-blog-huong-dan-dang-ky-6ff-con__benefit-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
details.page-blog-huong-dan-dang-ky-6ff-con__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-huong-dan-dang-ky-6ff-con__faq-item summary.page-blog-huong-dan-dang-ky-6ff-con__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;
}
details.page-blog-huong-dan-dang-ky-6ff-con__faq-item summary.page-blog-huong-dan-dang-ky-6ff-con__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-dang-ky-6ff-con__faq-item summary.page-blog-huong-dan-dang-ky-6ff-con__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-huong-dan-dang-ky-6ff-con__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #017439;
}
.page-blog-huong-dan-dang-ky-6ff-con__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-dang-ky-6ff-con__faq-item .page-blog-huong-dan-dang-ky-6ff-con__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-blog-huong-dan-dang-ky-6ff-con__faq-answer p {
  color: #555555;
  margin-bottom: 0;
}

/* Conclusion CTA */
.page-blog-huong-dan-dang-ky-6ff-con__text-center {
  text-align: center;
}
.page-blog-huong-dan-dang-ky-6ff-con__responsible-gaming {
  font-size: 14px;
  color: #cccccc;
  margin-top: 30px;
}


/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-6ff-con__container {
    padding: 15px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  /* HERO 主图区域 */
  .page-blog-huong-dan-dang-ky-6ff-con__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__hero-image img {
    height: 250px; /* Adjust height for mobile */
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__hero-content {
    padding: 0 15px 20px;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* 通用图片与容器 */
  .page-blog-huong-dan-dang-ky-6ff-con img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__section,
  .page-blog-huong-dan-dang-ky-6ff-con__card,
  .page-blog-huong-dan-dang-ky-6ff-con__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-blog-huong-dan-dang-ky-6ff-con__btn-primary,
  .page-blog-huong-dan-dang-ky-6ff-con__btn-secondary,
  .page-blog-huong-dan-dang-ky-6ff-con a[class*="button"],
  .page-blog-huong-dan-dang-ky-6ff-con 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;
    font-size: 16px;
    margin: 8px 0; /* Adjust margin for vertical stacking */
  }
  
  .page-blog-huong-dan-dang-ky-6ff-con__cta-block,
  .page-blog-huong-dan-dang-ky-6ff-con__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Step items */
  .page-blog-huong-dan-dang-ky-6ff-con__step-item {
    margin-bottom: 30px;
    padding: 15px;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__step-title {
    font-size: 20px;
  }

  .page-blog-huong-dan-dang-ky-6ff-con__article-figure {
    margin: 20px auto;
  }
  
  /* 长文 SEO 区 */
  /* .page-blog-huong-dan-dang-ky-6ff-con__article-body is not a direct class but content inside main */
  .page-blog-huong-dan-dang-ky-6ff-con p, 
  .page-blog-huong-dan-dang-ky-6ff-con ul, 
  .page-blog-huong-dan-dang-ky-6ff-con ol, 
  .page-blog-huong-dan-dang-ky-6ff-con h3, 
  .page-blog-huong-dan-dang-ky-6ff-con h4, 
  .page-blog-huong-dan-dang-ky-6ff-con h5, 
  .page-blog-huong-dan-dang-ky-6ff-con h6 {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Benefits Grid */
  .page-blog-huong-dan-dang-ky-6ff-con__benefits-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-6ff-con__benefit-card {
    padding: 20px;
  }
  .page-blog-huong-dan-dang-ky-6ff-con__benefit-card .page-blog-huong-dan-dang-ky-6ff-con__benefit-title {
    font-size: 20px;
  }

  /* FAQ */
  details.page-blog-huong-dan-dang-ky-6ff-con__faq-item summary.page-blog-huong-dan-dang-ky-6ff-con__faq-question { padding: 15px; }
  .page-blog-huong-dan-dang-ky-6ff-con__faq-qtext { font-size: 16px; }
  .page-blog-huong-dan-dang-ky-6ff-con__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog-huong-dan-dang-ky-6ff-con__faq-item .page-blog-huong-dan-dang-ky-6ff-con__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog-huong-dan-dang-ky-6ff-con__faq-answer p {
    font-size: 15px;
  }
}

/* Tablet (max-width: 1024px) - specific rules for products grid */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-6ff-con__hero-image img {
    height: 450px; /* Adjust height for tablet */
  }
  .page-blog-huong-dan-dang-ky-6ff-con__main-title {
    font-size: clamp(32px, 4vw, 48px);
  }
  .page-blog-huong-dan-dang-ky-6ff-con__description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-blog-huong-dan-dang-ky-6ff-con__benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

/* Desktop (min-width: 769px) - ensure desktop styles are not overridden by mobile */
@media (min-width: 769px) {
  .page-blog-huong-dan-dang-ky-6ff-con__hero-image img {
    height: 600px; /* Fixed height for desktop hero */
    object-fit: cover;
  }
  .page-blog-huong-dan-dang-ky-6ff-con__main-title {
    font-size: clamp(36px, 5vw, 56px);
  }
  .page-blog-huong-dan-dang-ky-6ff-con__description {
    font-size: clamp(18px, 2.5vw, 22px);
  }
  .page-blog-huong-dan-dang-ky-6ff-con__benefits-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  }
}