/* style/blog-huong-dan-dang-ky-hi888.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient-top: #FFA53A;
  --button-gradient-bottom: #D96800;
}

.page-blog-huong-dan-dang-ky-hi888 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background); /* Assuming shared.css sets body background */
}

.page-blog-huong-dan-dang-ky-hi888__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-hi888__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-hi888__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  padding-bottom: 60px;
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-hi888__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 15px;
  gap: 24px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-hi888__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-hi888__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-blog-huong-dan-dang-ky-hi888__btn-primary,
.page-blog-huong-dan-dang-ky-hi888__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-hi888__btn-primary {
  background: linear-gradient(180deg, var(--button-gradient-top) 0%, var(--button-gradient-bottom) 100%);
  color: var(--text-main);
  border: 2px solid transparent;
}

.page-blog-huong-dan-dang-ky-hi888__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-blog-huong-dan-dang-ky-hi888__btn-secondary {
  background-color: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-hi888__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  border-color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-hi888__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-hi888__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-blog-huong-dan-dang-ky-hi888__intro-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-hi888__features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-hi888__feature-item {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-hi888__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-blog-huong-dan-dang-ky-hi888__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-blog-huong-dan-dang-ky-hi888__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-hi888__feature-description {
  font-size: 1em;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__guide-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-hi888__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-hi888__step-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-hi888__step-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-blog-huong-dan-dang-ky-hi888__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: var(--text-main);
  flex-shrink: 0;
}

.page-blog-huong-dan-dang-ky-hi888__step-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  flex: 1 1 auto;
  min-width: 250px;
}

.page-blog-huong-dan-dang-ky-hi888__step-description {
  flex: 1 1 55%;
  min-width: 300px;
  font-size: 1.05em;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__step-image {
  flex: 1 1 35%;
  min-width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-hi888__faq-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-hi888__faq-list {
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-hi888__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-hi888__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  outline: none;
}

.page-blog-huong-dan-dang-ky-hi888__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-dang-ky-hi888__faq-qtext {
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-hi888__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-hi888__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-hi888__dark-section {
  background-color: var(--deep-orange);
  color: var(--text-main);
  text-align: center;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-hi888__dark-section .page-blog-huong-dan-dang-ky-hi888__section-title {
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888__dark-section .page-blog-huong-dan-dang-ky-hi888__text-block {
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-hi888 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-hi888__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }

  .page-blog-huong-dan-dang-ky-hi888__section-title {
    font-size: 2em;
  }

  .page-blog-huong-dan-dang-ky-hi888__feature-item {
    flex: 1 1 45%;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-item:nth-child(even) {
    flex-direction: row; /* Keep consistent on smaller desktops/tablets */
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-blog-huong-dan-dang-ky-hi888__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-blog-huong-dan-dang-ky-hi888__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }

  .page-blog-huong-dan-dang-ky-hi888__hero-content,
  .page-blog-huong-dan-dang-ky-hi888__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-blog-huong-dan-dang-ky-hi888__main-title {
    font-size: 2.2em;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-hi888__description {
    font-size: 1em;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-hi888__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons and button containers */
  .page-blog-huong-dan-dang-ky-hi888__btn-primary,
  .page-blog-huong-dan-dang-ky-hi888__btn-secondary,
  .page-blog-huong-dan-dang-ky-hi888 a[class*="button"],
  .page-blog-huong-dan-dang-ky-hi888 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-blog-huong-dan-dang-ky-hi888__cta-buttons,
  .page-blog-huong-dan-dang-ky-hi888__button-group,
  .page-blog-huong-dan-dang-ky-hi888__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Module 1 (three-column circular images) */
  .page-blog-huong-dan-dang-ky-hi888__features {
    flex-direction: column;
    align-items: center;
  }

  .page-blog-huong-dan-dang-ky-hi888__feature-item {
    flex: 1 1 100%;
    max-width: 350px;
  }

  .page-blog-huong-dan-dang-ky-hi888__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 2px;
  }

  /* Content sections (guide, promo, trust, FAQ, blog, intro) */
  .page-blog-huong-dan-dang-ky-hi888__section-title {
    font-size: 1.8em;
  }

  .page-blog-huong-dan-dang-ky-hi888__text-block {
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-hi888__guide-section .page-blog-huong-dan-dang-ky-hi888__step-item,
  .page-blog-huong-dan-dang-ky-hi888__step-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-number {
    margin: 0 auto 20px;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-item h3 {
    font-size: 1.5em;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-description {
    font-size: 0.95em;
    text-align: left;
    min-width: unset;
  }

  /* General images */
  .page-blog-huong-dan-dang-ky-hi888 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-hi888__container,
  .page-blog-huong-dan-dang-ky-hi888__feature-item,
  .page-blog-huong-dan-dang-ky-hi888__step-item,
  .page-blog-huong-dan-dang-ky-hi888__faq-item,
  .page-blog-huong-dan-dang-ky-hi888__dark-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-dang-ky-hi888__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-huong-dan-dang-ky-hi888__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }

  .page-blog-huong-dan-dang-ky-hi888__dark-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog-huong-dan-dang-ky-hi888__main-title {
    font-size: 1.8em;
  }

  .page-blog-huong-dan-dang-ky-hi888__section-title {
    font-size: 1.5em;
  }

  .page-blog-huong-dan-dang-ky-hi888__btn-primary,
  .page-blog-huong-dan-dang-ky-hi888__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-blog-huong-dan-dang-ky-hi888__icon-box-media {
    width: 120px;
    height: 120px;
  }

  .page-blog-huong-dan-dang-ky-hi888__feature-title {
    font-size: 1.3em;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-blog-huong-dan-dang-ky-hi888__step-item h3 {
    font-size: 1.3em;
  }
}