.page-beginner-guide {
  color: var(--text-main);
  background-color: var(--background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-beginner-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body padding-top handles header offset */
  background-color: var(--background);
}

.page-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-beginner-guide__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-beginner-guide__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-beginner-guide__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-beginner-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-beginner-guide__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.page-beginner-guide__btn-secondary:hover {
  background: var(--deep-green);
  transform: translateY(-2px);
}

.page-beginner-guide__section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-beginner-guide__section--alt-bg {
  background-color: var(--card-bg);
}

.page-beginner-guide__section--promotions {
  background-color: var(--deep-green);
}

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

.page-beginner-guide__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-beginner-guide__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-beginner-guide__text-block {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-beginner-guide__text-block--note {
  font-style: italic;
  color: var(--glow);
  text-align: center;
  margin-top: 30px;
}

.page-beginner-guide__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-beginner-guide__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-beginner-guide__image-left,
.page-beginner-guide__image-right {
  flex: 1;
  min-width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-beginner-guide__text-content {
  flex: 1;
  min-width: 300px;
}

.page-beginner-guide__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-beginner-guide__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-beginner-guide__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow);
  font-weight: bold;
}

.page-beginner-guide__list--ordered {
  list-style: decimal;
  padding-left: 25px;
}

.page-beginner-guide__list--ordered li {
  padding-left: 0;
  margin-bottom: 10px;
}

.page-beginner-guide__list--ordered li::before {
  content: none;
}

.page-beginner-guide__steps-grid,
.page-beginner-guide__info-cards-grid,
.page-beginner-guide__game-showcase-grid,
.page-beginner-guide__promotion-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-beginner-guide__step-card,
.page-beginner-guide__card,
.page-beginner-guide__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-beginner-guide__card-image,
.page-beginner-guide__step-image,
.page-beginner-guide__game-image {
  width: 100%;
  height: 200px; /* Consistent height for card images */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-beginner-guide__card-title,
.page-beginner-guide__step-title,
.page-beginner-guide__game-title {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-beginner-guide__card-description,
.page-beginner-guide__step-description,
.page-beginner-guide__game-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-beginner-guide__btn-text {
  display: inline-block;
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.page-beginner-guide__btn-text:hover {
  color: var(--gold);
}

.page-beginner-guide__card--promotion {
  text-align: left;
  display: block;
}

.page-beginner-guide__card--promotion .page-beginner-guide__card-image {
  height: 250px;
}

.page-beginner-guide__card--promotion .page-beginner-guide__card-title,
.page-beginner-guide__card--promotion .page-beginner-guide__card-description {
  padding: 0 20px;
  text-align: left;
}

.page-beginner-guide__support-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-beginner-guide__support-content .page-beginner-guide__text-content {
  flex: 1;
  min-width: 300px;
}

.page-beginner-guide__support-content .page-beginner-guide__image-right {
  flex: 1;
  min-width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-beginner-guide__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-beginner-guide__faq-question:hover {
  background-color: var(--deep-green);
}

.page-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
}

.page-beginner-guide__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-question {
  background-color: var(--deep-green);
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-toggle {
  content: '−';
}

.page-beginner-guide__section--conclusion {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-beginner-guide__hero-content {
    max-width: 768px;
  }

  .page-beginner-guide__image-left,
  .page-beginner-guide__image-right {
    min-width: 350px;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-beginner-guide__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

  .page-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-beginner-guide__section {
    padding: 40px 0;
  }

  .page-beginner-guide__container {
    padding: 0 15px;
  }

  .page-beginner-guide__section-title {
    font-size: clamp(1.6em, 7vw, 2em);
    margin-bottom: 30px;
  }

  .page-beginner-guide__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
  }

  .page-beginner-guide__text-block {
    font-size: 0.95em;
  }

  .page-beginner-guide__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-beginner-guide__image-left,
  .page-beginner-guide__image-right {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-beginner-guide__steps-grid,
  .page-beginner-guide__info-cards-grid,
  .page-beginner-guide__game-showcase-grid,
  .page-beginner-guide__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-beginner-guide__card-image,
  .page-beginner-guide__step-image,
  .page-beginner-guide__game-image {
    height: 180px;
  }

  .page-beginner-guide__card-title,
  .page-beginner-guide__step-title,
  .page-beginner-guide__game-title {
    font-size: 1.2em;
  }

  .page-beginner-guide__support-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-beginner-guide__support-content .page-beginner-guide__image-right {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ensure all images are responsive */
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-beginner-guide__section,
  .page-beginner-guide__card,
  .page-beginner-guide__container,
  .page-beginner-guide__hero-image-wrapper,
  .page-beginner-guide__video-section,
  .page-beginner-guide__video-container,
  .page-beginner-guide__video-wrapper,
  .page-beginner-guide__cta-buttons,
  .page-beginner-guide__button-group,
  .page-beginner-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific for video section if it were present */
  .page-beginner-guide video,
  .page-beginner-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-beginner-guide__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}