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

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-register__main-title {
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-register__register-button {
  display: inline-block;
  background-color: #000000; /* Main color for buttons */
  color: #FFFFFF; /* Text color for buttons */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -80px; /* Overlap slightly for visual effect */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-register__value-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-register__value-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-register__steps-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 70px;
}

.page-register__step-number {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

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

.page-register__rules-section {
  background-color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

.page-register__rules-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-register__rules-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding-left: 20px;
}

.page-register__rule-item {
  font-size: 1em;
  color: #444444;
  margin-bottom: 10px;
  line-height: 1.5;
}

.page-register__rules-cta {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for the login-themed button */
}

.page-register__rules-cta:hover {
  background-color: #e0a53b;
}

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

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

.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: block;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #000000;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '-'; /* This will be handled by JS for older browsers or if content is not dynamically updated */
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  border-top: 1px solid #eee;
  background-color: #FFFFFF;
}

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

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

.page-register__cta-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__final-cta {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for the login-themed button */
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-register__final-cta:hover {
  background-color: #e0a53b;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 30px 15px;
  }
  .page-register__main-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__register-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__hero-image {
    margin-top: 0;
  }
  .page-register__content-wrapper {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__steps-container {
    flex-direction: column;
  }
  .page-register__steps-image {
    max-width: 100%;
  }
  .page-register__step-item {
    padding-left: 60px;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__rules-list {
    padding-left: 10px;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
  .page-register__final-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-register__hero-image,
  .page-register__value-image,
  .page-register__steps-image {
    max-width: 100%;
    height: auto;
  }
  /* Content area image size lower bound */
  .page-register img {
    min-width: 200px;
    min-height: 200px;
  }
}