.page-register {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Ensure consistency with body background if not already global */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

.page-register__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main 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.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 10px;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-register__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Dark red text on gold */
  border: 2px solid #FFD700;
}

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

.page-register__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

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

.page-register__value-section, 
.page-register__steps-section, 
.page-register__conditions-section, 
.page-register__faq-section {
  padding: 60px 0;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-register__value-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-register__value-item img {
  width: 100%;
  max-width: 400px; /* Max width for value images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

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

.page-register__value-description {
  font-size: 1em;
  color: #cccccc;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  position: relative;
  counter-increment: step-counter;
}

.page-register__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700;
  color: #8B0000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-register__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-left: 30px;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 1em;
  color: #cccccc;
  margin-left: 30px;
}

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

.page-register__condition-item {
  background-color: rgba(139, 0, 0, 0.2); /* Dark red background for conditions */
  border-left: 5px solid #8B0000;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

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

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: translateY(-50%) rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px 40px;
    min-height: 400px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 10px 5px;
    min-width: 150px; /* Adjust for smaller screens */
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__value-item img, 
  .page-register__hero-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
  .page-register__step-item::before {
    left: 10px;
    top: 20px;
    transform: translateY(0);
  }
  .page-register__step-title, .page-register__step-description {
    margin-left: 60px;
  }
  .page-register__faq-question {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    font-size: 0.95em;
  }
  /* Mobile content area images must be constrained */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* All content images must be at least 200px */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__button {
    display: block;
    margin: 10px auto;
  }
  .page-register__hero-content {
    padding: 0 10px;
  }
}

/* Ensure no image filters are used */
.page-register img {
  filter: none; /* Absolutely no CSS filters to change image colors */
}

/* The hero image brightness adjustment is allowed as it's for readability, not color change */
.page-register__hero-image {
  filter: brightness(0.6);
}