/* style/login.css */

/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Custom color for important titles */
  text-align: center;
  margin-bottom: 20px;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  text-align: center;
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom color for Login/Register */
  color: #FFFF00; /* Custom font color for Login/Register */
}

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

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

.page-login__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-login__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-login__button-icon {
  margin-right: 10px;
  width: 32px; /* Adjusted from 48px to 32px for better button fit on desktop */
  height: 32px; /* Adjusted from 48px to 32px */
  vertical-align: middle;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Desktop spacing */
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero_bg:1920x1080:123b,link123b,login,background,online_betting,casino]') no-repeat center center/cover;
  color: #ffffff;
}

.page-login__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for important titles */
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-login__login-form-wrapper {
  background-color: rgba(1, 116, 57, 0.9); /* #017439 with transparency */
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-login__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-login__login-form {
  width: 100%;
}

.page-login__form-title {
  font-size: 2em;
  color: #FFFF00; /* Custom font color for login form title */
  margin-bottom: 20px;
  text-align: center;
}

.page-login__form-intro {
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #005a2e;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

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

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

.page-login__forgot-password {
  color: #FFFF00; /* Custom font color for links */
  text-decoration: none;
}

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

.page-login__btn-login {
  width: 100%;
  margin-bottom: 20px;
}

.page-login__register-text {
  text-align: center;
  color: #f0f0f0;
}

.page-login__link-register {
  color: #FFFF00; /* Custom font color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-login__link-register:hover {
  text-decoration: underline;
}

/* Features Section */
.page-login__features-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-login__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__feature-icon {
  width: 200px; /* Minimum size 200x200 */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-login__feature-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom font color for feature titles */
  margin-bottom: 15px;
}

.page-login__feature-text {
  color: #e0e0e0;
  font-size: 1em;
}

/* Guide Section */
.page-login__guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-login__step-item {
  background-color: rgba(1, 116, 57, 0.9); /* #017439 with transparency */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for step numbers */
  margin-bottom: 15px;
}

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

.page-login__step-text {
  color: #e0e0e0;
  font-size: 1em;
}

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

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

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

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.7); /* Darker #017439 */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.9);
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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: #e0e0e0;
}

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

.page-login__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Download Section */
.page-login__download-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  text-align: center;
  color: #ffffff;
}

.page-login__download-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-login__app-image {
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

/* Call to Action Section */
.page-login__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  text-align: center;
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 3em;
  }
  .page-login__login-form-wrapper {
    padding: 30px;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__feature-icon {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile spacing */
    padding: 60px 0;
  }
  .page-login__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-login__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-login__login-form-wrapper {
    max-width: 90%;
    padding: 25px;
  }
  .page-login__form-title {
    font-size: 1.8em;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
    min-width: unset;
  }
  .page-login__button-icon {
    width: 28px;
    height: 28px;
  }
  .page-login__features-grid,
  .page-login__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-login__feature-card,
  .page-login__step-item {
    padding: 25px;
  }
  /* Ensure all content images meet the 200px min size and are responsive */
  .page-login__feature-icon,
  .page-login__form-image,
  .page-login__app-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important; /* Ensure it doesn't overflow container */
    height: auto !important;
  }
  .page-login__cta-bottom,
  .page-login__download-buttons,
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 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__download-buttons,
  .page-login__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  /* General image responsive rules for all images within .page-login */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Container padding for mobile to prevent overflow */
  .page-login__section,
  .page-login__card,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__faq-question,
  .page-login__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content images are not filtered */
.page-login img {
  filter: none; /* Explicitly disable any filters */
}