.page-register {
  color: #1A202C; /* Dark text for light body background #f4f4f4 */
}

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
}

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

.page-register__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-register__hero-content {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

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

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

.page-register__hero-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-register__section-padding {
  padding: 80px 0;
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

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

.page-register__section-text {
  font-size: 1em;
  line-height: 1.6;
  margin-top: 30px;
  text-align: center;
  color: #555555;
}

.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;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-register__feature-icon {
  width: 100%;
  height: 225px; /* Fixed height for consistent display */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.page-register__feature-title {
  font-size: 1.4em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-register__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-register__bg-dark {
  background-color: #1A202C;
  color: #ffffff;
}

.page-register__text-light {
  color: #ffffff;
}

.page-register__bg-dark .page-register__section-title {
  color: #FFD700;
}

.page-register__bg-dark .page-register__section-title::after {
  background-color: #ffffff;
}

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

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A202C;
  font-size: 2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-register__rules-list {
  list-style: disc;
  margin: 40px auto;
  padding-left: 30px;
  max-width: 900px;
  line-height: 1.8;
  font-size: 1.05em;
  color: #333333;
}

.page-register__rule-item {
  margin-bottom: 15px;
}

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

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  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.6;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  text-align: center;
}

.page-register__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__btn--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__btn--secondary:hover {
  background-color: #333d4d;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-register__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-register__cta-section {
  background: linear-gradient(135deg, #1A202C 0%, #333d4d 100%);
  color: #ffffff;
  text-align: center;
}

.page-register__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-register__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__cta-text-block .page-register__section-title {
  color: #FFD700;
  margin-bottom: 20px;
}

.page-register__cta-text-block .page-register__section-title::after {
  background-color: #ffffff;
}

.page-register__cta-text-block .page-register__section-intro {
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2em;
  }

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

  .page-register__section-padding {
    padding: 50px 0;
  }

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

  .page-register__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-register__feature-icon {
    height: 200px;
  }

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

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

  .page-register__btn {
    width: calc(100% - 20px); /* Adjust for margin */
    box-sizing: border-box;
    margin: 10px 0;
  }

  .page-register__hero-btn {
    width: auto; /* Allow button to size naturally */
    padding: 12px 25px;
    font-size: 1em;
  }

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

  /* Ensure all images within .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Content area must not cause horizontal scrolling */
  .page-register {
    overflow-x: hidden;
  }
}

/* Ensure no content images are smaller than 200px */
.page-register__feature-icon,
.page-register__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific rule to ensure hero image maintains size and ratio on smaller screens if not full width */
.page-register__hero-image {
  max-width: 100%;
  height: auto;
}