.page-login {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures a consistent light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to ensure text readability */
}

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

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__login-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-login__register-button {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-login__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
}

.page-login__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-login__process-list,
.page-login__security-list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.page-login__process-item,
.page-login__security-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-login__process-step-title,
.page-login__security-tip-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-login__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.4);
}

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

.page-login__faq-container {
  margin-top: 40px;
}

.page-login__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  background-color: #f0f0f0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #e5e5e5;
}

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

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

.page-login__faq-answer {
  padding: 0 25px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-login__faq-item[open] .page-login__faq-question {
  border-bottom: 1px solid #FCBC45;
}

.page-login__register-promo {
  background-color: #000000; /* Dark background for registration promo */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
  border-radius: 10px;
}

.page-login__register-title {
  font-size: 2.5em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-login__register-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-login__register-cta {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.4);
}

.page-login__register-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 3em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__process-step-title,
  .page-login__security-tip-title {
    font-size: 1.4em;
  }
  .page-login__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 120px);
  }
  .page-login__hero-section {
    padding: 40px 15px;
  }
  .page-login__hero-image-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__login-button,
  .page-login__register-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-login__content-area {
    padding: 30px 15px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__text-block {
    font-size: 1em;
  }
  .page-login__process-item,
  .page-login__security-item {
    padding: 20px;
  }
  .page-login__process-step-title,
  .page-login__security-tip-title {
    font-size: 1.3em;
  }
  .page-login__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-login__faq-toggle {
    right: 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
  }
  .page-login__register-promo {
    padding: 40px 15px;
  }
  .page-login__register-title {
    font-size: 2em;
  }
  .page-login__register-description {
    font-size: 1em;
  }
  .page-login__register-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not tiny */
    min-height: 200px; /* Ensure images are not tiny */
    object-fit: cover; /* Maintain aspect ratio and fill space */
  }

  .page-login__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 2em;
  }
  .page-login__login-button,
  .page-login__register-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__process-step-title,
  .page-login__security-tip-title {
    font-size: 1.2em;
  }
  .page-login__register-title {
    font-size: 1.8em;
  }
  .page-login__register-cta {
    width: 100%;
  }
}