.page-login {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px; /* Consistent with 10px top padding for first section */
  text-align: center;
  overflow: hidden;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  margin-bottom: 50px;
  color: #ffffff;
}

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

.page-login__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-login__login-form-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  margin: 0 auto;
  color: #333333;
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-login__form-group {
  text-align: left;
}

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

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

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  font-size: 0.9em;
}

.page-login__forgot-password-link {
  color: #E53935;
  text-decoration: none;
}

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

.page-login__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

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

.page-login__register-prompt {
  margin-top: 20px;
  font-size: 0.95em;
}

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

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

.page-login__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-login__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-login__benefits-grid, .page-login__game-grid, .page-login__trust-points, .page-login__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-card, .page-login__game-card, .page-login__channel-card, .page-login__trust-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.page-login__benefit-icon, .page-login__game-image, .page-login__bonus-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__benefit-title, .page-login__game-title, .page-login__channel-title, .page-login__item-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-login__benefit-text, .page-login__game-description, .page-login__channel-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.highlight {
  color: #E53935;
  font-weight: 600;
}

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

.page-login__btn-secondary {
  background: #ffffff;
  color: #E53935;
  padding: 12px 25px;
  border: 2px solid #E53935;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.page-login__bonus-claim-section {
  background-color: #F5F7FA;
  padding: 80px 20px;
}

.page-login__bonus-claim-section .page-login__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-login__bonus-content {
  flex: 1;
}

.page-login__bonus-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__bonus-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__bonus-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__bonus-steps li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 40px;
}

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

.page-login__step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 5px;
}

.page-login__bonus-steps p {
  color: #333333;
  line-height: 1.5;
}

.page-login__bonus-note {
  margin-top: 30px;
  font-size: 0.95em;
  line-height: 1.5;
  color: #666666;
}

.page-login__bonus-cta {
  margin-top: 30px;
  display: inline-block;
}

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

.page-login__dark-section .page-login__section-title, .page-login__dark-section .page-login__section-intro, .page-login__dark-section .page-login__channel-title, .page-login__dark-section p {
  color: #ffffff;
}

.page-login__channel-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-login__channel-card .page-login__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border-color: #ffffff;
}

.page-login__channel-card .page-login__btn-secondary:hover {
  background: #FF5A4F;
  color: #ffffff;
  border-color: #FF5A4F;
}

.page-login__trust-points {
  counter-reset: trust-counter;
}

.page-login__trust-item {
  text-align: left;
  padding-left: 40px;
  position: relative;
}

.page-login__trust-item::before {
  content: '';
  counter-increment: trust-counter;
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23E53935"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.page-login__trust-item .page-login__item-title {
  color: #E53935;
}

/* General image responsiveness */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-login__hero-section {
    height: auto;
    padding-bottom: 30px;
    padding-top: 10px !important; /* HERO top padding */
  }

  .page-login__hero-content {
    margin-bottom: 20px;
    padding: 10px;
  }

  .page-login__main-title {
    font-size: 2em;
  }

  .page-login__description {
    font-size: 1em;
  }

  .page-login__login-form-container {
    max-width: 90%;
    padding: 20px;
  }

  .page-login__section-title {
    font-size: 1.8em;
  }

  .page-login__section-intro {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-login__benefits-grid, .page-login__game-grid, .page-login__trust-points, .page-login__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-card, .page-login__game-card, .page-login__channel-card, .page-login__trust-item {
    padding: 20px;
  }

  .page-login__bonus-claim-section .page-login__container {
    flex-direction: column;
    text-align: center;
  }

  .page-login__bonus-content {
    order: 2;
  }

  .page-login__bonus-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-login__bonus-steps li {
    padding-left: 0;
  }

  .page-login__bonus-steps li::before {
    position: static;
    margin-right: 10px;
    display: inline-flex;
    vertical-align: middle;
  }

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