.page-register {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #f0f0f0; /* Light text for potentially dark backgrounds, adjusted for light body */
  background-color: #1a1a2e; /* Darker background for main content to contrast with light body */
}

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

.page-register__hero-section {
  background: linear-gradient(135deg, #0A2463, #1e3a70); /* Gradient background with primary color */
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

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

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

.page-register__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtly blend the image into the background */
  z-index: 1;
}

.page-register__primary-button,
.page-register__secondary-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-register__primary-button {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-register__secondary-button {
  background-color: #0A2463; /* Dark blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.4);
}

.page-register__secondary-button:hover {
  background-color: #1e3a70;
  transform: translateY(-3px);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  font-weight: 700;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #e0e0e0;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 60px 0;
  background-color: #0d1b3f; /* Slightly lighter dark blue for sections */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

.page-register__value-item {
  background-color: #1e3a70; /* Dark blue card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-8px);
  background-color: #2a4b8a;
}

.page-register__value-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); /* Gold glow */
  max-width: 100%;
}

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

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

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: #1e3a70;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
  background-color: #2a4b8a;
}

.page-register__step-number {
  background-color: #FFD700;
  color: #0A2463;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

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

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

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

.page-register__rule-item {
  background-color: #1e3a70;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-register__link-button {
  display: inline-block;
  margin-top: 30px;
  margin-right: 15px;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.page-register__link-button:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #1e3a70;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  background-color: #0A2463;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFD700;
  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: 1.05em;
  line-height: 1.7;
  color: #e0e0e0;
  background-color: #1e3a70;
}

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

.page-register__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(45deg, #0A2463, #3a5c9b); /* Complementary gradient */
  color: #ffffff;
}

.page-register__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-register__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__value-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px);
  }
  .page-register__hero-section {
    padding: 60px 15px 30px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__primary-button,
  .page-register__secondary-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-register__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-register__value-item,
  .page-register__step-item,
  .page-register__rule-item {
    padding: 20px;
  }
  .page-register__value-icon {
    width: 200px; /* Ensure minimum size */
    height: auto;
    max-width: 100%; /* Prevent overflow */
  }
  .page-register__value-heading {
    font-size: 1.3em;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-register__step-heading {
    font-size: 1.4em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1.1em;
  }

  /* Ensure all images within content area are responsive and not too small */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    object-fit: contain; /* Adjust as needed, 'cover' or 'contain' */
  }
  .page-register__value-icon,
  .page-register__hero-image {
    min-width: 200px; /* Specific override for these elements if needed */
    min-height: 200px; /* Specific override for these elements if needed */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-bottom: 15px;
  }
  .page-register__primary-button,
  .page-register__secondary-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
}