.page-newbie-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from palette */
  background-color: var(--background, #08160F); /* Default background from palette */
  font-size: 16px;
}

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

.page-newbie-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  background-color: var(--background, #08160F);
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
}

.page-newbie-guide__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
}

.page-newbie-guide__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
}

.page-newbie-guide__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-newbie-guide__description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-newbie-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary,
.page-newbie-guide a[class*="button"],
.page-newbie-guide a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  text-align: center;
}

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

.page-newbie-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-newbie-guide__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-newbie-guide__btn-secondary:hover {
  background: var(--border, #2E7A4E);
  color: #ffffff;
}

/* General Section Styles */
.page-newbie-guide__introduction-section,
.page-newbie-guide__steps-section,
.page-newbie-guide__safety-section,
.page-newbie-guide__faq-section,
.page-newbie-guide__final-cta {
  padding: 60px 0;
  text-align: center;
}

.page-newbie-guide__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-newbie-guide__light-bg {
  background-color: var(--card-bg, #11271B); /* Card BG as light for contrast */
  color: var(--text-main, #F2FFF6);
}

.page-newbie-guide__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  color: var(--glow, #57E38D);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-newbie-guide__text-block {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Steps Section */
.page-newbie-guide__step-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__step-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-newbie-guide__list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 20px;
}

.page-newbie-guide__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 16px;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

/* Safety Section */
.page-newbie-guide__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__safety-list li {
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.05em;
  padding-left: 30px;
  position: relative;
}

.page-newbie-guide__safety-list li strong {
  color: var(--text-main, #F2FFF6);
}

.page-newbie-guide__safety-list li::before {
  content: '🛡️'; /* Shield emoji */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1.6;
}

/* FAQ Section */
.page-newbie-guide__faq-list {
  max-width: 800px;
  margin: 30px auto 0;
  text-align: left;
}

.page-newbie-guide__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-newbie-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

.page-newbie-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-newbie-guide__faq-question:hover {
  background-color: #1a3627; /* Slightly darker hover */
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-question {
  background-color: #1a3627;
}

.page-newbie-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-newbie-guide__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-newbie-guide__container {
    padding: 0 15px;
  }

  .page-newbie-guide__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small top padding for video/hero */
  }

  .page-newbie-guide__hero-content {
    padding: 20px 15px;
  }

  .page-newbie-guide__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

  .page-newbie-guide__description {
    font-size: 1em;
  }

  .page-newbie-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-newbie-guide__btn-primary,
  .page-newbie-guide__btn-secondary,
  .page-newbie-guide a[class*="button"],
  .page-newbie-guide a[class*="btn"] {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-newbie-guide__introduction-section,
  .page-newbie-guide__steps-section,
  .page-newbie-guide__safety-section,
  .page-newbie-guide__faq-section,
  .page-newbie-guide__final-cta {
    padding: 40px 0;
  }

  .page-newbie-guide__section-title {
    font-size: 1.5em;
  }

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

  .page-newbie-guide__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-newbie-guide__step-card,
  .page-newbie-guide__faq-item {
    padding: 20px;
  }

  .page-newbie-guide__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-newbie-guide__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all containers with images/videos are responsive */
  .page-newbie-guide__section,
  .page-newbie-guide__card,
  .page-newbie-guide__container,
  .page-newbie-guide__video-container,
  .page-newbie-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}