/* style/blog-hm88-registration-login-guide.css */

/* Base styles for the page content, considering dark body background */
.page-blog-hm88-registration-login-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-bottom: 40px;
}

.page-blog-hm88-registration-login-guide h1, 
.page-blog-hm88-registration-login-guide h2, 
.page-blog-hm88-registration-login-guide h3 {
  color: #FF8C1A; /* Primary Color */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-blog-hm88-registration-login-guide h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: #FFA53A;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.5);
}

.page-blog-hm88-registration-login-guide h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.3;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 30px;
}

.page-blog-hm88-registration-login-guide h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.4;
  color: #FFB04D;
}

.page-blog-hm88-registration-login-guide p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-blog-hm88-registration-login-guide a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-hm88-registration-login-guide a:hover {
  color: #FFB04D;
  text-decoration: underline;
}

.page-blog-hm88-registration-login-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-hm88-registration-login-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background: linear-gradient(180deg, #0D0E12 0%, #17191F 100%);
  border-bottom: 2px solid #A84F0C;
}

.page-blog-hm88-registration-login-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog-hm88-registration-login-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-hm88-registration-login-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-blog-hm88-registration-login-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-blog-hm88-registration-login-guide__hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-blog-hm88-registration-login-guide__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-blog-hm88-registration-login-guide__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-hm88-registration-login-guide__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border: 2px solid #D96800;
}

.page-blog-hm88-registration-login-guide__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hm88-registration-login-guide__btn-secondary {
  background: #17191F;
  border: 2px solid #FFA53A;
}

.page-blog-hm88-registration-login-guide__btn-secondary:hover {
  background: #2a2d34;
  border-color: #FFB04D;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-hm88-registration-login-guide__cta-group--bottom {
  margin-top: 50px;
  border-top: 1px solid #A84F0C;
  padding-top: 30px;
}

/* Content Sections */
.page-blog-hm88-registration-login-guide__content-section {
  padding: 40px 20px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C;
}

.page-blog-hm88-registration-login-guide__section-title {
  margin-bottom: 40px;
}

.page-blog-hm88-registration-login-guide__feature-list, 
.page-blog-hm88-registration-login-guide__step-list, 
.page-blog-hm88-registration-login-guide__info-list, 
.page-blog-hm88-registration-login-guide__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-blog-hm88-registration-login-guide__feature-item, 
.page-blog-hm88-registration-login-guide__info-item, 
.page-blog-hm88-registration-login-guide__promo-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-hm88-registration-login-guide__feature-item:hover, 
.page-blog-hm88-registration-login-guide__info-item:hover, 
.page-blog-hm88-registration-login-guide__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-hm88-registration-login-guide__feature-title, 
.page-blog-hm88-registration-login-guide__info-title, 
.page-blog-hm88-registration-login-guide__promo-title {
  color: #FFA53A;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.page-blog-hm88-registration-login-guide__step-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-blog-hm88-registration-login-guide__step-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-hm88-registration-login-guide__step-title {
  color: #FFA53A;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.page-blog-hm88-registration-login-guide__sub-list {
  list-style: disc;
  margin-left: 20px;
  color: #FFF3E6;
}

.page-blog-hm88-registration-login-guide__sub-list li {
  margin-bottom: 8px;
}

.page-blog-hm88-registration-login-guide__full-width-btn {
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  display: block;
}

.page-blog-hm88-registration-login-guide__image-block {
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

.page-blog-hm88-registration-login-guide__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-hm88-registration-login-guide__image-caption {
  font-style: italic;
  font-size: 0.9rem;
  color: #FFF3E6;
  padding: 10px 15px;
  background-color: #17191F;
  margin: 0;
}

/* FAQ Section */
.page-blog-hm88-registration-login-guide__faq-list {
  margin-top: 40px;
}

details.page-blog-hm88-registration-login-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #0D0E12;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-blog-hm88-registration-login-guide__faq-item summary.page-blog-hm88-registration-login-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFA53A;
  font-weight: bold;
  font-size: 1.1rem;
}

details.page-blog-hm88-registration-login-guide__faq-item summary.page-blog-hm88-registration-login-guide__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-hm88-registration-login-guide__faq-item summary.page-blog-hm88-registration-login-guide__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}

.page-blog-hm88-registration-login-guide__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}

.page-blog-hm88-registration-login-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open].page-blog-hm88-registration-login-guide__faq-item .page-blog-hm88-registration-login-guide__faq-toggle {
  transform: rotate(45deg);
}

details.page-blog-hm88-registration-login-guide__faq-item .page-blog-hm88-registration-login-guide__faq-answer {
  padding: 0 25px 25px;
  background: #17191F;
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-hm88-registration-login-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hm88-registration-login-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hm88-registration-login-guide__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-blog-hm88-registration-login-guide__hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-hm88-registration-login-guide__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .page-blog-hm88-registration-login-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-blog-hm88-registration-login-guide__cta-group,
  .page-blog-hm88-registration-login-guide__button-group,
  .page-blog-hm88-registration-login-guide__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-blog-hm88-registration-login-guide__container {
    padding: 15px;
  }

  .page-blog-hm88-registration-login-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-blog-hm88-registration-login-guide__feature-list, 
  .page-blog-hm88-registration-login-guide__step-list, 
  .page-blog-hm88-registration-login-guide__info-list, 
  .page-blog-hm88-registration-login-guide__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-hm88-registration-login-guide__feature-item, 
  .page-blog-hm88-registration-login-guide__step-item, 
  .page-blog-hm88-registration-login-guide__info-item, 
  .page-blog-hm88-registration-login-guide__promo-item {
    padding: 20px;
  }

  .page-blog-hm88-registration-login-guide__feature-title, 
  .page-blog-hm88-registration-login-guide__info-title, 
  .page-blog-hm88-registration-login-guide__promo-title {
    font-size: 1.2rem;
  }

  .page-blog-hm88-registration-login-guide__step-title {
    font-size: 1.3rem;
  }

  .page-blog-hm88-registration-login-guide__image-block {
    margin: 30px auto;
    border-radius: 8px;
  }

  details.page-blog-hm88-registration-login-guide__faq-item summary.page-blog-hm88-registration-login-guide__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-blog-hm88-registration-login-guide__faq-qtext {
    font-size: 1rem;
  }

  .page-blog-hm88-registration-login-guide__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-blog-hm88-registration-login-guide__faq-item .page-blog-hm88-registration-login-guide__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Ensure all images are responsive and do not cause overflow */
  .page-blog-hm88-registration-login-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-hm88-registration-login-guide__section,
  .page-blog-hm88-registration-login-guide__card,
  .page-blog-hm88-registration-login-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}