.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

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

.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: url('[GALLERY:hero_bg:1920x1080:soi 888 login,betting platform,dynamic background]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-login__hero-section > .page-login__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-login__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-login__login-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__card-title {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-input:focus {
  outline: none;
  border-color: #EA7C07;
  box-shadow: 0 0 0 3px rgba(234, 124, 7, 0.3);
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9em;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #EA7C07;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #26A9E0;
}

.page-login__checkbox-label {
  color: #f0f0f0;
}

.page-login__btn-primary {
  background: #EA7C07; /* Custom color for Login button */
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-login__register-text {
  margin-top: 25px;
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__register-link:hover {
  color: #EA7C07;
}

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-login__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__benefit-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(38, 169, 224, 0.15);
}

.page-login__benefit-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__benefit-text {
  color: #cccccc;
}

.page-login__cta-text {
  text-align: center;
  margin-top: 60px;
  font-size: 1.2em;
  color: #f0f0f0;
}

.page-login__btn-secondary {
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.page-login__btn-secondary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-login__security-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Even darker background */
  color: #ffffff;
}

.page-login__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__security-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-login__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-login__security-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__security-text {
  color: #cccccc;
}

.page-login__security-footer-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__troubleshooting-section {
  padding: 80px 0;
  background-color: #f0f2f5; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-login__troubleshooting-section .page-login__section-title {
  color: #000000;
}

.page-login__troubleshooting-section .page-login__section-description {
  color: #555555;
}

.page-login__troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__troubleshooting-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-login__troubleshooting-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__troubleshooting-text {
  color: #555555;
}

.page-login__troubleshooting-footer-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1em;
  color: #555555;
}

.page-login__mobile-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-login__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-login__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.page-login__mobile-text-content {
  flex: 2;
  min-width: 300px;
}

.page-login__mobile-subtitle {
  font-size: 2em;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-login__mobile-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #cccccc;
}

.page-login__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

.page-login__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(38, 169, 224, 0.1);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-login__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #EA7C07;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px 25px;
}

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

.page-login__cta-bottom-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-login__cta-bottom-section .page-login__section-title {
  color: #ffffff;
}

.page-login__cta-bottom-section .page-login__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__benefits-grid, .page-login__security-features, .page-login__troubleshooting-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-login__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-login__mobile-image, .page-login__mobile-text-content {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 80vh;
  }
  .page-login__main-title {
    font-size: 2em;
  }
  .page-login__description {
    font-size: 1em;
  }
  .page-login__login-card {
    padding: 30px 20px;
  }
  .page-login__card-title {
    font-size: 1.5em;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-login__benefits-section, .page-login__security-section, .page-login__troubleshooting-section, .page-login__mobile-section, .page-login__faq-section, .page-login__cta-bottom-section {
    padding: 60px 0;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__btn-primary, .page-login__btn-secondary {
    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__mobile-content {
    flex-direction: column;
  }
  .page-login__mobile-image {
    width: 100%;
    max-width: 100%;
  }
  .page-login__mobile-text-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__description {
    font-size: 0.9em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__login-card {
    padding: 25px 15px;
  }
  .page-login__card-title {
    font-size: 1.3em;
  }
  .page-login__faq-question {
    padding: 15px;
  }
  .page-login__faq-title {
    font-size: 1em;
  }
  .page-login__faq-answer {
    padding: 15px;
  }
}