.page-register {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

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

.page-register__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px 15px;
  font-size: 1.1em;
}

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

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

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

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

.page-register__cta-button--centered {
  display: block;
  margin: 40px auto;
  max-width: 300px;
}

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

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

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

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section, .page-register__cta-bottom-section, .page-register__related-links-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

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

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

.page-register__feature-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-register__registration-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-register__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f2f2f2;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 20px;
}

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

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

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

.page-register__rule-item {
  background-color: #f2f2f2;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #000000;
  border-radius: 8px;
  font-size: 1.05em;
  color: #333333;
}

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

.page-register__disclaimer-text {
  text-align: center;
  font-style: italic;
  color: #777777;
  margin-top: 30px;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #f2f2f2;
  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: #e8e8e8;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.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;
  background-color: #FFFFFF;
  color: #555555;
  font-size: 1em;
  line-height: 1.8;
  border-top: 1px solid #f0f0f0;
}

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

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

.page-register__cta-bottom-section .page-register__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-register__login-prompt {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-register__login-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-register__login-link:hover {
  text-decoration: underline;
}

.page-register__related-links-section {
  background-color: #f9f9f9;
  padding-bottom: 80px;
}

.page-register__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-register__related-link {
  display: block;
  background-color: #FFFFFF;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__related-link:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 3em;
  }
  .page-register__intro-text {
    font-size: 1.15em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-register__main-title {
    font-size: 2.5em;
  }
  .page-register__intro-text {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-register__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__faq-question {
    font-size: 1.1em;
  }
  .page-register__faq-answer p {
    font-size: 0.95em;
  }
  .page-register__link-grid {
    grid-template-columns: 1fr;
  }
  .page-register__container {
    padding: 20px 15px;
  }
  /* Ensure content images are responsive and not too small */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
    object-fit: cover;
  }
  .page-register__feature-icon {
    width: 100%; /* Make feature icons take full width in mobile */
    max-width: 300px; /* Cap max width */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 2em;
  }
  .page-register__intro-text {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__cta-button {
    width: 90%;
    margin: 0 auto 15px;
    display: block;
  }
  .page-register__cta-button--centered {
    max-width: 90%;
  }
}