.page-login {
  color: #FFF6D6; /* Text Main color for dark body background */
  background-color: #0A0A0A; /* Body background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on main container */
}

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

/* Hero Section */
.page-login__hero-section {
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__hero-content {
  margin-bottom: 40px;
}

.page-login__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Primary color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-login__description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__form-wrapper {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.page-login__form-title {
  font-size: 2em;
  color: #FFD36B; /* Auxiliary color for form title */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #FFF6D6;
  font-size: 0.95em;
  font-weight: 500;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #3A2A12;
  border-radius: 5px;
  color: #FFF6D6;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-login__form-input::placeholder {
  color: rgba(255, 246, 214, 0.5);
}

.page-login__form-input:focus {
  border-color: #FFD36B;
  outline: none;
}

.page-login__forgot-password-link {
  display: block;
  text-align: right;
  margin-top: 10px;
  color: #FFD36B;
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #F2C14E;
}

.page-login__login-button {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  color: #FFF6D6;
}

.page-login__register-link {
  color: #F2C14E; /* Primary color for register link */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #FFD36B;
}

/* General Section Styling */
.page-login__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-login__benefit-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 200px; /* Example size, min 200px */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for dark section */
}

.page-login__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__security-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__security-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__security-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Games Preview Section */
.page-login__games-preview-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-login__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-login__game-img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-login__game-title {
  font-size: 1.4em;
  color: #F2C14E;
  padding: 15px 20px 5px;
  font-weight: 600;
}

.page-login__game-description {
  font-size: 0.9em;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

/* About Section */
.page-login__about-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-login__about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-login__about-text {
  flex: 1;
  min-width: 300px;
}

.page-login__about-subtitle {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__about-text p {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-login__about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-login__about-img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Example max width */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  min-width: 180px;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-login__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.03);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-login__faq-title {
  font-size: 1.2em;
  color: #FFF6D6;
  margin: 0;
  font-weight: 600;
}