.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--background-color, #ffffff);
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-register__section-intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.1em;
  color: #555555;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-register__hero-section {
  background-color: #017439;
  color: #ffffff;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-register__hero-content {
  flex: 1;
  padding-top: 80px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-register__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

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

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fcfcfc;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__step-item:nth-child(even) {
  background-color: #f5f5f5;
}

.page-register__step-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__step-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Notes Section */
.page-register__notes-section {
  padding: 80px 0;
  background-color: #f0f7f4; /* Light background with brand hue */
}

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

.page-register__note-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__note-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__note-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Login Section */
.page-register__login-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-register__login-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Mobile Section */
.page-register__mobile-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-register__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-register__mobile-content {
  flex: 1;
}

.page-register__mobile-content .page-register__section-title {
  color: #ffffff;
  text-align: left;
}

.page-register__mobile-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #f0f0f0;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-register__cta-section .page-register__section-title {
  color: #ffffff;
}

.page-register__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Global Image Styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-register__section-intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-register__hero-section {
    padding-top: var(--header-offset, 80px) !important; /* Use header offset if body doesn't have it */
    padding-bottom: 40px;
  }

  .page-register__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__hero-content {
    padding-top: 0;
    text-align: center;
  }

  .page-register__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-register__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 产品展示图区域 (No gameshow on this page, but general image rules apply) */
  /* 通用图片与容器 */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__benefit-item,
  .page-register__step-item,
  .page-register__note-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register 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-register__hero-buttons,
  .page-register__button-group,
  .page-register__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;
    flex-direction: column;
  }

  /* 其他内容模块 */
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__notes-section,
  .page-register__login-section,
  .page-register__mobile-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 0;
  }

  .page-register__benefits-grid,
  .page-register__notes-grid {
    grid-template-columns: 1fr;
  }

  .page-register__benefit-item,
  .page-register__note-item {
    padding: 20px;
  }

  .page-register__benefit-title,
  .page-register__note-title {
    font-size: 1.5em;
  }

  .page-register__guide-steps {
    gap: 40px;
  }

  .page-register__step-item {
    padding: 30px 15px;
  }

  .page-register__step-title {
    font-size: 1.8em;
  }

  .page-register__mobile-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__mobile-content .page-register__section-title {
    text-align: center;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-register__faq-answer {
    padding: 0 20px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px;
  }

  .page-register__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 2.2em;
  }

  .page-register__mobile-flex {
    flex-direction: column;
  }

  .page-register__mobile-content .page-register__section-title {
    text-align: center;
  }

  .page-register__benefits-grid,
  .page-register__notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}