.page-login__hero-section { padding-top: 10px; padding-bottom: 40px; text-align: center; background: #F5F7FA; color: #333333; }
.page-login__container { max-width: 960px; margin: 0 auto; padding: 0 15px; }
.page-login__main-title { font-size: 2.2em; color: #E53935; margin-bottom: 15px; font-weight: 700; line-height: 1.2; }
.page-login__description { font-size: 1.1em; line-height: 1.6; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.page-login__login-form-wrapper { background: #FFFFFF; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); padding: 40px; max-width: 450px; margin: 0 auto; border: 1px solid #E0E0E0; }
.page-login__login-form { margin-bottom: 25px; }
.page-login__form-group { margin-bottom: 20px; text-align: left; }
.page-login__form-label { display: block; font-size: 0.95em; margin-bottom: 8px; font-weight: 600; 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; background-color: #fcfcfc; }
.page-login__form-input::placeholder { color: #888; }
.page-login__form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 0.9em; }
.page-login__remember-me { display: flex; align-items: center; }
.page-login__checkbox { margin-right: 8px; }
.page-login__checkbox-label { color: #333333; }
.page-login__forgot-password { color: #E53935; text-decoration: none; font-weight: 500; }
.page-login__forgot-password:hover { text-decoration: underline; }
.page-login__btn-primary { display: block; width: 100%; padding: 14px 25px; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #ffffff; border: none; border-radius: 5px; font-size: 1.1em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; box-sizing: border-box; }
.page-login__btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.page-login__register-cta { text-align: center; margin-top: 20px; }
.page-login__register-text { font-size: 0.95em; color: #333333; margin-bottom: 15px; }
.page-login__btn-secondary { display: block; width: 100%; padding: 12px 25px; background: #FFFFFF; color: #E53935; border: 1px solid #E53935; border-radius: 5px; font-size: 1em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; box-sizing: border-box; }
.page-login__btn-secondary:hover { background: #E53935; color: #FFFFFF; }
.page-login__btn-download { display: block; width: 100%; padding: 14px 25px; background: #333333; color: #FFFFFF; border: none; border-radius: 5px; font-size: 1.1em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; box-sizing: border-box; margin-top: 20px; }
.page-login__btn-download:hover { background: #555555; }

.page-login__benefits-section { padding: 50px 0; background: #E53935; color: #ffffff; }
.page-login__benefits-section .page-login__section-title { color: #ffffff; margin-bottom: 40px; }
.page-login__benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.page-login__benefit-card { background: rgba(255, 255, 255, 0.15); border-radius: 10px; padding: 25px; text-align: center; transition: transform 0.3s ease, background 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.2); }
.page-login__benefit-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.25); }
.page-login__benefit-icon { width: 80px; height: 80px; margin-bottom: 15px; object-fit: contain; }
.page-login__benefit-title { font-size: 1.25em; margin-bottom: 10px; color: #ffffff; font-weight: 600; }
.page-login__benefit-description { font-size: 0.95em; line-height: 1.6; color: #f0f0f0; }

.page-login__troubleshooting-section { padding: 50px 0; background: #F5F7FA; color: #333333; }
.page-login__troubleshooting-section .page-login__section-title { color: #E53935; margin-bottom: 30px; }
.page-login__troubleshooting-content { max-width: 700px; margin: 0 auto; text-align: left; }
.page-login__troubleshooting-content p { margin-bottom: 20px; line-height: 1.6; }
.page-login__troubleshooting-list { list-style-type: disc; margin-left: 20px; margin-bottom: 30px; line-height: 1.6; }
.page-login__troubleshooting-list li { margin-bottom: 8px; }
.page-login__contact-support-button { max-width: 250px; margin: 0 auto; }

.page-login__faq-section { padding: 50px 0; background: #F5F7FA; color: #333333; }
.page-login__faq-section .page-login__section-title { color: #E53935; margin-bottom: 40px; }
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: #333333;
}

/* General responsive styles for images and containers */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-login__section, .page-login__card, .page-login__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@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;
  }
  /* Placeholder for homepage promo-strip, hot-games, etc. PC styles if this were homepage */
  .page-login__promo-strip { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0 15px; }
  .page-login__promo-card { display: flex; flex-direction: row; text-align: left; }
  .page-login__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0 15px; }
  .page-login__hot-games-name, .page-login__hot-games-rtp, .page-login__hot-games-desc { display: block; text-align: center; }
}

@media (max-width: 768px) {
  .page-login__container { padding: 0 15px; }
  .page-login__main-title { font-size: 1.8em; }
  .page-login__description { font-size: 1em; }
  .page-login__login-form-wrapper { padding: 25px; }
  .page-login__form-input { padding: 10px; }
  .page-login__btn-primary, .page-login__btn-secondary, .page-login__btn-download {
    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 {
    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; }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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__benefits-grid { grid-template-columns: 1fr; }
  .page-login__benefit-card { padding: 20px; }
  .page-login__benefit-icon { width: 60px; height: 60px; }
  .page-login__benefit-title { font-size: 1.1em; }
  .page-login__benefit-description { font-size: 0.9em; }

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

  /* Homepage specific media queries for 768px - included as per strict instructions */
  .page-login__promo-strip { padding: 0; }
  .page-login__promo-strip-track { grid-template-columns: 1fr; gap: 15px; overflow-x: hidden; }
  .page-login__promo-card { flex-direction: column; text-align: center; }
  .page-login__promo-card-image { margin-bottom: 10px; }
  .page-login__hot-games-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0; }
  .page-login__hot-games-name, .page-login__hot-games-rtp, .page-login__hot-games-desc { display: none; /* Hide on mobile for hot games */ }
  .page-login__brand-intro { display: block; padding: 20px 15px; text-align: center; }
  .page-login__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; }
  body { padding-bottom: 50px; /* Adjust for fixed ticker */ }
}

.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; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-login__reward-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.page-login__reward-modal-content { background: #FFFFFF; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; position: relative; color: #333333; }
.page-login__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 1.5em; cursor: pointer; color: #666; }
.page-login__reward-modal-title { font-size: 1.5em; margin-bottom: 15px; color: #E53935; }
.page-login__reward-modal-text { margin-bottom: 20px; line-height: 1.6; }
.page-login__reward-modal-button { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #ffffff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 600; display: inline-block; }
.page-login__reward-modal-button:hover { opacity: 0.9; }