.page-register {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: var(--background-color); /* Lấy từ shared.css */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn so với var(--header-offset) */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #F2FFF6; /* Text Main */
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-register__hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background: #11A84E; /* Main Color */
  border: 1px solid #2AD16F;
}

.page-register__cta-button--secondary:hover {
  background: #22C768; /* Auxiliary Color */
}

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

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #F2FFF6; /* Text Main */
}

.page-register__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__dark-bg {
  background-color: #08160F; /* Background */
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
}

.page-register__light-bg {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
}

/* Why Join Section */
.page-register__why-join-section .page-register__section-title,
.page-register__why-join-section .page-register__section-description {
  color: #F2FFF6;
}

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

.page-register__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__feature-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-register__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-register__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

/* How to Register Section */
.page-register__how-to-register-section .page-register__section-title,
.page-register__how-to-register-section .page-register__section-description {
  color: #F2FFF6;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-register__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

/* Registration Form */
.page-register__register-form-wrapper {
  background-color: #08160F; /* Background */
  padding: 40px;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__form-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
}

.page-register__registration-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-register__form-group {
  margin-bottom: 15px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #A7D9B8;
  opacity: 0.7;
}

.page-register__form-input:focus {
  outline: none;
  border-color: #2AD16F;
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-register__captcha-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-register__captcha-input {
  flex-grow: 1;
}

.page-register__captcha-image {
  display: block;
  width: 150px;
  height: 50px;
  background-color: #1E3A2A; /* Divider */
  border-radius: 8px;
  margin-top: 5px;
  overflow: hidden;
}

.page-register__captcha-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.page-register__form-checkbox {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #2AD16F; /* Button */
}

.page-register__terms-link {
  color: #2AD16F; /* Button */
  text-decoration: none;
}

.page-register__terms-link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
}

.page-register__submit-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Security Section */
.page-register__security-section .page-register__section-title,
.page-register__security-section .page-register__section-description {
  color: #F2FFF6;
}

.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__security-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__security-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__security-item:last-child {
  margin-bottom: 0;
}

.page-register__security-list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-register__security-list-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__security-note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #A7D9B8; /* Text Secondary */
}

/* Promotions Section */
.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-description {
  color: #F2FFF6;
}

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

.page-register__promotion-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-register__promotion-card:hover {
  transform: translateY(-5px);
}

.page-register__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-register__promotion-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px 20px;
  color: #F2C14E; /* Gold */
}

.page-register__promotion-text {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-register__faq-section .page-register__section-title {
  color: #F2FFF6;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-register__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-register__security-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-register__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-register__hero-description {
    font-size: 1rem;
  }

  .page-register__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }

  .page-register__dark-bg, .page-register__light-bg {
    padding: 60px 0;
  }

  .page-register__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-register__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-register__feature-item,
  .page-register__step-item,
  .page-register__promotion-card {
    padding: 25px;
  }

  .page-register__feature-title,
  .page-register__step-title,
  .page-register__promotion-title {
    font-size: 1.2rem;
  }

  .page-register__feature-text,
  .page-register__step-text,
  .page-register__promotion-text {
    font-size: 0.9rem;
  }

  .page-register__register-form-wrapper {
    padding: 30px;
  }

  .page-register__form-title {
    font-size: 1.8rem;
  }

  .page-register__form-input,
  .page-register__submit-button {
    font-size: 1rem;
    padding: 12px;
  }

  .page-register__captcha-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .page-register__captcha-image {
    width: 100%;
    max-width: 150px;
  }

  .page-register__security-image {
    max-width: 100%;
  }

  .page-register__security-item {
    padding: 20px;
  }

  .page-register__security-list-title {
    font-size: 1.1rem;
  }

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

  .page-register__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  /* Mobile responsive for images, videos, buttons */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image-wrapper,
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__promotion-grid,
  .page-register__security-content,
  .page-register__faq-list,
  .page-register__container,
  .page-register__register-form-wrapper,
  .page-register__promotion-card,
  .page-register__feature-item,
  .page-register__step-item,
  .page-register__security-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__cta-button,
  .page-register__submit-button,
  .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__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__captcha-group .page-register__captcha-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 10px auto 0 0;
  }

  .page-register__checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .page-register__form-checkbox {
    margin-bottom: 10px;
  }
}

/* Color Contrast Adjustments (if needed based on body background) */
/* Assuming body background is dark based on color scheme */
.page-register p,
.page-register li,
.page-register label {
  color: #A7D9B8; /* Text Secondary */
}

.page-register h1, .page-register h2, .page-register h3, .page-register h4, .page-register h5, .page-register h6 {
  color: #F2FFF6; /* Text Main, or Gold for emphasis */
}

.page-register__feature-title, .page-register__step-title, .page-register__promotion-title, .page-register__form-title, .page-register__security-list-title {
  color: #F2C14E; /* Gold for titles */
}

.page-register__cta-button, .page-register__submit-button {
  color: #F2FFF6; /* Ensure white text on gradient button */
}