.page-new-player-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-new-player-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 20px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Brand primary color for hero background */
  padding-top: var(--header-offset, 120px); /* Desktop offset */
}

.page-new-player-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-new-player-guide__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login Font Color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-new-player-guide__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-new-player-guide__section {
  padding: 60px 0;
}

.page-new-player-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-new-player-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-new-player-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-new-player-guide__dark-bg .page-new-player-guide__section-title {
  color: #FFFF00; /* Register and Login Font Color */
}

.page-new-player-guide__light-bg .page-new-player-guide__section-title {
  color: #017439;
}

.page-new-player-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-new-player-guide__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-new-player-guide__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  height: 100%; /* Ensure cards have equal height */
}

.page-new-player-guide__light-bg .page-new-player-guide__card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-new-player-guide__card-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-new-player-guide__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login Font Color */
}

.page-new-player-guide__light-bg .page-new-player-guide__card-title {
  color: #017439;
}

.page-new-player-guide__card-text {
  font-size: 1em;
  text-align: justify;
  flex-grow: 1;
}

.page-new-player-guide__list {
  list-style-type: disc;
  text-align: left;
  margin: 0 auto 20px;
  padding-left: 25px;
  max-width: 80%;
  flex-grow: 1;
}

.page-new-player-guide__list li {
  margin-bottom: 10px;
}

.page-new-player-guide__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-new-player-guide__btn-primary:hover {
  background-color: #a00606;
}

.page-new-player-guide__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-new-player-guide__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-new-player-guide__game-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-new-player-guide__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-new-player-guide__game-title a {
  color: #FFFF00; /* Link color for game titles */
  text-decoration: none;
}

.page-new-player-guide__game-title a:hover {
  text-decoration: underline;
}

.page-new-player-guide__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-new-player-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-new-player-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-new-player-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-new-player-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-new-player-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-new-player-guide__faq-item.active .page-new-player-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-new-player-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: justify;
}

.page-new-player-guide__faq-item.active .page-new-player-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-new-player-guide__faq-answer p {
  margin-bottom: 15px;
}

/* Floating CTA Button */
.page-new-player-guide__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.page-new-player-guide__floating-btn {
  display: block;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-new-player-guide__floating-btn:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-new-player-guide__main-title {
    font-size: 3em;
  }
  .page-new-player-guide__section-title {
    font-size: 2em;
  }
  .page-new-player-guide__card-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-new-player-guide__hero-section {
    min-height: 450px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile offset */
  }
  .page-new-player-guide__main-title {
    font-size: 2.2em;
  }
  .page-new-player-guide__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-new-player-guide__section {
    padding: 40px 0;
  }
  .page-new-player-guide__container {
    padding: 0 15px;
  }
  .page-new-player-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-new-player-guide__content-grid,
  .page-new-player-guide__game-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-new-player-guide__card,
  .page-new-player-guide__game-card {
    padding: 20px;
  }
  .page-new-player-guide__card-image,
  .page-new-player-guide__game-image {
    height: 200px;
  }
  .page-new-player-guide__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-new-player-guide__list {
    max-width: 90%;
  }
  .page-new-player-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-new-player-guide__faq-answer {
    padding: 0 20px;
  }
  .page-new-player-guide__faq-item.active .page-new-player-guide__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-new-player-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-new-player-guide__section,
  .page-new-player-guide__card,
  .page-new-player-guide__container,
  .page-new-player-guide__content-grid,
  .page-new-player-guide__game-showcase {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-new-player-guide__floating-cta {
    bottom: 15px;
    right: 15px;
  }
  .page-new-player-guide__floating-btn {
    font-size: 1em;
    padding: 12px 20px;
  }

  /* Mobile button responsiveness */
  .page-new-player-guide__btn-primary,
  .page-new-player-guide__floating-btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    /* padding-left and padding-right are already set by container/button itself */
  }
  .page-new-player-guide__cta-buttons,
  .page-new-player-guide__button-group,
  .page-new-player-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}