.page-login {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-login__hero-section {
  background-color: #000000; /* Black background for hero text area */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-login__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-login__btn--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-login__btn--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-login__btn--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FFFFFF;
}

.page-login__btn--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
  z-index: 1;
}

.page-login__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-login__entry-description, .page-login__login-process, .page-login__security-tips, .page-login__faq, .page-login__explore-games, .page-login__mobile-app, .page-login__support-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Default light background for sections */
}

.page-login__entry-description:nth-of-type(odd), .page-login__security-tips:nth-of-type(odd), .page-login__mobile-app:nth-of-type(odd) {
  background-color: #f8f8f8; /* Slightly different background for visual separation */
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-login__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__process-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__process-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.8em;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 5px;
  z-index: 1;
}

.page-login__process-step-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__process-step-description {
  font-size: 1em;
  color: #555555;
}

.page-login__process-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-login__security-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-login__security-item-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__security-item-description {
  font-size: 1em;
  color: #666666;
}

.page-login__security-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__faq-list {
  margin-top: 40px;
}

.page-login__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #f0f0f0;
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
  border-top: 1px solid #eee;
}

.page-login__answer p {
  margin-bottom: 0;
}

.page-login__game-categories {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-login__game-category-item a {
  display: block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__game-category-item a:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-login__game-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-login__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__btn--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-login__btn--explore:hover {
  background-color: #333333;
}

.page-login__mobile-image {
  display: block;
  margin: 40px auto 0;
  max-width: 400px; /* Constrain mobile image width */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-login__btn--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-login__btn--download:hover {
  background-color: #e0a53b;
}

.page-login__support-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__btn--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-login__btn--support:hover {
  background-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login__hero-title {
    font-size: 2.5em;
  }

  .page-login__hero-description {
    font-size: 1.1em;
  }

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

  .page-login__process-list {
    grid-template-columns: 1fr;
  }

  .page-login__security-list {
    grid-template-columns: 1fr;
  }

  .page-login__game-gallery {
    grid-template-columns: 1fr;
  }

  .page-login__game-image {
    height: 200px;
  }

  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__btn {
    width: 100%;
    padding: 12px 20px;
  }

  .page-login__text-content {
    font-size: 1em;
  }

  /* Ensure images in content area are responsive and don't overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size even on mobile */
    min-height: 200px;
  }

  .page-login__mobile-image {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 2em;
  }

  .page-login__hero-description {
    font-size: 1em;
  }

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

  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }
}