/* style/login.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --login-button-bg: #C30808;
  --login-button-text: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

.page-login__hero-section.page-login__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-login__hero-content {
  max-width: 600px;
  z-index: 1;
  position: relative;
  text-align: left;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-login__form-wrapper {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  text-align: left;
  color: var(--text-dark);
}

.page-login__form-title {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: var(--text-dark);
  text-align: center;
}

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-dark);
}

.page-login__input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__checkbox-container {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
}

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

.page-login__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
  border-radius: 3px;
}

.page-login__checkbox-container input:checked ~ .page-login__checkmark {
  background-color: var(--primary-color);
}

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

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

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

.page-login__forgot-password {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-login__btn-login {
  width: 100%;
  padding: 15px;
  background-color: var(--login-button-bg);
  color: var(--login-button-text);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__btn-login:hover {
  background-color: #a30707; /* Darker red for hover */
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: var(--text-dark);
}

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

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

.page-login__hero-image-container {
  flex-shrink: 0;
  margin-left: 40px;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.page-login__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-login__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-login__dark-bg .page-login__section-title {
  color: var(--text-light);
}

.page-login__dark-bg .page-login__section-description {
  color: var(--text-light);
}

/* Benefits Section */
.page-login__benefits-section,
.page-login__how-to-login-section,
.page-login__game-portfolio-section,
.page-login__security-section,
.page-login__promotions-section,
.page-login__mobile-section,
.page-login__faq-section,
.page-login__cta-section {
  padding: 80px 0;
}

.page-login__benefits-grid,
.page-login__steps-grid,
.page-login__game-grid,
.page-login__security-grid,
.page-login__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__card {
  background: var(--background-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-login__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-login__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-login__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}