.page-register {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #f8f8f8; /* Light background for main content */
  color: #333333; /* Dark text for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-register__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjusted padding, top handled by main padding-top */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #000080, #000050); /* Dark blue gradient background */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Make background image subtle */
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold color */
  color: #000080; /* Auxiliary dark blue text */
  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 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__call-to-action {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000080; /* Auxiliary dark blue for section titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

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

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

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

.page-register__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
}

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

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 40px auto 0;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f0f8ff;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  counter-increment: step-counter;
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  margin-right: 20px;
  min-width: 40px;
  text-align: center;
}

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

.page-register__step-text {
  color: #555555;
  font-size: 1.05em;
}

.page-register__cta-button--bottom {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__rule-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #444444;
}

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

.page-register__read-more-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #000080;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1em;
}

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

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

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

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

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

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

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

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

.page-register__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #fcfcfc;
  color: #333333;
}

.page-register__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  font-size: 1.05em;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 200px; /* Adjust based on expected content length */
  padding-bottom: 15px;
}

.page-register__cta-button--support {
  background-color: #000080;
  color: #FFD700;
  margin-top: 30px;
}

.page-register__cta-button--support:hover {
  background-color: #000066;
}

.page-register__call-to-action {
  background: linear-gradient(135deg, #000080, #000050);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  margin-bottom: 0; /* Last section, no bottom margin */
}

.page-register__call-to-action-content {
  max-width: 900px;
}

.page-register__cta-image {
  width: 600px;
  height: 338px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-register__cta-button--final {
  background-color: #FFD700;
  color: #000080;
  padding: 18px 40px;
  font-size: 1.3em;
}

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

/* Responsive Design */
@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;
  }
  .page-register__cta-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-register__hero-section {
    padding: 60px 15px 40px;
  }
  .page-register__main-title {
    font-size: 2em;
  }
  .page-register__intro-text {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__features-grid {
    grid-template-columns: 1fr;
  }
  .page-register__feature-icon {
    width: 200px;
    height: 200px;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer p {
    font-size: 0.95em;
  }
  .page-register__call-to-action {
    padding: 50px 0;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-description {
    font-size: 1.1em;
  }
  .page-register__cta-button--final {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure content images do not overflow */
  .page-register__hero-image,
  .page-register__feature-icon,
  .page-register__cta-image {
    max-width: 100%;
    height: auto;
  }
}