.page-register {
  color: #333333; /* Dark text for light background */
}

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__register-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #000000; /* Black button */
  color: #FFFFFF; /* White text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #000000;
}

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

.page-register__login-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45; /* Login specific color */
  color: #000000; /* Dark text for login button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

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

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

.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.6;
}

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

.page-register__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

.page-register__value-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-register__value-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-register__register-button--bottom {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 40px auto;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 70px;
}

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

.page-register__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-register__steps-image {
  width: 800px; /* Recommended display width */
  height: 600px; /* Recommended display height */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__rules-list {
  list-style: disc;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  color: #333333;
}

.page-register__rule-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-register__terms-link,
.page-register__privacy-link {
  display: inline-block;
  color: #000000;
  text-decoration: underline;
  margin-top: 15px;
  margin-right: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__terms-link:hover,
.page-register__privacy-link:hover {
  color: #FCBC45;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.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 25px 20px;
  font-size: 1em;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .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: 80%;
    max-width: 300px;
  }
  .page-register__content-area {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-cards {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    padding-left: 60px;
  }
  .page-register__step-item::before {
    width: 40px;
    height: 40px;
    font-size: 1.3em;
  }
  .page-register__steps-image {
    width: 100%;
    height: auto;
  }
  .page-register__rules-list,
  .page-register__faq-list {
    margin: 30px auto;
  }
  .page-register__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }
  /* Ensure all images within .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__value-icon {
    width: 200px;
    height: 200px;
  }
  .page-register__steps-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-container {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__register-button,
  .page-register__login-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}