/* style/resources-how-to-register.css */

/* Base styles for the page content */
.page-resources-how-to-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Top spacing for fixed header */
.page-resources-how-to-register__hero-banner {
  padding-top: 120px; /* Desktop */
}

/* General Section Styles */
.page-resources-how-to-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-how-to-register__dark-bg {
  background-color: #0a0a0a; /* Dark background for sections on a dark body */
  color: #ffffff;
}

.page-resources-how-to-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-how-to-register__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure title is white */
  line-height: 1.2;
}

.page-resources-how-to-register__section-intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-how-to-register__highlight {
  color: #FFD700; /* Gold accent for keywords */
}

.page-resources-how-to-register__text-center {
  text-align: center;
}

/* Buttons */
.page-resources-how-to-register__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources-how-to-register__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #0A246A; /* Dark blue text */
}

.page-resources-how-to-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-resources-how-to-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-how-to-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A246A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-resources-how-to-register__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-resources-how-to-register__cta-center {
  margin-top: 40px;
}

/* Hero Banner Section */
.page-resources-how-to-register__hero-banner {
  background-color: #0A246A; /* Dark blue background */
  padding: 80px 0;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.page-resources-how-to-register__hero-banner > .page-resources-how-to-register__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-resources-how-to-register__hero-content {
  flex: 1;
}

.page-resources-how-to-register__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
}

.page-resources-how-to-register__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-how-to-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-how-to-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Advantages Section */
.page-resources-how-to-register__advantages {
  background-color: #0a0a0a;
}

.page-resources-how-to-register__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-how-to-register__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-how-to-register__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-register__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-resources-how-to-register__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources-how-to-register__card-text {
  font-size: 16px;
  color: #e0e0e0;
}

/* Registration Steps Section */
.page-resources-how-to-register__registration-steps {
  background-color: #0A246A;
}

.page-resources-how-to-register__step-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.page-resources-how-to-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-resources-how-to-register__step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #0A246A;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-register__step-content {
  flex: 1;
}

.page-resources-how-to-register__step-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-how-to-register__step-text {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-resources-how-to-register__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-resources-how-to-register__list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-resources-how-to-register__list li strong {
  color: #FFD700;
}

/* Login Guide Section */
.page-resources-how-to-register__login-guide {
  background-color: #0a0a0a;
}

.page-resources-how-to-register__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-register__ordered-list li {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-resources-how-to-register__ordered-list li strong {
  color: #FFD700;
}

/* Promotions Section */
.page-resources-how-to-register__promotions {
  background-color: #0A246A;
}

.page-resources-how-to-register__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-register__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-how-to-register__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-register__promo-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-how-to-register__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-resources-how-to-register__promo-text {
  font-size: 16px;
  color: #e0e0e0;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources-how-to-register__faq {
  background-color: #0a0a0a;
}

.page-resources-how-to-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-resources-how-to-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-how-to-register__faq-item.active {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-how-to-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  position: relative;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-resources-how-to-register__faq-question:hover {
  color: #FFD700;
}

.page-resources-how-to-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-resources-how-to-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-how-to-register__faq-item.active .page-resources-how-to-register__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: #ffffff;
}

.page-resources-how-to-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-resources-how-to-register__faq-item.active .page-resources-how-to-register__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important and large value */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-resources-how-to-register__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Contact Section */
.page-resources-how-to-register__contact {
  background-color: #0A246A;
}

.page-resources-how-to-register__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-register__contact-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-how-to-register__contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-register__contact-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-resources-how-to-register__contact-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-resources-how-to-register__contact-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Conclusion Section */
.page-resources-how-to-register__conclusion {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-register__hero-banner > .page-resources-how-to-register__container {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-how-to-register__hero-content {
    order: 2;
  }

  .page-resources-how-to-register__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-resources-how-to-register__hero-title {
    font-size: 42px;
  }

  .page-resources-how-to-register__hero-description {
    font-size: 18px;
  }

  .page-resources-how-to-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-resources-how-to-register__step-number {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-register__hero-banner {
    padding-top: 100px; /* Mobile */
    padding-bottom: 60px;
    min-height: auto;
  }

  .page-resources-how-to-register__section {
    padding: 40px 0;
  }

  .page-resources-how-to-register__container {
    padding: 0 15px !important; /* Mobile padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-how-to-register__section-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-resources-how-to-register__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-how-to-register__hero-title {
    font-size: 34px;
  }

  .page-resources-how-to-register__hero-description {
    font-size: 16px;
  }

  .page-resources-how-to-register__btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-how-to-register__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-resources-how-to-register__card {
    padding: 25px;
  }

  .page-resources-how-to-register__card-icon {
    width: 80px;
    height: 80px;
  }

  .page-resources-how-to-register__card-title {
    font-size: 20px;
  }

  .page-resources-how-to-register__step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 24px;
  }

  .page-resources-how-to-register__step-title {
    font-size: 22px;
  }

  .page-resources-how-to-register__step-text,
  .page-resources-how-to-register__list li,
  .page-resources-how-to-register__ordered-list li {
    font-size: 15px;
  }

  .page-resources-how-to-register__promo-image {
    width: 200px;
    height: 150px;
  }

  .page-resources-how-to-register__promo-title {
    font-size: 20px;
  }

  .page-resources-how-to-register__faq-question {
    padding: 15px 20px;
  }

  .page-resources-how-to-register__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-how-to-register__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-resources-how-to-register__faq-item.active .page-resources-how-to-register__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-how-to-register__contact-icon {
    width: 60px;
    height: 60px;
  }

  .page-resources-how-to-register__contact-title {
    font-size: 20px;
  }
}

/* Mobile image responsive adaptations (mandatory) */
.page-resources-how-to-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-resources-how-to-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-how-to-register__section,
  .page-resources-how-to-register__card,
  .page-resources-how-to-register__container,
  .page-resources-how-to-register__hero-image-wrapper,
  .page-resources-how-to-register__promo-image,
  .page-resources-how-to-register__contact-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}