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

.page-beginner-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space below header */
  background-color: #FFFFFF;
}

.page-beginner-guide__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-beginner-guide__hero-title {
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-beginner-guide__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-beginner-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-beginner-guide__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-beginner-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-beginner-guide__button--register:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-beginner-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-beginner-guide__button--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-beginner-guide__hero-image-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-beginner-guide__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-beginner-guide__about-card {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__about-card-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-beginner-guide__about-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-beginner-guide__about-card-text {
  color: #666666;
  font-size: 0.95em;
}

.page-beginner-guide__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.page-beginner-guide__guide-step {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__guide-step--reverse {
  flex-direction: row-reverse;
}

.page-beginner-guide__guide-step-image {
  width: 400px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.page-beginner-guide__guide-step-content {
  flex-grow: 1;
}

.page-beginner-guide__guide-step-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-beginner-guide__guide-step-text {
  color: #666666;
  margin-bottom: 20px;
}

.page-beginner-guide__guide-step-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-beginner-guide__guide-step-text a:hover {
  text-decoration: underline;
}

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

.page-beginner-guide__game-card {
  display: block;
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide__game-card-image {
  width: 400px;
  height: auto;
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-beginner-guide__game-card-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-beginner-guide__game-card-text {
  color: #666666;
  font-size: 0.9em;
}

.page-beginner-guide__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-beginner-guide__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-beginner-guide__faq-list {
  margin-top: 40px;
}

.page-beginner-guide__faq-item {
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.page-beginner-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 5px;
}

.page-beginner-guide__faq-answer {
  font-size: 1em;
  color: #666666;
  padding-top: 10px;
}

.page-beginner-guide__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-beginner-guide__faq-answer a:hover {
  text-decoration: underline;
}

.page-beginner-guide__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  margin: 60px auto;
}

.page-beginner-guide__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-beginner-guide__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-beginner-guide__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-beginner-guide__button--large:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide__hero-title {
    font-size: 2.5em;
  }

  .page-beginner-guide__section-title {
    font-size: 2em;
  }

  .page-beginner-guide__guide-step {
    flex-direction: column;
    text-align: center;
  }

  .page-beginner-guide__guide-step--reverse {
    flex-direction: column;
  }

  .page-beginner-guide__guide-step-image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }

  .page-beginner-guide__hero-title {
    font-size: 2em;
  }

  .page-beginner-guide__hero-description {
    font-size: 1em;
  }

  .page-beginner-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-beginner-guide__button {
    width: 100%;
    max-width: 300px;
  }

  .page-beginner-guide__section {
    margin: 40px auto;
    padding: 30px 15px;
  }

  .page-beginner-guide__section-title {
    font-size: 1.8em;
  }

  .page-beginner-guide__section-description {
    font-size: 0.95em;
  }

  .page-beginner-guide__about-cards,
  .page-beginner-guide__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-beginner-guide__guide-step-title {
    font-size: 1.5em;
  }

  .page-beginner-guide__guide-step-text {
    font-size: 0.9em;
  }

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

  .page-beginner-guide__cta-title {
    font-size: 2.2em;
  }

  .page-beginner-guide__cta-description {
    font-size: 1.1em;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-beginner-guide img {
    max-width: 100%;
    height: auto;
  }
  .page-beginner-guide__hero-image,
  .page-beginner-guide__about-card-icon,
  .page-beginner-guide__guide-step-image,
  .page-beginner-guide__game-card-image {
    max-width: 100%;
    height: auto;
  }
}