.page-login {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-login__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-image: url('[GALLERY:hero_login:1920x1080:login,hi88,nổ hũ,online_betting,excitement,security]');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-login__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-login__hero-section .page-login__container {
  position: relative;
  z-index: 2;
}

.page-login__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-login__login-form-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-login__login-form-section .page-login__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-login__form-wrapper {
  flex: 1;
  min-width: 300px;
  background-color: #0d0d0d;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-login__form-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}

.page-login__form-subtitle {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #222;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-login__checkbox {
  margin-right: 8px;
}

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

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
}

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #EA7C07; /* Specific login button color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__submit-button:hover {
  background-color: #c46806;
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 30px;
  color: #cccccc;
}

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

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

.page-login__form-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-login__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-login__why-login-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-login__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 60px;
  color: #cccccc;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__benefit-card {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-login__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-login__benefit-text {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
}

.page-login__games-preview-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

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

.page-login__game-card {
  background-color: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-login__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-login__game-card h3,
.page-login__game-card p {
  padding: 0 20px;
}

.page-login__game-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

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

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

.page-login__game-text {
  font-size: 0.9em;
  color: #cccccc;
  line-height: 1.5;
  padding-bottom: 20px;
}

.page-login__view-all-games {
  margin-top: 40px;
}

.page-login__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-login__faq-section .page-login__section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
}

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

.page-login__faq-heading {
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-login__cta-bottom-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color background */
  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;
}

.page-login__cta-bottom-section .page-login__btn-primary {
  background-color: #0d0d0d;
  border-color: #0d0d0d;
  margin-right: 15px;
}

.page-login__cta-bottom-section .page-login__btn-primary:hover {
  background-color: #333;
  border-color: #333;
}

.page-login__cta-bottom-section .page-login__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-login__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2.4em;
  }
  .page-login__login-form-section .page-login__container {
    flex-direction: column;
    align-items: center;
  }
  .page-login__form-image-wrapper {
    order: -1; /* Image above form on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 80px 0;
    min-height: 450px;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__description {
    font-size: 1em;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-login__login-form-section,
  .page-login__why-login-section,
  .page-login__games-preview-section,
  .page-login__faq-section,
  .page-login__cta-bottom-section {
    padding: 60px 0;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__form-wrapper {
    padding: 30px;
  }
  .page-login__form-title {
    font-size: 1.8em;
  }
  .page-login__form-input {
    padding: 10px 12px;
  }
  .page-login__submit-button {
    padding: 12px;
  }
  .page-login__benefits-grid,
  .page-login__games-grid {
    grid-template-columns: 1fr;
  }
  .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-login__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__cta-bottom-section .page-login__btn-primary,
  .page-login__cta-bottom-section .page-login__btn-secondary {
    margin-right: 0;
    margin-bottom: 15px;
  }
}