.page-login {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

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

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-login__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-login__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, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-login__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-login__button--login:hover {
  background-color: #E0A83B;
  transform: translateY(-2px);
}

.page-login__button--register {
  background-color: #ffffff;
  color: #000000;
}

.page-login__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-login__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content sections */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__section-title {
  font-size: 2.2em;
  color: #FCBC45;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-login__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-login__content-wrapper p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-login__section-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-login__ordered-list,
.page-login__unordered-list {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-login__ordered-list li,
.page-login__unordered-list li {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-login__ordered-list li strong {
  color: #FCBC45;
}

.page-login__faq-list {
  margin-top: 30px;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-login__cta-section {
  text-align: center;
  margin: 80px auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(252, 188, 69, 0.2));
  border-radius: 15px;
  max-width: 1000px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-login__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-login__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-login__button--primary:hover {
  background-color: #E0A83B;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__hero-description {
    font-size: 1.2em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__section {
    margin: 40px auto;
    padding: 30px;
  }
  .page-login__button {
    min-width: 180px;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 100px); /* Adjust for smaller header on mobile */
  }
  .page-login__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-login__section {
    margin: 30px auto;
    padding: 20px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__content-wrapper {
    flex-direction: column;
  }
  .page-login__section-image {
    margin: 15px 0;
    max-width: 100%;
    height: auto;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
  }
  .page-login__cta-section {
    margin: 50px auto;
    padding: 40px 20px;
  }
  .page-login__cta-title {
    font-size: 2em;
  }
  .page-login__cta-description {
    font-size: 1.1em;
  }
  .page-login__button--primary {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__button {
    width: 95%;
    min-width: unset;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__cta-title {
    font-size: 1.8em;
  }
  .page-login__cta-description {
    font-size: 1em;
  }
}