.page-register {
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF; /* Light text over hero image */
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.page-register__hero-button,
.page-register__main-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text on yellow 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;
  min-width: 200px;
  text-align: center;
}

.page-register__hero-button:hover,
.page-register__main-cta-button:hover {
  background-color: #FCBC44; /* Slightly darker yellow on hover */
  transform: translateY(-3px);
}

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

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

.page-register__value-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-register__value-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

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

.page-register__value-text {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

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

.page-register__steps-section {
  padding: 60px 0;
}

.page-register__steps-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-register__steps-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-register__steps-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FCBC45; /* Highlight with accent color */
}

.page-register__step-item:last-child {
  margin-bottom: 0;
}

.page-register__step-heading {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 8px;
}

.page-register__step-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #666666;
}

.page-register__rules-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

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

.page-register__rule-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1em;
  line-height: 1.6;
  color: #444444;
  border-left: 4px solid #000000;
}

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

.page-register__faq-section {
  padding: 60px 0;
}

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

.page-register__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  position: relative;
  background-color: #FCBC45;
  border-bottom: 1px solid #FCBC45;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #000000;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  background-color: #FFF;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
    padding: var(--header-offset, 80px) 20px 20px;
  }

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

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

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

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

  .page-register__steps-layout {
    flex-direction: column;
  }

  .page-register__steps-image-wrapper {
    order: -1; /* Image above steps on mobile */
  }

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

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

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

  .page-register__faq-toggle {
    right: 20px;
  }

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

  /* Ensure all content area images are responsive and do not overflow */
  .page-register__value-item img,
  .page-register__steps-image-wrapper img,
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-register__hero-button,
  .page-register__main-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
    width: 100%;
  }

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

  .page-register__value-icon {
    width: 200px; /* Enforce minimum size even on small screens */
    height: 200px;
  }
}