.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-login__hero-image-container {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Pull content up over the image slightly for visual flow */
  background: rgba(26, 26, 46, 0.85); /* Semi-transparent dark background */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-login__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__login-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.page-login__form-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
  font-size: 1rem;
}

.page-login__input::placeholder {
  color: #888888;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.page-login__btn-login {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07; /* Custom login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-login:hover {
  background-color: #d46b00;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #5ac4f8;
  text-decoration: underline;
}

.page-login__info-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for content */
  color: #333333;
}

.page-login__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-login__section-title--white {
  color: #ffffff;
}

.page-login__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-login__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-login__text-block--white {
  color: #f0f0f0;
}

.page-login__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-login__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-login__ordered-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-login__list-item {
  margin-bottom: 10px;
  color: #333333;
}

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

.page-login__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-login__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-login__game-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-login__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-login__game-title a:hover {
  text-decoration: underline;
}

.page-login__game-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  background-color: #1e87b7;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-login__faq-section {
  margin-top: 40px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-login__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 15px;
}

.page-login__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 10px 0;
  color: #333333;
  list-style: none; /* For details/summary */
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: #26A9E0;
}

.page-login__faq-answer {
  padding-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

.page-login__cta-bottom {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as background */
  text-align: center;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-login__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-login__section-title {
    font-size: 2rem;
  }
  .page-login__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-login__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-login__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-login__hero-description {
    font-size: 1rem;
  }
  .page-login__login-form {
    padding: 20px;
  }
  .page-login__btn-login, .page-login__btn-secondary, .page-login__btn-primary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__cta-buttons, .page-login__form-actions {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-login__info-section, .page-login__cta-bottom {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-login__sub-title {
    font-size: 1.4rem;
  }
  .page-login__text-block {
    font-size: 0.95rem;
  }
  .page-login__container,
  .page-login__game-card,
  .page-login__faq-section,
  .page-login__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-login__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-login__hero-content {
    margin-top: -40px;
  }
  .page-login__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-login__section-title {
    font-size: 1.6rem;
  }
  .page-login__sub-title {
    font-size: 1.2rem;
  }
  .page-login__game-showcase {
    grid-template-columns: 1fr;
  }
  .page-login__game-image {
    height: 180px;
  }
  .page-login__login-form {
    max-width: 100%;
  }
}