.page-register {
  color: #ffffff; /* Text color for dark body background */
  background-color: #1A1A1A;
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

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

.page-register__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: 3.5em;
  color: #FFD700;
  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.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-register__hero-button, .page-register__hero-login-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__hero-button {
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A1A;
}

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

.page-register__hero-login-button {
  background-color: #DC143C; /* Deep red secondary color */
  color: #ffffff;
  border: 2px solid #DC143C;
}

.page-register__hero-login-button:hover {
  background-color: #b01030;
  transform: translateY(-3px);
}

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

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

.page-register__value-section {
  background-color: #1A1A1A;
  padding: 80px 0;
}

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

.page-register__value-item {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-register__value-icon {
  width: 200px; /* Enforce min image size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-register__steps-section {
  background-color: #222222;
  padding: 80px 0;
}

.page-register__steps-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.page-register__steps-image {
  flex: 1;
  max-width: 600px; /* Ensure image is not too small */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-register__steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-register__step-item:last-child {
  margin-bottom: 0;
}

.page-register__step-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__step-number {
  position: absolute;
  top: 25px;
  left: -20px;
  background-color: #DC143C;
  color: #ffffff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.page-register__step-description {
  font-size: 1em;
  color: #c0c0c0;
  line-height: 1.6;
  margin-left: 30px;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(90deg, #DC143C, #FFD700);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__cta-text {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-register__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #1A1A1A;
  color: #FFD700;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-register__conditions-section {
  background-color: #1A1A1A;
  padding: 80px 0;
}

.page-register__conditions-container {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__conditions-intro {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.6;
}

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

.page-register__condition-item {
  font-size: 1.1em;
  color: #c0c0c0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.page-register__condition-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__inline-link {
  color: #DC143C;
  text-decoration: none;
  font-weight: bold;
}

.page-register__inline-link:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-register__faq-section {
  background-color: #222222;
  padding: 80px 0;
}

.page-register__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.page-register__faq-illustration-wrapper {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-register__faq-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.page-register__faq-question:hover, .page-register__faq-question.active {
  background-color: #444444;
}

.page-register__faq-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFD700;
  transition: transform 0.3s ease;
}

.page-register__faq-question.active .page-register__faq-arrow {
  transform: rotate(180deg);
}

.page-register__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  color: #c0c0c0;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.page-register__call-to-action-section {
  background-color: #1A1A1A;
  padding: 80px 0;
  text-align: center;
}

.page-register__cta-main-button {
  display: inline-block;
  padding: 20px 50px;
  background: linear-gradient(90deg, #FFD700, #DC143C);
  color: #ffffff;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__cta-main-button:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-register__cta-description {
  font-size: 1.3em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__steps-container {
    flex-direction: column;
    gap: 40px;
  }
  .page-register__steps-image {
    max-width: 100%;
  }
  .page-register__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-register__faq-illustration-wrapper {
    order: -1; /* Move illustration above FAQ list on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 500px;
  }
  .page-register__hero-content {
    padding: 30px 15px;
  }
  .page-register__main-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button, .page-register__hero-login-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__content-area {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__value-icon {
    width: 200px; /* Min size enforcement */
  }
  .page-register__value-heading {
    font-size: 1.4em;
  }
  .page-register__step-item {
    padding: 20px;
  }
  .page-register__step-heading {
    font-size: 1.3em;
  }
  .page-register__step-description {
    font-size: 0.95em;
  }
  .page-register__cta-container {
    padding: 30px;
  }
  .page-register__cta-text {
    font-size: 1.5em;
  }
  .page-register__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-register__conditions-container {
    padding: 30px;
  }
  .page-register__conditions-intro {
    font-size: 1.1em;
  }
  .page-register__condition-item {
    font-size: 1em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer.active {
    padding: 15px 20px;
  }
  .page-register__cta-main-button {
    font-size: 1.2em;
    padding: 18px 40px;
  }
  /* Ensure all content images in .page-register are responsive */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__value-icon, .page-register__steps-image, .page-register__faq-illustration {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Let max-width 100% handle width */
    height: auto; /* Let max-width 100% handle height */
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__hero-button, .page-register__hero-login-button {
    display: block;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-item {
    padding: 20px;
  }
  .page-register__value-heading {
    font-size: 1.3em;
  }
  .page-register__step-item {
    padding: 15px;
    border-left: 3px solid #FFD700;
  }
  .page-register__step-number {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    left: -15px;
  }
  .page-register__step-heading, .page-register__step-description {
    margin-left: 20px;
  }
  .page-register__cta-text {
    font-size: 1.2em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-register__faq-answer.active {
    padding: 12px 15px;
  }
  .page-register__cta-main-button {
    font-size: 1em;
    padding: 15px 30px;
  }
}