.page-login {
  color: #ffffff; /* Body background is dark, so text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-login__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1A2E47; /* Dark blue background for hero */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.page-login__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.page-login__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-login__login-card {
  background: rgba(0, 0, 0, 0.4); /* Slightly transparent dark background */
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
  margin: 0 auto;
}

.page-login__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1em;
  color: #ffffff;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: #0d1a2d; /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #a0a0a0;
  opacity: 0.8;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: block;
  padding: 14px 25px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #1A2E47; /* Dark blue text */
  border: 2px solid #FFD700;
}

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

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

.page-login__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2E47;
}

.page-login__forgot-password {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.95em;
}

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

.page-login__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for better text readability */
}

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

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

.page-login__dark-section {
  background-color: #1A2E47;
  color: #ffffff;
  padding: 80px 0;
}

.page-login__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  padding: 80px 0;
}

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

.page-login__benefit-item,
.page-login__why-choose-item,
.page-login__troubleshooting-item {
  background: rgba(0, 0, 0, 0.2); /* Darker transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover,
.page-login__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__benefit-icon,
.page-login__why-choose-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-login__benefit-title,
.page-login__why-choose-title,
.page-login__troubleshooting-subtitle {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-login__benefit-text,
.page-login__why-choose-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-login__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto;
  background-color: #0d1a2d;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  cursor: pointer;
}

.page-login__video-cta {
  margin-top: 40px;
  display: inline-block;
}

.page-login__security-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-login__security-section .page-login__section-title,
.page-login__security-section .page-login__section-description {
  color: #1A2E47;
}

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

.page-login__security-text {
  flex: 1;
}

.page-login__security-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.page-login__security-text ul li {
  margin-bottom: 10px;
  color: #333333;
}

.page-login__security-text .page-login__btn-primary {
  margin-top: 30px;
  display: inline-block;
  background-color: #1A2E47;
  color: #ffffff;
  border-color: #1A2E47;
}

.page-login__security-text .page-login__btn-primary:hover {
  background-color: #0d1a2d;
  border-color: #0d1a2d;
}

.page-login__security-image-wrapper {
  flex: 0 0 40%;
  max-width: 40%;
}

.page-login__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__responsible-gaming {
  margin-top: 60px;
  background-color: #e0e0e0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-login__responsible-gaming .page-login__security-subtitle {
  color: #1A2E47;
}

.page-login__responsible-gaming p {
  color: #333333;
  font-size: 1em;
}

.page-login__troubleshooting-item {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.page-login__troubleshooting-item .page-login__troubleshooting-subtitle {
  color: #1A2E47;
}

.page-login__troubleshooting-item p {
  color: #555555;
}

.page-login__troubleshooting-cta {
  text-align: center;
  margin-top: 50px;
}

.page-login__troubleshooting-cta p {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 25px;
}

.page-login__faq-section {
  padding: 80px 0;
}

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

.page-login__faq-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  margin-left: 15px;
  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;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px;
  color: #f0f0f0;
}

.page-login__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__cta-section {
  background-color: #FFD700; /* Gold background for CTA */
  color: #1A2E47;
  padding: 60px 0;
  text-align: center;
}

.page-login__cta-section .page-login__section-title {
  color: #1A2E47;
  margin-bottom: 15px;
}

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

.page-login__cta-section .page-login__btn-primary {
  background-color: #1A2E47;
  color: #ffffff;
  border-color: #1A2E47;
  display: inline-block;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-login__security-image-wrapper {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__login-card {
    max-width: 90%;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-login__benefits-grid, .page-login__why-choose-grid, .page-login__troubleshooting-grid {
    grid-template-columns: 1fr;
  }
  .page-login__benefit-item, .page-login__why-choose-item, .page-login__troubleshooting-item {
    padding: 25px;
  }
  .page-login__video-wrapper {
    margin: 30px auto;
  }
  .page-login__security-section, .page-login__dark-section, .page-login__light-bg, .page-login__faq-section, .page-login__cta-section {
    padding: 60px 0;
  }

  /* Mobile specific image/video/button responsiveness */
  .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__section,
  .page-login__card,
  .page-login__container,
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper,
  .page-login__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .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__form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 10px 15px;
  }
  .page-login__faq-question {
    padding: 15px 15px;
  }
}