.page-register {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-register__hero-section {
  background-color: #1A202C; /* Main brand color for hero background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-register__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Accent color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-register__hero-description {
  font-size: 1.25em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-register__register-button,
.page-register__secondary-button,
.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for buttons */
  color: #1A202C; /* Dark text for accent background */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  margin-top: 20px;
}

.page-register__register-button:hover,
.page-register__secondary-button:hover,
.page-register__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.page-register__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #e0e0e0;
  text-align: justify;
}

.page-register__image-container {
  margin: 40px auto;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

.page-register__image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for steps */
  border-left: 5px solid #FFD700;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-register__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #c0c0c0;
}

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

.page-register__condition-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__condition-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-register__condition-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__condition-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #c0c0c0;
}

.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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.page-register__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #c0c0c0;
}

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

.page-register__cta-section {
  background-color: #1A202C;
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-register__cta-button {
  font-size: 1.4em;
  padding: 18px 45px;
  margin-bottom: 20px;
}

.page-register__login-link {
  color: #FFD700;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-register__login-link:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__register-button,
  .page-register__secondary-button,
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@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;
  }
  .page-register__main-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__text-content,
  .page-register__step-description,
  .page-register__condition-description,
  .page-register__faq-answer p {
    font-size: 1em;
  }
  .page-register__step-title,
  .page-register__condition-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__image-container img,
  .page-register__hero-image img {
    max-width: 100%; /* Prevent image overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
  }
  .page-register__content-area {
    padding: 40px 15px;
  }
  .page-register__cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__register-button,
  .page-register__secondary-button,
  .page-register__cta-button {
    padding: 10px 25px;
    font-size: 0.95em;
  }
  .page-register__step-item,
  .page-register__condition-item {
    padding: 20px;
  }
  .page-register__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 0 15px 15px 15px;
  }
}