.page-login__hero-section { position: relative; background-size: cover; background-position: center; padding: 60px 0 40px; color: #FFF5E1; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 500px; }
.page-login__hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.page-login__container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 15px; }
.page-login__main-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #FFCC66; text-shadow: 0 0 10px rgba(255, 204, 102, 0.7); }
.page-login__hero-description { font-size: 20px; line-height: 1.5; margin-bottom: 30px; }
.page-login__login-form-wrapper { background: rgba(122, 14, 14, 0.9); border-radius: 10px; padding: 30px; max-width: 450px; margin: 0 auto; border: 1px solid #F2B544; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
.page-login__form-title { font-size: 28px; font-weight: 600; margin-bottom: 25px; color: #FFD86A; }
.page-login__form-group { margin-bottom: 20px; text-align: left; }
.page-login__form-label { display: block; font-size: 16px; margin-bottom: 8px; color: #FFF5E1; }
.page-login__form-input { width: 100%; padding: 12px 15px; border: 1px solid #7A0E0E; border-radius: 5px; background: rgba(0, 0, 0, 0.3); color: #FFF5E1; font-size: 16px; transition: border-color 0.3s ease; }
.page-login__form-input::placeholder { color: rgba(255, 245, 225, 0.6); }
.page-login__form-input:focus { border-color: #FFD86A; outline: none; }
.page-login__form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 14px; }
.page-login__checkbox-container { display: flex; align-items: center; cursor: pointer; }
.page-login__checkbox { margin-right: 8px; appearance: none; width: 18px; height: 18px; border: 1px solid #F2B544; border-radius: 3px; background-color: rgba(255, 255, 255, 0.1); position: relative; }
.page-login__checkbox:checked { background-color: #FFD86A; border-color: #E6B800; }
.page-login__checkbox:checked::before { content: '\2713'; display: block; text-align: center; color: #7A0E0E; font-size: 14px; line-height: 18px; }
.page-login__checkbox-label { color: #FFF5E1; }
.page-login__forgot-password { color: #FFD86A; text-decoration: none; transition: color 0.3s ease; }
.page-login__forgot-password:hover { color: #E6B800; text-decoration: underline; }
.page-login__btn-primary { display: block; width: 100%; padding: 14px 25px; border-radius: 5px; font-size: 18px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: all 0.3s ease; border: none; background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #7A0E0E; }
.page-login__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4); }
.page-login__btn-primary a { color: #7A0E0E; text-decoration: none; display: block; width: 100%; height: 100%; }
.page-login__register-prompt { font-size: 16px; margin-top: 20px; color: #FFF5E1; }
.page-login__register-link { color: #FFD86A; text-decoration: none; transition: color 0.3s ease; }
.page-login__register-link:hover { color: #E6B800; text-decoration: underline; }

.page-login__section { padding: 60px 0; background-color: #B71C1C; color: #FFF5E1; }
.page-login__section-title { font-size: 38px; font-weight: 700; text-align: center; margin-bottom: 20px; color: #FFD86A; text-shadow: 0 0 8px rgba(255, 216, 106, 0.5); }
.page-login__section-description { font-size: 18px; line-height: 1.6; text-align: center; max-width: 800px; margin: 0 auto 40px; }

.page-login__benefits-grid, .page-login__steps-grid, .page-login__security-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-login__benefit-card, .page-login__step-card, .page-login__feature-item { background: #D32F2F; border-radius: 10px; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); border: 1px solid #7A0E0E; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.page-login__benefit-card:hover, .page-login__step-card:hover, .page-login__feature-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); }
.page-login__benefit-icon, .page-login__feature-icon { width: 100%; height: auto; max-width: 150px; margin: 0 auto 20px; display: block; border-radius: 8px; }
.page-login__benefit-title, .page-login__step-title, .page-login__feature-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; color: #FFD86A; }
.page-login__benefit-text, .page-login__step-text, .page-login__feature-text { font-size: 16px; line-height: 1.6; color: #FFF5E1; }

.page-login__step-number { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #7A0E0E; font-size: 28px; font-weight: bold; margin: 0 auto 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }

.page-login__password-recovery-section { background: #C91F17; }
.page-login__recovery-list { list-style: none; padding: 0; max-width: 700px; margin: 40px auto 0; text-align: left; }
.page-login__recovery-list li { font-size: 18px; line-height: 1.8; margin-bottom: 15px; display: flex; align-items: flex-start; }
.page-login__list-icon { color: #FFD86A; font-size: 24px; margin-right: 15px; flex-shrink: 0; }
.page-login__text-link { color: #FFD86A; text-decoration: underline; transition: color 0.3s ease; }
.page-login__text-link:hover { color: #E6B800; }

.page-login__register-cta-section { background-color: #B71C1C; text-align: center; }
.page-login__register-button { margin-top: 30px; display: inline-block; max-width: 300px; }
.page-login__cta-subtext { font-size: 16px; margin-top: 20px; color: #FFF5E1; }

.page-login__security-section { background-color: #D32F2F; }

/* FAQ Styles */
details.page-login__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #F2B544; overflow: hidden; background: #B71C1C; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
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; color: #FFD86A; font-weight: 600; }
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: #7A0E0E; }
.page-login__faq-qtext { flex: 1; font-size: 18px; line-height: 1.5; text-align: left; color: #FFD86A; }
.page-login__faq-toggle { font-size: 24px; font-weight: bold; color: #FFF5E1; 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: #7A0E0E; border-radius: 0 0 5px 5px; color: #FFF5E1; font-size: 16px; line-height: 1.6; }

/* --- General Responsive Styles --- */
.page-login img { max-width: 100%; height: auto; display: block; }
.page-login__section, .page-login__card, .page-login__container, .page-login__login-form-wrapper, .page-login__login-button, .page-login__register-button, .page-login__btn-primary { max-width: 100%; width: 100%; box-sizing: border-box; }
.page-login__btn-primary { white-space: normal; word-wrap: break-word; }

/* --- Media Queries --- */
@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;
    margin: 0 auto;
    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;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-login__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !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%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-login__hero-brand,
  .page-login__hero-jackpot,
  .page-login__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-login__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-login__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-login__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-login__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-login__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-login__main-title { font-size: 36px; }
  .page-login__hero-description { font-size: 18px; }
  .page-login__hero-section { padding: 40px 0; min-height: 400px; }
  .page-login__login-form-wrapper { padding: 20px; }
  .page-login__form-title { font-size: 24px; }
  .page-login__form-options { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-login__section-title { font-size: 30px; }
  .page-login__section-description { font-size: 16px; margin-bottom: 30px; }
  .page-login__benefits-grid, .page-login__steps-grid, .page-login__security-features { grid-template-columns: 1fr; gap: 20px; }
  .page-login__benefit-title, .page-login__step-title, .page-login__feature-title { font-size: 20px; }
  .page-login__benefit-text, .page-login__step-text, .page-login__feature-text { font-size: 15px; }
  .page-login__recovery-list li { font-size: 16px; }
  .page-login__list-icon { font-size: 20px; margin-right: 10px; }
  .page-login__register-button { max-width: 100%; }
  
  details.page-login__faq-item summary.page-login__faq-question { padding: 15px; }
  .page-login__faq-qtext { font-size: 16px; }
  details.page-login__faq-item .page-login__faq-answer { padding: 0 15px 15px; font-size: 15px; }
  
  .page-login img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-login__section, .page-login__card, .page-login__container, .page-login__login-form-wrapper, .page-login__login-button, .page-login__register-button, .page-login__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__btn-primary {
    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 {
    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__cta-buttons { display: flex; flex-direction: column; }
}

/* Homepage specific CSS as per template requirement */
@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;}