.page-register {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-register__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-register__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text for bright button */
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  display: block;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* White background for content sections */
  color: #333333;
}

.page-register__value-section {
  background-color: #F8F8F8;
}

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

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

.page-register__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-register__cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-register__cta-button:hover {
  background-color: #333333;
}

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

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

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

.page-register__step-icon-wrapper {
  margin-bottom: 20px;
}

.page-register__step-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: inline-block;
}

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

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

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

.page-register__rule-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
}

.page-register__rule-item a {
  color: #000000;
  text-decoration: underline;
}

.page-register__rule-item a:hover {
  color: #FCBC45;
}

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

.page-register__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px 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.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  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: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #F8F8F8;
}

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

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

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

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

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

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

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

  .page-register__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section {
    padding: 40px 15px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-register__section-text,
  .page-register__rule-item,
  .page-register__step-description {
    font-size: 0.95em;
  }

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

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

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

  /* Ensure all images within .page-register are responsive and not smaller than 200px */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: contain; /* Ensure images don't get distorted when scaled down */
  }
  .page-register__step-icon {
    min-width: unset; /* Override general img rule for specific icons that are smaller than 200px but need to be responsive */
    min-height: unset;
    width: 150px; /* Example, adjust as needed */
    height: 150px; /* Example, adjust as needed */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

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

  .page-register__hero-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

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