/* Base styles for the login page */
.page-login {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Page background color from custom palette */
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Fixed header spacing - first content block padding */
.page-login__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset, add minimal top padding here */
}

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

.page-login__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #F3C54D; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__section-subtitle {
  font-size: 18px;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.page-login__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-login__hero-content {
  position: relative; /* Ensure content is above the image */
  z-index: 10;
  text-align: center;
  padding: 80px 15px;
  background: linear-gradient(to top, rgba(20, 12, 12, 0.9) 0%, rgba(20, 12, 12, 0.7) 50%, transparent 100%);
  margin-top: -30%; /* Pull content up over the image */
  padding-top: calc(30% + 80px); /* Adjust padding to compensate */
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  font-weight: 800;
  color: #F3C54D;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__description {
  font-size: 18px;
  color: #FFF1E8;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__submit-button,
.page-login__game-link,
.page-login__promo-button,
.page-login__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
}