.page-login {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-login__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background-color: #0d1a26; /* Dark background for hero to contrast with content */
  color: #ffffff;
  overflow: hidden;
}

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

.page-login__hero-title {
  font-size: 3.2em;
  color: #ffc107; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-login__login-form-wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  border: 1px solid #007bff;
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  text-align: left;
}

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #007bff;
  border-radius: 5px;
  background-color: #1a2a3a;
  color: #ffffff;
  font-size: 1em;
  outline: none;
}

.page-login__form-input::placeholder {
  color: #cccccc;
}

.page-login__login-button {
  background-color: #ffc107; /* Auxiliary color for action button */
  color: #000000;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none; /* Remove underline from anchor */
  display: block; /* Make button fill available width */
  width: 100%;
  box-sizing: border-box;
}

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

.page-login__login-button a {
  color: #000000; /* Ensure text color is black for contrast */
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.page-login__form-footer {
  margin-top: 15px;
  font-size: 0.95em;
  color: #cccccc;
}

.page-login__register-link, .page-login__forgot-password-link {
  color: #007bff; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__register-link:hover, .page-login__forgot-password-link:hover {
  color: #4da3ff;
  text-decoration: underline;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.page-login__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-login__process-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-login__process-step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-login__process-step-description {
  font-size: 1em;
  color: #666666;
}

.page-login__process-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__security-item {
  background-color: #e6f2ff; /* Light primary color background */
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-login__security-point-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-login__security-point-description {
  font-size: 0.95em;
  color: #444444;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.page-login__faq-container {
  max-width: 900px;
  margin: 40px auto;
}

.page-login__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #007bff;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #666666;
  border-top: 1px solid #f0f0f0;
}

.page-login__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__why-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__why-item {
  background-color: #f0f8ff;
  border: 1px solid #b3d9ff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  transition: transform 0.3s ease;
}

.page-login__why-item:hover {
  transform: translateY(-5px);
}

.page-login__why-point-title {
  font-size: 1.5em;
  color: #0056b3;
  margin-bottom: 10px;
}

.page-login__why-point-description {
  font-size: 0.95em;
  color: #444444;
}

.page-login__learn-more-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-login__learn-more-link:hover {
  text-decoration: underline;
}

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

.page-login__game-card {
  background-color: #fffbe6; /* Light auxiliary color background */
  border: 1px solid #ffeb99;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
}

.page-login__game-card-title {
  font-size: 1.6em;
  color: #b38705; /* Darker auxiliary color for contrast */
  margin-bottom: 10px;
}

.page-login__game-card-link {
  color: #b38705;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__game-card-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-login__game-card-description {
  font-size: 0.95em;
  color: #666666;
}

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

.page-login__cta-button {
  background-color: #007bff; /* Primary color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
}

.page-login__cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-login__cta-button--secondary {
  background-color: #ffc107;
  color: #000000;
}

.page-login__cta-button--secondary:hover {
  background-color: #e0a800;
  color: #000000;
}

.page-login__vip-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__vip-item {
  background-color: #fdf5e6; /* Light golden background */
  border: 1px solid #ffd700;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.page-login__vip-point-title {
  font-size: 1.5em;
  color: #b38705;
  margin-bottom: 10px;
}

.page-login__vip-point-description {
  font-size: 0.95em;
  color: #444444;
}

.page-login__support-options {
  text-align: center;
  margin-top: 40px;
}

.page-login__support-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-login__support-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-login__support-item a {
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-login__support-item a:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }

  .page-login__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }

  .page-login__hero-description {
    font-size: 1.1em;
  }

  .page-login__hero-section {
    padding: 60px 15px;
  }

  .page-login__content-area {
    padding: 40px 15px;
  }

  .page-login__section-title {
    font-size: 1.8em;
  }

  .page-login__section-description {
    font-size: 1em;
  }

  .page-login__process-list,
  .page-login__security-list,
  .page-login__why-list,
  .page-login__game-categories,
  .page-login__vip-list {
    grid-template-columns: 1fr;
  }

  .page-login__login-button,
  .page-login__cta-button {
    font-size: 1.1em;
    padding: 12px 20px;
  }

  /* Mobile content area image resizing */
  .page-login__content-area img {
    max-width: 100%;
    height: auto;
  }

  .page-login__hero-image {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow auto width to prevent overflow with padding */
  }

  .page-login__support-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }

  .page-login__login-form-wrapper {
    padding: 20px;
  }

  .page-login__form-input {
    padding: 10px;
  }

  .page-login__login-button {
    padding: 10px 15px;
    font-size: 1em;
  }

  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    padding: 10px 20px;
  }
}