/* style/login.css */

/* --- General Page Styles --- */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-login__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #2F6BFF; /* Primary Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-login__section-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero Section --- */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F4F7FB; /* Match body background */
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-login__hero-content h1 {
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* --- Buttons --- */
.page-login__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  color: #ffffff;
  border: none;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary Color */
  border: 2px solid #2F6BFF; /* Primary Color */
}

.page-login__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Login Form Section --- */
.page-login__login-form-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #D6E2FF; /* Border */
}

.page-login__form-group {
  margin-bottom: 25px;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  color: #1F2D3D;
  background-color: #ffffff;
}

.page-login__form-input::placeholder {
  color: #a0a0a0;
}

.page-login__form-input:focus {
  border-color: #2F6BFF; /* Primary Color */
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 15px;
}

.page-login__checkbox-container {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  color: #1F2D3D; /* Text Main */
}

.page-login__checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.page-login__checkbox-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
  border: 1px solid #D6E2FF;
}

.page-login__checkbox-container:hover .page-login__checkbox-input ~ .page-login__checkbox-checkmark {
  background-color: #ccc;
}

.page-login__checkbox-input:checked ~ .page-login__checkbox-checkmark {
  background-color: #2F6BFF; /* Primary Color */
  border-color: #2F6BFF;
}

.page-login__checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.page-login__checkbox-input:checked ~ .page-login__checkbox-checkmark:after {
  display: block;
}

.page-login__checkbox-container .page-login__checkbox-checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.page-login__forgot-password-link {
  color: #2F6BFF; /* Primary Color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #6FA3FF; /* Secondary Color */
  text-decoration: underline;
}

.page-login__submit-button {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  transition: background 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-login__register-text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

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

.page-login__register-link:hover {
  color: #6FA3FF; /* Secondary Color */
  text-decoration: underline;
}

/* --- Security Info Section --- */
.page-login__security-info-section {
  padding: 80px 20px;
  background-color: #2F6BFF; /* Primary Color */
  color: #ffffff; /* White text for dark background */
}

.page-login__security-info-section .page-login__section-title,
.page-login__security-info-section .page-login__section-description {
  color: #ffffff;
}

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

.page-login__feature-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__feature-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.page-login__feature-card .page-login__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-login__feature-card .page-login__card-description {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.5;
}

/* --- Benefits/Games Section --- */
.page-login__benefits-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-login__benefit-card,
.page-login__game-card {
  background: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__benefit-card img,
.page-login__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}
.page-login__benefits-grid .page-login__benefit-card img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 0;
}

.page-login__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF; /* Primary Color */
  margin-bottom: 10px;
}

.page-login__game-card .page-login__card-title a {
  color: #2F6BFF; /* Primary Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__game-card .page-login__card-title a:hover {
  color: #6FA3FF; /* Secondary Color */
  text-decoration: underline;
}

.page-login__card-description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  line-height: 1.5;
}

.page-login__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* --- FAQ Section --- */
.page-login__faq-section {
  padding: 80px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #ffffff; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}