.page-login__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  color: #ffffff;
  text-align: center;
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

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

.page-login__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__login-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 40px auto 0;
  text-align: left;
  color: #333333;
}

.page-login__form-title {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #333333;
}

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

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

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

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

.page-login__checkbox-label {
  font-size: 0.95em;
  color: #555555;
}

.page-login__forgot-password {
  font-size: 0.95em;
  color: #26A9E0;
  text-decoration: none;
}

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

.page-login__submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-btn:hover {
  background-color: #cc6a00;
}

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

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

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
  color: #333333;
}

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

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

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

.page-login__benefit-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-login__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

.page-login__security-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__security-text {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.page-login__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__security-image-wrapper {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Games Section */
.page-login__games-section {
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
  color: #333333;
}

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

.page-login__game-card {
  background: #fefefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-login__game-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 25px;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 10px;
  box-sizing: border-box;
}

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

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 20px;
  background: #f8f8f8;
  color: #333333;
  text-align: center;
}

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

.page-login__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-login__faq-heading {
  font-size: 1.25em;
  margin: 0;
  color: #26A9E0;
  font-weight: bold;
}

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

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(0deg); /* '+' to '-' rotation is handled by JS text content */
}

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

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

.page-login__faq-answer .page-login__paragraph {
  margin-bottom: 0;
  color: #555555;
}

/* CTA Section */
.page-login__cta-section {
  padding: 80px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

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

.page-login__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__cta-button:hover {
  background-color: #cc6a00;
}

.page-login__cta-subtext {
  margin-top: 20px;
  font-size: 1em;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__intro-text {
    font-size: 1.1em;
  }
  .page-login__login-form-wrapper {
    margin-top: 20px;
    padding: 30px;
    max-width: 100%;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 1em;
  }
  .page-login__benefits-section, .page-login__security-section, .page-login__games-section, .page-login__faq-section, .page-login__cta-section {
    padding: 60px 15px;
  }
  .page-login__security-content {
    flex-direction: column;
  }
  .page-login__security-text, .page-login__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-login__sub-title {
    font-size: 1.5em;
  }
  .page-login__paragraph {
    font-size: 0.95em;
  }
  .page-login__faq-question {
    padding: 15px 20px;
  }
  .page-login__faq-heading {
    font-size: 1.1em;
  }
  .page-login__faq-answer {
    padding: 0 20px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 15px 20px;
  }
  
  /* Mobile responsive for images */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__login-form-wrapper,
  .page-login__benefits-grid,
  .page-login__benefits-section,
  .page-login__security-section,
  .page-login__games-section,
  .page-login__faq-section,
  .page-login__cta-section,
  .page-login__faq-list,
  .page-login__games-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  
  /* Mobile responsive for buttons */
  .page-login__cta-button,
  .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__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container,
  .page-login__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-login__game-card a {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__intro-text {
    font-size: 0.95em;
  }
  .page-login__form-title {
    font-size: 1.5em;
  }
  .page-login__submit-btn {
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__benefit-title {
    font-size: 1.3em;
  }
  .page-login__game-title {
    font-size: 1.4em;
  }
  .page-login__forgot-password, .page-login__checkbox-label {
    font-size: 0.9em;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}