/* style/login.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-orange: #EA7C07; /* For login button */
  --bg-dark: #111; /* Body background from shared.css */
}

/* Base styles for the page-login scope */
.page-login {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency, though body handles it */
  line-height: 1.6;
  padding-top: 0; /* Handled by shared.css for body, or hero section will take it if not */
}

/* Ensure body padding-top is respected if shared doesn't provide it */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset here if body doesn't have it */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 700px;
  color: var(--text-light);
  text-align: center;
}

.page-login__hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken background image for text contrast */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-login__hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-login__main-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-login__login-form-wrapper {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  margin: 0 auto;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1em;
  color: var(--secondary-color);
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #222;
  color: var(--secondary-color);
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.page-login__btn-primary {
  background-color: var(--accent-orange); /* Login button specific color */
  color: var(--secondary-color);
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-primary:hover {
  background-color: #d16b00;
}

.page-login__forgot-password-link {
  color: var(--primary-color);
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: center;
}

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

.page-login__register-prompt {
  margin-top: 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-login__register-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* General Section Styles */
.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-color);
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.8);
}

.page-login__dark-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: var(--text-light);
}

.page-login__why-choose-us-section {
  padding: 80px 0;
}

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

.page-login__feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px; /* Ensure cards have similar height */
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-login__feature-icon {
  width: 100%; /* Make image fill card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-login__feature-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

.page-login__how-to-login-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--text-dark);
}

.page-login__how-to-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-login__how-to-login-content {
  text-align: left;
}

.page-login__how-to-login-content .page-login__section-title,
.page-login__how-to-login-content .page-login__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-login__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__step-item {
  margin-bottom: 25px;
}

.page-login__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-login__step-text {
  font-size: 1em;
  color: var(--text-dark);
}

.page-login__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__btn-large {
  padding: 16px 30px;
  font-size: 1.2em;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 14px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-login__game-showcase-section {
  padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 380px;
}

.page-login__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-login__game-image {
  width: 100%;
  height: 180px; /* Fixed height for game images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-login__game-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-login__game-text {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

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

.page-login__promotions-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--text-dark);
}

.page-login__promotions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-login__promotions-content {
  text-align: left;
}

.page-login__promotions-content .page-login__section-title,
.page-login__promotions-content .page-login__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-login__promotions-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__promotions-list li {
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.page-login__promotions-list li strong {
  color: var(--primary-color);
}

.page-login__promotions-list li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-login__promotions-image {
  text-align: center;
}

.page-login__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  color: #5ac4f8;
}

.page-login__responsible-gaming-section {
  padding: 80px 0;
}

.page-login__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto 40px auto;
  text-align: left;
}