/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
@media (max-width:1023px){.page-login__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-login__hero-brand,.page-login__hero-jackpot{display:none!important;}.page-login__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-login__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-login__game-trial-topbar,.page-login__game-trial-bottombar{display:none!important;}.page-login__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-login__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-login__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-login__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-login__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-login__hero-brand,.page-login__hero-jackpot,.page-login__game-trial{height:300px;max-height:300px;}.page-login__game-trial{overflow:hidden;}.page-login__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-login__game-trial-viewport{flex:1;min-height:0;}.page-login__game-trial-frame{height:100%;min-height:0;}.page-login__hero-jackpot-claim{background:#c62828!important;}.page-login__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-login__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-login__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-login__game-trial-overlay{z-index:5;pointer-events:auto;}.page-login__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-login__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-login__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-login__reward-modal{position:fixed;inset:0;z-index:10000;}
/* Login Page Specific Styles */
.page-login {
  padding-top: 10px;
  color: #333333;
  background-color: var(--secondary-color, #FFFFFF);
}

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

.page-login__section-padding {
  padding: 40px 0;
}

.page-login__section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

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

.page-login__description {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-login__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-login__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 10px;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-login__hero-text-area {
  text-align: center;
  max-width: 900px;
}

.page-login__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 15px;
}

.page-login__form-section {
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-login__login-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.page-login__forgot-password-link {
  font-size: 14px;
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #005f2f;
  text-decoration: underline;
}

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

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

.page-login__login-button {
  margin-bottom: 15px;
}

.page-login__register-text {
  text-align: center;
  font-size: 15px;
  color: #555;
}

.page-login__register-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

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

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

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-login__benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-login__benefit-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__cta-button {
  margin-top: 20px;
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-login__faq-item summary.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-login__faq-item summary.page-login__faq-question::-webkit-details-marker {
  display: none;
}
details.page-login__faq-item summary.page-login__faq-question:hover {
  background: #f5f5f5;
}
.page-login__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-login__faq-item .page-login__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
.page-login__faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

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

  .page-login__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-login__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-login__description {
    font-size: 15px;
  }

  .page-login__hero-content-wrapper {
    padding: 15px;
    gap: 15px;
  }

  .page-login__form-section,
  .page-login__benefits-section,
  .page-login__cta-section,
  .page-login__faq-section {
    padding: 30px 0;
  }

  .page-login__login-form {
    padding: 20px;
  }

  .page-login__form-input {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-login__btn-primary,
  .page-login__cta-button {
    font-size: 16px;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-card {
    padding: 20px;
  }

  .page-login__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-login__benefit-title {
    font-size: 18px;
  }

  .page-login__benefit-description {
    font-size: 14px;
  }

  details.page-login__faq-item summary.page-login__faq-question { padding: 15px; }
  .page-login__faq-qtext { font-size: 15px; }
  details.page-login__faq-item .page-login__faq-answer { padding: 0 15px 15px; }
  .page-login__faq-answer p { font-size: 14px; }
}