.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

/* Fixed header spacing */
.page-login {
  padding-top: var(--header-offset, 120px);
}

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

.page-login__section {
  padding: 60px 0;
}

.page-login__dark-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-login__light-bg {
  background-color: #FFFFFF; /* White background */
  color: #333333; /* Dark text for light background */
}

.page-login__main-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff; /* White text for dark hero */
  text-align: center;
}

.page-login__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff; /* White text for dark hero */
  text-align: center;
}

.page-login__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-login__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit color from parent section */
}

/* Buttons */
.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom Login/Register color */
  color: #FFFF00; /* Custom Login/Register font color */
  border: 2px solid #C30808;
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-login__dark-section .page-login__btn-secondary {
  color: #ffffff; /* White text on dark background */
  border-color: #ffffff;
}

.page-login__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-login__dark-section .page-login__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

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

.page-login__hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-login__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

/* Guide Grid */
.page-login__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__guide-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-login__guide-subtitle {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-login__guide-item p {
  color: #333333;
  margin-bottom: 20px;
}

.page-login__guide-item a {
  color: #017439;
  text-decoration: underline;
}

.page-login__guide-item a:hover {
  color: #005f2e;
}

.page-login__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.page-login__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__feature-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom font color for titles */
  margin-bottom: 15px;
}

.page-login__feature-card p {
  color: #f0f0f0;
}

.page-login__feature-card a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-login__feature-card a:hover {
  color: #fff;
}

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

.page-login__game-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-login__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-login__game-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-login__game-title a:hover {
  text-decoration: underline;
  color: #005f2e;
}

.page-login__game-card p {
  color: #555555;
}

.page-login__game-card p a {
  color: #017439;
  text-decoration: underline;
}

.page-login__game-card p a:hover {
  color: #005f2e;
}

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

.page-login__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__promo-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-login__promo-card p {
  color: #f0f0f0;
}

.page-login__promo-card a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-login__promo-card a:hover {
  color: #fff;
}

/* FAQ Section */
.page-login__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-login__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #f0f0f0;
}

.page-login__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #017439;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-login__faq-answer p {
  padding-bottom: 15px;
  margin: 0;
}

.page-login__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-login__faq-answer a:hover {
  color: #005f2e;
}