.page-register {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set page background */
}

.page-register__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-register__register-button, .page-register__login-button {
  display: inline-block;
  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;
  white-space: nowrap;
}

.page-register__register-button {
  background-color: #FCBC45;
  color: #000000;
}

.page-register__register-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-register__login-button {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-register__login-button:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.page-register__content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

.page-register__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__why-join-section, .page-register__faq-section, .page-register__cta-section {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__value-section, .page-register__conditions-section, .page-register__faq-section {
  background-color: #f8f8f8;
}

.page-register__section-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-register__step-item:hover {
  transform: translateY(-5px);
}

.page-register__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-register__step-title::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: bold;
}

.page-register__step-description {
  font-size: 1em;
  color: #555555;
}

.page-register__rules-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-register__rule-item {
  background-color: #FFFFFF;
  border-left: 4px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__rule-item strong {
  color: #000000;
}

.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;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #fefefe;
  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;
}

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

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

.page-register__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

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

.page-register__cta-section .page-register__section-text {
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

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

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-register__register-button, .page-register__login-button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }

  .page-register__section-text {
    font-size: 0.95em;
  }

  .page-register__steps-list {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Mobile content area image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-section {
    padding: 40px 10px;
    min-height: 350px;
  }

  .page-register__hero-title {
    font-size: 2em;
  }

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

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

  .page-register__register-button, .page-register__login-button {
    font-size: 1em;
  }
}