.page-login {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

@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;
  }
  .page-login__promo-strip {
    margin-top: 16px;
  }
  .page-login__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-login__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .page-login__promo-image {
    width: 40%;
    height: auto;
    object-fit: cover;
  }
  .page-login__promo-content {
    padding: 15px;
    width: 60%;
  }
  .page-login__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-login__hot-game-card {
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
  }
  .page-login__hot-game-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .page-login__hot-games-name,
  .page-login__hot-games-rtp,
  .page-login__hot-games-desc {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }
  .page-login__hero-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #E53935;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
  }
  .page-login__hero-brand h1 {
    font-size: clamp(1.8em, 2.5vw, 2.5em);
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
  }
  .page-login__hero-brand-trust {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  .page-login__hero-brand-trust-item {
    text-align: center;
    flex: 1;
    padding: 0 5px;
  }
}

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

.page-login__hero-section {
  position: relative;
  background: #F5F7FA;
  padding-top: 10px;
  padding-bottom: 50px;
  text-align: center;
}

.page-login__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-login__hero-content {
  padding: 0 15px;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-login__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
}

.page-login__form-section {
  padding: 50px 0;
  background: #ffffff;
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #f9f9f9;
}

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

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

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

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

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-login__form-actions .page-login__btn-primary {
  flex-grow: 1;
  max-width: 100%;
}

.page-login__link-forgot-password {
  color: #FF5A4F;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__link-forgot-password:hover {
  color: #E53935;
}

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

.page-login__link-register {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
}

.page-login__link-register:hover {
  text-decoration: underline;
}

.page-login__benefits-section {
  padding: 60px 0;
  background: #F5F7FA;
}

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

.page-login__benefit-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

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

.page-login__benefit-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  border-radius: 5px;
}

.page-login__benefit-text {
  font-size: 0.95em;
  color: #555555;
}

.page-login__guide-section {
  padding: 60px 0;
  background: #ffffff;
}

.page-login__guide-list {
  list-style: none;
  counter-reset: guide-step;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__guide-list li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}

.page-login__guide-list li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: #E53935;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
}

.page-login__guide-step-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 8px;
}

.page-login__guide-footer {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666;
}

.page-login__app-download-section {
  padding: 60px 0;
  background: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-login__app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__app-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-login__app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-login__app-buttons .page-login__btn-primary,
.page-login__app-buttons .page-login__btn-secondary {
  border: 2px solid #ffffff;
}

.page-login__app-buttons .page-login__btn-primary {
  background: #ffffff;
  color: #E53935;
}
.page-login__app-buttons .page-login__btn-primary:hover {
  background: #f0f0f0;
}

.page-login__app-buttons .page-login__btn-secondary {
  background: transparent;
  color: #ffffff;
}
.page-login__app-buttons .page-login__btn-secondary:hover {
  background: #ffffff;
  color: #E53935;
}

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

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;
}
.page-login__faq-section {
  padding: 60px 0;
  background: #F5F7FA;
}
.page-login__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-login__contact-section {
  padding: 60px 0;
  background: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-login__contact-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__contact-content .page-login__btn-primary {
  background: #ffffff;
  color: #E53935;
}
.page-login__contact-content .page-login__btn-primary:hover {
  background: #f0f0f0;
}

.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-login__section,
.page-login__card,
.page-login__container,
.page-login__cta-buttons,
.page-login__app-buttons,
.page-login__form-actions {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-login {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-login__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-login__hero-section {
    padding-bottom: 30px;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__app-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__form-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__form-actions .page-login__btn-primary {
    width: 100% !important;
  }

  .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;
  }

  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__promo-strip-track {
    grid-template-columns: 1fr;
    gap: 15px;
    overflow-x: hidden;
    padding: 0;
  }
  .page-login__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-login__promo-image {
    width: 100%;
    height: auto;
  }
  .page-login__promo-content {
    width: 100%;
    padding: 15px;
  }
  .page-login__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
  }
  .page-login__hot-game-image {
    width: 100%;
  }
  .page-login__hot-games-name,
  .page-login__hot-games-rtp,
  .page-login__hot-games-desc {
    font-size: 0.9em;
    display: none;
  }
  .page-login__hero-brand {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .page-login__hero-brand h1 {
    font-size: 1.8em;
  }
  .page-login__hero-brand-trust {
    flex-direction: column;
    gap: 10px;
  }
  .page-login__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    padding: 10px 15px;
    z-index: 999;
    font-size: 0.9em;
  }
  body { padding-bottom: 50px; }
  main.page-login { padding-bottom: 50px; }
}

.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;}
.page-login__reward-modal.is-hidden {display: none !important;}
.page-login__reward-modal-close {cursor: pointer;}