/* style/login.css */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body handles actual background */
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-login__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken background image for text readability */
}

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-login__form-wrapper {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 0 auto;
}

.page-login__form-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.page-login__input-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-login__label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-login__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.9em;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #26A9E0; /* Highlight checkbox */
}

.page-login__checkbox-label {
  color: #f0f0f0;
}

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-login__login-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-login__login-button:hover {
  background-color: #d16b06;
}

.page-login__register-text {
  color: #f0f0f0;
  text-align: center;
  margin-top: 20px;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* General Section Styles */
.page-login__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-login__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-login__light-bg {
  background-color: #1a1a1a; /* Dark gray for a light contrast */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(38, 169, 224, 0.2); /* #26A9E0 with transparency */
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Games Overview Section */
.page-login__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(38, 169, 224, 0.4);
}

.page-login__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-login__game-title {
  font-size: 1.4em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-login__game-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__game-title a:hover {
  color: #EA7C07;
}

.page-login__game-text {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 20px 20px;
}

/* Security and Trust Section */
.page-login__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__security-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__security-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__security-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Promotions Section */
.page-login__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-login__promo-image {
  flex: 1 1 45%;
  min-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  height: auto;
}

.page-login__promo-text {
  flex: 1 1 45%;
  min-width: 400px;
  color: #e0e0e0;
}

.page-login__promo-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__promo-text p {
  margin-bottom: 20px;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  color: #ffffff;
}

.page-login__view-promotions-button {
  margin-top: 20px;
}

/* Download App Section */
.page-login__download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-login__download-image {
  flex: 1 1 45%;
  min-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  height: auto;
}

.page-login__download-text {
  flex: 1 1 45%;
  min-width: 400px;
  color: #e0e0e0;
}

.page-login__download-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__download-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-login__download-text li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-login__download-text li::before {
  content: '✓';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}