.page-register {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Main dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-register__hero-container {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-register__register-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

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

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

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

.page-register__why-join-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-register__benefit-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 100%; /* Ensures image fills container */
  height: auto;
  max-width: 400px; /* Recommended minimum for content images */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-register__benefit-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-register__steps-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 900px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.2em;
  font-weight: 800;
  color: #FCBC45;
  margin-right: 20px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FCBC45;
  border-radius: 50%;
}

.page-register__step-content {
  text-align: left;
}

.page-register__step-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #000000;
}

.page-register__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-register__steps-image-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.page-register__steps-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__join-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__conditions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-register__condition-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-register__condition-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #000000;
}

.page-register__condition-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-register__security-image-wrapper {
  text-align: center;
}

.page-register__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-register__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

.page-register__call-to-action-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-register__call-to-action-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-register__final-register-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 45px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(252, 188, 69, 0.5);
  margin-right: 20px;
}

.page-register__final-register-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-register__login-button {
  display: inline-block;
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 45px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.page-register__login-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__call-to-action-title {
    font-size: 2.2em;
  }
  .page-register__final-register-button, .page-register__login-button {
    font-size: 1.1em;
    padding: 15px 35px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px 30px;
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__register-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-register__benefits-grid, .page-register__conditions-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__steps-image, .page-register__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-register__faq-toggle {
    right: 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px;
  }
  .page-register__call-to-action-title {
    font-size: 1.8em;
  }
  .page-register__call-to-action-description {
    font-size: 1em;
  }
  .page-register__final-register-button, .page-register__login-button {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__final-register-button:last-child, .page-register__login-button:last-child {
    margin-bottom: 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__benefits-grid img, .page-register__steps-image, .page-register__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure all content images do not cause horizontal scroll */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.7em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__call-to-action-title {
    font-size: 1.5em;
  }
  .page-register__register-button, .page-register__join-button, .page-register__final-register-button, .page-register__login-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
  .page-register__step-title {
    font-size: 1.2em;
  }
  .page-register__step-number {
    font-size: 1.8em;
    width: 40px;
    height: 40px;
  }
}