/* style/login.css */

/* Base Styles */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

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

/* Section Styles */
.page-login__hero-section,
.page-login__guide-section,
.page-login__promotions-section,
.page-login__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-login__features-section,
.page-login__games-section,
.page-login__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-login__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-login__hero-section {
  padding-top: var(--header-offset, 120px);
  background-image: url('[GALLERY:hero_bg:1920x1080:loto188,login,background,secure_access]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-login__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

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

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

.page-login__form-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 10px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-login__input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: #ffffff;
  color: #333333;
  font-size: 1em;
}

.page-login__input::placeholder {
  color: #888;
}

.page-login__btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  color: #FFFF00; /* Custom font color for login button */
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom color for login/register buttons */
}

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

.page-login__links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
}

.page-login__link {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  color: #FFFF00;
}

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-login__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-login__feature-card {
  background-color: #f9f9f9;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

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

/* Guide Section */
.page-login__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
}

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

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

.page-login__troubleshooting {
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__troubleshooting-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-login__troubleshooting-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-login__troubleshooting-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.page-login__troubleshooting-list li::before {
  content: '•';
  color: #FFFF00;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-login__btn-support {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-login__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

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

.page-login__game-card {
  background-color: #f9f9f9;
  color: #333333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-login__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-login__game-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__game-title a:hover {
  color: #005f2e;
}

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

/* Promotions Section */
.page-login__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.page-login__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-login__promo-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-login__promo-title a {
  color: #FFFF00;
  text-decoration: none;
}

.page-login__promo-title a:hover {
  color: #ffffff;
}

.page-login__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-login__cta-promotions {
  margin-top: 50px;
}

.page-login__btn-view-all-promos {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  color: #FFFF00;
}

/* FAQ Section */
.page-login__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.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: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: #555555;
  background-color: #f0f0f0;
}

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

.page-login__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Add some padding to the last paragraph in case of multiple */
}

/* CTA Section */
.page-login__cta-section {
  padding: 100px 0;
  background-image: url('[GALLERY:cta_bg:1920x1080:loto188,login,call_to_action,gaming_platform]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-login__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

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

.page-login__btn-main-cta,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-login__btn-main-cta {
  background-color: #C30808; /* Custom color for main CTA button */
  color: #FFFF00;
  border: 2px solid transparent;
}

.page-login__btn-main-cta:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

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

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

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-login__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-login__hero-title {
    font-size: 2.2em;
  }

  .page-login__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-login__form-wrapper {
    padding: 30px 20px;
    max-width: 100%;
  }

  .page-login__links {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-login__section-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-login__features-section,
  .page-login__games-section,
  .page-login__promotions-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 50px 0;
  }

  .page-login__container {
    padding: 0 15px;
  }

  .page-login__features-grid,
  .page-login__games-grid,
  .page-login__promo-grid,
  .page-login__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Images responsive for mobile */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__feature-card,
  .page-login__game-card,
  .page-login__promo-card,
  .page-login__step-item,
  .page-login__troubleshooting,
  .page-login__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive for mobile */
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login__btn-main-cta,
  .page-login__btn-secondary,
  .page-login__btn-submit,
  .page-login__btn-view-all-promos,
  .page-login__btn-support {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-login__faq-question,
  .page-login__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

  .page-login__form-wrapper {
    padding: 25px 15px;
  }

  .page-login__btn-main-cta,
  .page-login__btn-secondary {
    font-size: 1em;
  }
}