/* style/login.css */

/* Base Styles */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  background-color: transparent; /* body handles global background */
}

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

/* Sections */
.page-login__hero-section,
.page-login__why-choose-us,
.page-login__how-to-login,
.page-login__security-measures,
.page-login__game-categories,
.page-login__promotions-section,
.page-login__faq-section,
.page-login__cta-section {
  padding: 80px 0;
}

.page-login__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff;
}

.page-login__light-bg {
  background-color: #1a1a1a; /* Dark gray for sections, not white to match overall dark theme */
  color: #f0f0f0;
}

/* Titles & Descriptions */
.page-login__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-login__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 70vh;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.page-login__hero-content {
  flex: 1;
  max-width: 50%;
  padding-left: 20px;
  z-index: 1;
}

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

.page-login__intro-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-login__hero-image-container {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Login Form */
.page-login__login-form-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  max-width: 450px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: bold;
}

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

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

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

.page-login__checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

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

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

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__forgot-password-link:hover {
  text-decoration: underline;
}

.page-login__submit-button {
  background-color: #EA7C07; /* Custom color for login button */
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.page-login__submit-button:hover {
  background-color: #d16e06;
}

.page-login__register-text {
  text-align: center;
  color: #f0f0f0;
}

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

.page-login__register-link:hover {
  text-decoration: underline;
}

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

.page-login__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-login__feature-item:hover {
  transform: translateY(-10px);
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-login__feature-text {
  color: #f0f0f0;
}

/* How to Login Section */
.page-login__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-login__step-number {
  font-size: 2.5em;
  color: #EA7C07;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-login__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-login__step-text {
  color: #f0f0f0;
}

.page-login__step-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__step-link:hover {
  text-decoration: underline;
}

.page-login__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-login__cta-text {
  font-size: 1.2em;
  color: #f0f0f0;
}

.page-login__cta-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__cta-link:hover {
  text-decoration: underline;
}

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

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

.page-login__security-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-login__security-text {
  color: #f0f0f0;
}

.page-login__security-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__security-link:hover {
  text-decoration: underline;
}

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

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

.page-login__game-card:hover {
  transform: translateY(-10px);
}

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

.page-login__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  padding: 15px;
  margin-bottom: 5px;
}

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

.page-login__game-title a:hover {
  text-decoration: underline;
}

.page-login__game-text {
  color: #f0f0f0;
  padding: 0 15px 15px;
}

.page-login__game-guide-link {
  color: #EA7C07;
  text-decoration: none;
}

.page-login__game-guide-link:hover {
  text-decoration: underline;
}

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

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

.page-login__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-login__promo-title {
  font-size: 1.4em;
  color: #26A9E0;
  padding: 15px;
  margin-bottom: 5px;
}

.page-login__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-login__promo-title a:hover {
  text-decoration: underline;
}

.page-login__promo-text {
  color: #f0f0f0;
  padding: 0 15px 15px;
}

.page-login__cta-promotions {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-login__faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #26A9E0;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none; /* For details/summary */
}

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

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 0 20px 20px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-login__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-login__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-login__cta-section {
  text-align: center;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}