/* style/beginner-guide.css */
.page-beginner-guide {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-beginner-guide__hero-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-beginner-guide__hero-container {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-beginner-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-beginner-guide__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-beginner-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to allow text to stand out */
  z-index: 1;
}

.page-beginner-guide__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-beginner-guide__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-beginner-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-beginner-guide__section-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-beginner-guide__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto;
  background-color: #1A202C;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-beginner-guide__cta-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-beginner-guide__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-beginner-guide__step-card:hover {
  transform: translateY(-10px);
}

.page-beginner-guide__step-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-beginner-guide__step-title {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-beginner-guide__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  text-align: justify;
}

.page-beginner-guide__step-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__step-cta:hover {
  background-color: #e6c200;
}

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

.page-beginner-guide__game-category-card {
  background-color: #1A202C;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__game-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-beginner-guide__category-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-beginner-guide__category-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  text-align: justify;
}

.page-beginner-guide__category-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-beginner-guide__category-cta:hover {
  background-color: #e6c200;
}

.page-beginner-guide__bonus-image, .page-beginner-guide__mobile-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-beginner-guide__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__faq-question {
  font-size: 1.3em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-beginner-guide__faq-answer {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-beginner-guide__final-cta-section {
  background-color: #FFD700;
  color: #1A202C;
  padding: 60px 20px;
  text-align: center;
}

.page-beginner-guide__final-cta-section .page-beginner-guide__section-title {
  color: #1A202C;
}

.page-beginner-guide__final-cta-section .page-beginner-guide__section-title::after {
  background-color: #1A202C;
}

.page-beginner-guide__final-cta-section .page-beginner-guide__section-paragraph {
  color: #1A202C;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide__final-cta-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__final-cta-button:hover {
  background-color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-beginner-guide__hero-title {
    font-size: 3em;
  }
  .page-beginner-guide__section-title {
    font-size: 2em;
  }
  .page-beginner-guide__hero-description,
  .page-beginner-guide__section-paragraph {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    overflow-x: hidden;
  }
  .page-beginner-guide__hero-section {
    padding: 60px 15px;
  }
  .page-beginner-guide__hero-title {
    font-size: 2.5em;
  }
  .page-beginner-guide__hero-description {
    font-size: 0.95em;
  }
  .page-beginner-guide__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-beginner-guide__content-wrapper {
    padding: 30px 15px;
  }
  .page-beginner-guide__section-title {
    font-size: 1.8em;
  }
  .page-beginner-guide__section-paragraph {
    font-size: 0.95em;
  }
  .page-beginner-guide__step-cards-grid,
  .page-beginner-guide__game-categories-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-beginner-guide__step-image, .page-beginner-guide__category-image {
    height: 180px;
  }
  .page-beginner-guide__step-title,
  .page-beginner-guide__category-title {
    font-size: 1.6em;
  }
  .page-beginner-guide__faq-question {
    font-size: 1.1em;
  }
  .page-beginner-guide__faq-answer {
    font-size: 0.9em;
  }
  .page-beginner-guide__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure all images within content area are responsive and don't overflow */
  .page-beginner-guide img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide__hero-title {
    font-size: 2em;
  }
  .page-beginner-guide__hero-description {
    font-size: 0.9em;
  }
  .page-beginner-guide__section-title {
    font-size: 1.6em;
  }
  .page-beginner-guide__step-image, .page-beginner-guide__category-image {
    height: 150px;
  }
  .page-beginner-guide__step-title,
  .page-beginner-guide__category-title {
    font-size: 1.4em;
  }
}