/* style/login.css */

/* General styles for the login page content */
.page-login {
  color: #ffffff; /* Light text on dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for clarity */
  min-height: 100vh; /* Ensure it takes full viewport height */
  display: flex;
  flex-direction: column;
}

/* Fixed Navbar Spacing */
.page-login {
  padding-top: 100px; /* Adjust based on actual header height, desktop */
}

/* Hero Banner Section */
.page-login__hero-banner {
  position: relative;
  width: 100%;
  height: 300px; /* Example height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image: url('[GALLERY:bg:1920x300:login_hero,aw8,casino,background]'); /* Using background image for visual appeal */
  background-size: cover;
  background-position: center;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

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

.page-login__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for emphasis */
}

.page-login__hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
}

/* Login Form Section */
.page-login__form-section {
  padding: 60px 20px;
  background-color: #1A202C; /* Dark grey background for the form area */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-login__form-container {
  background-color: #2a303c; /* Slightly lighter dark background for the form card */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  margin: 0 auto; /* Center the form container */
}

.page-login__form-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #FFD700; /* Gold title */
}

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

.page-login__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #f0f0f0; /* Light grey label */
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #333;
  color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__form-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-login__checkbox-group {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #FFD700;
  border-radius: 4px;
  background-color: #333;
  cursor: pointer;
  position: relative;
}

.page-login__checkbox:checked {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-login__checkbox:checked::before {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1A202C; /* Dark checkmark on gold background */
  font-size: 14px;
  line-height: 1;
}

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

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

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

.page-login__submit-button {
  width: 100%;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #1A202C; /* Dark text on gold button */
  background-color: #FFD700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-login__submit-button:hover {
  background-color: #ffe066;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-login__submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 15px;
  color: #f0f0f0;
}

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

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 20px;
  background-color: #121212; /* Body background color */
  text-align: center;
}

.page-login__benefits-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #FFD700;
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-login__benefit-card {
  background-color: #1A202C; /* Dark grey card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-login__benefit-icon {
  width: 200px; /* Ensure minimum size of 200x200 */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle glow for icons */
}

.page-login__benefit-heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-login__benefit-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* CTA Section */
.page-login__cta-section {
  padding: 80px 20px;
  background-color: #222; /* Slightly different dark background */
  text-align: center;
}

.page-login__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-login__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-login__cta-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-login__cta-button {
  display: inline-block;
  padding: 16px 35px;
  font-size: 20px;
  font-weight: bold;
  color: #1A202C; /* Dark text on gold button */
  background-color: #FFD700;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-login__cta-button:hover {
  background-color: #ffe066;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login {
    padding-top: 90px; /* Adjust for tablet header */
  }

  .page-login__hero-title {
    font-size: 40px;
  }

  .page-login__hero-subtitle {
    font-size: 18px;
  }

  .page-login__benefits-title,
  .page-login__cta-title {
    font-size: 32px;
  }

  .page-login__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: 80px !important; /* Adjust for mobile header */
  }

  .page-login__hero-banner {
    height: 250px;
  }

  .page-login__hero-title {
    font-size: 32px;
  }

  .page-login__hero-subtitle {
    font-size: 16px;
  }

  .page-login__form-section {
    padding: 40px 15px;
  }

  .page-login__form-container {
    padding: 30px 20px;
  }

  .page-login__form-title {
    font-size: 28px;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .page-login__benefits-section {
    padding: 60px 15px;
  }

  .page-login__benefits-title,
  .page-login__cta-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-icon {
    width: 200px !important; /* Ensure minimum size of 200x200 */
    height: 200px !important;
  }

  .page-login__benefit-heading {
    font-size: 20px;
  }

  .page-login__benefit-description {
    font-size: 14px;
  }

  .page-login__cta-section {
    padding: 60px 15px;
  }

  .page-login__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-login__cta-button {
    padding: 14px 25px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Responsive image rules */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__container,
  .page-login__form-container,
  .page-login__benefits-section,
  .page-login__cta-section,
  .page-login__benefit-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__form-container {
    padding-left: 20px !important; /* Override general container padding */
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 28px;
  }
  .page-login__hero-subtitle {
    font-size: 14px;
  }
  .page-login__form-title {
    font-size: 24px;
  }
  .page-login__benefits-title,
  .page-login__cta-title {
    font-size: 26px;
  }
}