.page-register {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  overflow: hidden;
}

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

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(26, 32, 44, 0.7); /* Main color with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3.5rem;
  color: #FFD700; /* Auxiliary color for highlight */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  cursor: pointer;
}

.page-register__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A202C; /* Main color for contrast */
  border: 2px solid #FFD700;
}

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

.page-register__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-register__section {
  padding: 80px 20px;
  background-color: #1A202C; /* Main color for sections */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__section:nth-of-type(even) {
  background-color: #121212; /* Darker background for alternating sections */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__section-title {
  font-size: 2.8rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-register__section-intro {
  font-size: 1.15rem;
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

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

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__benefit-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__benefit-icon {
  width: 200px; /* Min size for content images */
  height: 150px; /* Min size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-register__conclusion {
  font-size: 1.15rem;
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 50px auto 0;
  line-height: 1.7;
}

.page-register__steps-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.page-register__steps-image {
  flex: 1 1 45%;
  min-width: 300px; /* Ensure image is not too small */
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__step-list {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 10px;
  position: relative;
  padding-left: 70px;
  border-left: 5px solid #FFD700;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #FFD700;
  color: #1A202C;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.page-register__step-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 1rem;
  color: #c0c0c0;
  line-height: 1.6;
}

.page-register__action-area {
  text-align: center;
  margin-top: 50px;
}

.page-register__action-text {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-register__terms-list {
  list-style: none;
  padding: 0;
}

.page-register__terms-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 4px solid #FFD700;
}

.page-register__terms-heading {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__terms-description {
  font-size: 1rem;
  color: #c0c0c0;
  line-height: 1.6;
}

.page-register__terms-footer {
  font-size: 1.1rem;
  color: #e0e0e0;
  text-align: center;
  margin-top: 40px;
  line-height: 1.7;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__faq-question {
  background-color: #1A202C;
  color: #FFD700;
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question.active .page-register__faq-icon {
  transform: rotate(45deg);
}

.page-register__faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-register__faq-answer {
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer.open {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

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

.page-register__cta {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #1A202C, #0d1017);
}

.page-register__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__cta-title {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-register__cta-description {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-register__button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3rem;
  }
  .page-register__section-title {
    font-size: 2.5rem;
  }
  .page-register__cta-title {
    font-size: 2.5rem;
  }
  .page-register__steps-content {
    flex-direction: column;
    align-items: center;
  }
  .page-register__steps-image {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
  }
  .page-register__step-list {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 60vh;
    padding: 40px 15px;
  }
  .page-register__hero-title {
    font-size: 2.2rem;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__button {
    padding: 12px 25px;
    font-size: 1rem;
    margin: 8px;
  }
  .page-register__section {
    padding: 60px 15px;
  }
  .page-register__section-title {
    font-size: 2rem;
  }
  .page-register__section-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-register__benefit-item {
    padding: 25px;
  }
  .page-register__benefit-title {
    font-size: 1.4rem;
  }
  .page-register__benefit-description {
    font-size: 0.95rem;
  }
  .page-register__step-item {
    padding-left: 60px;
  }
  .page-register__step-item::before {
    left: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  .page-register__step-title {
    font-size: 1.5rem;
  }
  .page-register__terms-heading {
    font-size: 1.4rem;
  }
  .page-register__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-register__faq-answer.open {
    padding: 15px 20px;
  }
  .page-register__cta {
    padding: 80px 15px;
  }
  .page-register__cta-title {
    font-size: 2rem;
  }
  .page-register__cta-description {
    font-size: 1.1rem;
  }
  .page-register__button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  /* Mobile content image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__hero-container {
    padding: 20px 15px;
  }
  .page-register__hero-image {
    max-width: 100%; /* Ensure mobile images don't overflow */
    height: auto;
  }
  /* Ensure no content images are smaller than 200px display size */
  .page-register__benefit-icon, .page-register__steps-image {
    min-width: 200px;
    min-height: 150px; /* Adjust height for aspect ratio if needed, but maintain min 200px width */
  }
  .page-register__benefit-icon {
    width: 100%; /* Make card images responsive */
    height: auto;
    max-width: 300px; /* Limit max width on smaller screens */
  }
  .page-register__steps-image {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8rem;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__cta-title {
    font-size: 1.8rem;
  }
  .page-register__button {
    display: block;
    width: calc(100% - 20px); /* Full width buttons with margin */
    margin: 10px auto;
  }
  .page-register__button--large {
    width: calc(100% - 30px);
  }
  .page-register__hero-container {
    padding: 20px 10px;
  }
}