.page-register {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

/* --- Typography --- */
.page-register h1,
.page-register h2,
.page-register h3,
.page-register h4,
.page-register h5,
.page-register h6 {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 1rem;
  font-weight: bold;
}

.page-register h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive H1 size */
  line-height: 1.2;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-register h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 2rem;
  color: #F2C14E; /* Gold for main titles */
}

.page-register h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 1rem;
}

.page-register p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 1rem;
}

.page-register__text-contrast-fix {
  color: #333333 !important; /* For sections with light backgrounds */
}

.page-register__text-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* --- Sections & Layout --- */
.page-register__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-register__section:last-of-type {
  border-bottom: none;
}

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

.page-register__light-bg {
  background-color: #f0f0f0; /* Contrast background for guide/tips */
  color: #333333; /* Dark text for light background */
}

.page-register__section-title {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.page-register__section-description {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__light-bg .page-register__section-description {
  color: #555555; /* Darker text for light background */
}

/* --- Hero Section --- */
.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom */
  background-color: #0A4B2C; /* Deep Green as hero background */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px; /* Space between image and text */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-register__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-register__hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #F2FFF6; /* Text Main */
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* --- Buttons --- */
.page-register__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 2rem;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Minimum width for buttons */
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-register__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-register__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__btn-link {
  background-color: #11A84E; /* Primary color */
  color: #F2FFF6; /* Text Main */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 1rem;
  min-width: 150px;
}

.page-register__btn-link:hover {
  background-color: #22C768; /* Auxiliary color */
}

/* --- Cards --- */
.page-register__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text left */
  text-align: left;
  min-height: 200px; /* Ensure minimum card height */
}

.page-register__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px; /* Ensure minimum size */
}

.page-register__card-title {
  font-size: 1.25rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-register__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
}

/* --- Benefits Section --- */
.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Guide Section --- */
.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__step {
  background-color: #ffffff; /* White background for steps */
  color: #333333; /* Dark text for light background */
  border: 1px solid #e0e0e0;
}

.page-register__step-title {
  color: #11A84E; /* Primary color for step titles */
}

.page-register__step-text {
  color: #555555;
}

.page-register__step-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
  color: #555555;
}

.page-register__step-list li {
  margin-bottom: 8px;
  color: #555555;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 0; /* Details element padding handled by summary/answer */
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  list-style: none; /* Remove default marker */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-register__faq-question:hover {
  background-color: #13994A; /* Darker green on hover */
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card B G */
}

.page-register__faq-answer p {
  margin-bottom: 0;
}

/* --- Tips Section --- */
.page-register__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.page-register__tips-item {
  background-color: #ffffff; /* White background for tips */
  color: #333333; /* Dark text */
  border: 1px solid #e0e0e0;
}

.page-register__tips-subtitle {
  color: #11A84E; /* Primary color for subtitles */
}

.page-register__tips-item p {
  color: #555555;
}

/* --- Security Section --- */
.page-register__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Promotions Section --- */
.page-register__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.page-register__cta-buttons--bottom {
  margin-top: 0; /* Adjust margin for bottom CTA */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-register__hero-image-wrapper {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 15px;
  }

  .page-register h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-register h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-register h3 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

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

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-link {
    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;
    min-width: unset; /* Allow buttons to shrink */
  }

  /* Image responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-register__hero-image-wrapper,
  .page-register__benefits-grid,
  .page-register__guide-steps,
  .page-register__security-features,
  .page-register__promotions-grid,
  .page-register__faq-list,
  .page-register__tips-list,
  .page-register__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-register__hero-section {
    padding-top: 10px !important; /* body already handles offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__card {
    padding: 20px; /* Adjust card padding for mobile */
  }

  .page-register__card-image {
    height: auto; /* Allow image height to adjust */
  }
}

@media (max-width: 480px) {
  .page-register__hero-section {
    padding-bottom: 40px;
  }
  .page-register__section {
    padding: 30px 10px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}