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

.page-register__hero-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  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);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e0a800; /* Darker gold on hover */
  transform: translateY(-3px);
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #007bff; /* Primary color for titles */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #555555;
}

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

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-register__value-section {
  background-color: #f8f9fa; /* Light background for section */
}

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

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

.page-register__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-register__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-register__feature-description {
  font-size: 1em;
  color: #666666;
}

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f0f8ff; /* Light blue background */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  background-color: #007bff;
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-register__cta-button--bottom {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__rule-item {
  background-color: #fff3cd; /* Light warning yellow */
  border-left: 5px solid #ffc107;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #856404;
  font-size: 1.05em;
}

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

.page-register__link-button {
  display: inline-block;
  background-color: #e9ecef; /* Light gray for secondary links */
  color: #007bff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-right: 15px;
  transition: background-color 0.3s ease;
}

.page-register__link-button:hover {
  background-color: #dee2e6;
}

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

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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.2em;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eeeeee;
  background-color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__container {
    padding: 20px 15px;
  }
  .page-register__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-register__features-grid {
    grid-template-columns: 1fr;
  }
  .page-register__feature-card {
    padding: 25px;
  }
  .page-register__feature-icon {
    width: 200px; /* Ensure minimum size */
    height: 150px;
  }
  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__step-title {
    font-size: 1.2em;
  }
  .page-register__rule-item {
    padding: 15px;
    font-size: 1em;
  }
  .page-register__link-button {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Critical: Ensure content images do not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 150px;
  }
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}