.page-register {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #8B0000; /* Auxiliary color as a fallback background */
  padding: 0;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-register__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold for CTA */
  color: #8B0000; /* Dark red text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Auxiliary red for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-register__value-section {
  background-color: #ffffff;
}

.page-register__value-cards {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.page-register__value-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(33% - 60px);
  min-width: 300px;
  transition: transform 0.3s ease;
}

.page-register__value-card:hover {
  transform: translateY(-10px);
}

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

.page-register__card-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-register__card-text {
  font-size: 1em;
  color: #666666;
}

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

.page-register__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 80px;
}

.page-register__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFD700;
  color: #8B0000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  border: 4px solid #8B0000;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-register__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

.page-register__cta-button--bottom {
  margin-top: 50px;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
}

.page-register__condition-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
  display: flex;
  align-items: flex-start;
}

.page-register__condition-item::before {
  content: '✔';
  color: #FFD700;
  margin-right: 15px;
  font-weight: bold;
  font-size: 1.2em;
}

.page-register__conditions-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95em;
  color: #777777;
}

.page-register__text-link {
  color: #8B0000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #FFD700;
}

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

.page-register__faq-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #8B0000;
  background-color: #fdfdfd;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question[aria-expanded="true"] {
  background-color: #FFD700;
  color: #8B0000;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(45deg);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-card {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__cta-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-register__value-cards {
    flex-direction: column;
    align-items: center;
  }
  .page-register__value-card {
    flex: 1 1 90%;
    max-width: 400px;
  }
  .page-register__step-list {
    grid-template-columns: 1fr;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
  }
  /* Mobile content area images must be responsive */
  .page-register__value-icon,
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no horizontal overflow from content */
  .page-register__container {
    overflow-x: hidden;
  }
  .page-register__hero-content {
    padding: 15px;
    width: calc(100% - 40px);
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.85em;
  }
  .page-register__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__value-card, .page-register__step-item, .page-register__faq-item {
    padding: 20px;
  }
  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-register__step-item {
    padding-top: 70px;
  }
}