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

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero text overlay */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  opacity: 0.4;
  z-index: 0;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__hero-button-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-register__button--primary {
  background-color: #FCBC45; /* Login button color used for primary CTA */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-register__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-register__intro-text {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
}

.page-register__value-proposition, .page-register__steps-section, .page-register__rules-section, .page-register__faq-section, .page-register__final-cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-register__value-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-register__value-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-heading {
  font-size: 1.6em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

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

.page-register__rule-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

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

.page-register__faq-container {
  margin-top: 50px;
}

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

.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: #eee;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #e0e0e0;
  border-bottom: none;
}

.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.6;
  color: #666666;
  background-color: #fdfdfd;
}

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

.page-register__final-cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  margin: 80px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-register__final-cta-section .page-register__section-title {
  color: #FFFFFF;
}

.page-register__final-cta-section .page-register__intro-text {
  color: #f0f0f0;
}

.page-register__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

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

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

  .page-register__button {
    width: 100%;
    text-align: center;
  }

  .page-register__hero-button-wrapper {
    flex-direction: column;
  }

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

  .page-register__intro-text {
    font-size: 0.95em;
  }

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

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .page-register__value-item, .page-register__step-item, .page-register__rule-item, .page-register__faq-item {
    padding: 20px;
  }

  .page-register__value-icon {
    width: 100%;
    max-width: 300px;
  }

  /* Mobile content area images must be responsive */
  .page-register__hero-section img,
  .page-register__value-proposition img,
  .page-register__steps-section img,
  .page-register__rules-section img,
  .page-register__faq-section img,
  .page-register__final-cta-section img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content causes horizontal scrolling */
  .page-register {
    overflow-x: hidden;
  }
}