.page-newbie-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-newbie-guide__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
}

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

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

.page-newbie-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-newbie-guide__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-newbie-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, transform 0.2s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-newbie-guide__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

.page-newbie-guide__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-newbie-guide__button--secondary {
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #8B0000;
}

.page-newbie-guide__button--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-2px);
}

.page-newbie-guide__button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-newbie-guide__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-newbie-guide__steps-section, .page-newbie-guide__faq-section, .page-newbie-guide__cta-section {
  padding: 60px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background for sections */
  margin-bottom: 20px;
}

.page-newbie-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-newbie-guide__section-intro {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-newbie-guide__step-card {
  display: flex;
  align-items: center;
  background-color: #333333;
  border-radius: 12px;
  margin-bottom: 40px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide__step-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-newbie-guide__step-icon-wrapper {
  flex: 0 0 40%;
  padding: 20px;
  text-align: center;
}

.page-newbie-guide__step-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover; /* Ensure images fill their space nicely */
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-newbie-guide__step-content {
  flex: 1;
  padding: 20px;
}

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

.page-newbie-guide__step-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-newbie-guide__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-newbie-guide__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-newbie-guide__faq-item {
  background-color: #333333;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-newbie-guide__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
}

.page-newbie-guide__faq-item.active .page-newbie-guide__faq-question::after {
  content: '-';
}

.page-newbie-guide__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-newbie-guide__faq-item.active .page-newbie-guide__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  margin-top: 15px;
}

.page-newbie-guide__cta-section {
  text-align: center;
  background-color: #8B0000; /* Deep red for CTA section */
  color: #FFD700;
  padding: 80px 20px;
}

.page-newbie-guide__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
}

.page-newbie-guide__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-newbie-guide__hero-title {
    font-size: 2.8em;
  }
  .page-newbie-guide__hero-description {
    font-size: 1.1em;
  }
  .page-newbie-guide__step-card {
    flex-direction: column;
  }
  .page-newbie-guide__step-card:nth-child(even) {
    flex-direction: column;
  }
  .page-newbie-guide__step-icon-wrapper {
    padding: 10px;
    width: 100%;
    flex: none;
  }
  .page-newbie-guide__step-content {
    padding: 10px;
    width: 100%;
    flex: none;
  }
  .page-newbie-guide__step-title {
    font-size: 1.6em;
    text-align: center;
  }
  .page-newbie-guide__step-description {
    text-align: center;
  }
  .page-newbie-guide__button--small {
    margin: 0 auto;
    display: block;
  }
  .page-newbie-guide__section-title {
    font-size: 2em;
  }
  .page-newbie-guide__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-newbie-guide__hero-title {
    font-size: 2.2em;
  }
  .page-newbie-guide__hero-description {
    font-size: 1em;
  }
  .page-newbie-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-newbie-guide__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-newbie-guide__section-title {
    font-size: 1.8em;
  }
  .page-newbie-guide__cta-title {
    font-size: 2em;
  }
  .page-newbie-guide__faq-question {
    font-size: 1.2em;
  }
  /* Ensure images do not overflow on mobile */
  .page-newbie-guide img {
    max-width: 100%;
    height: auto;
  }
  .page-newbie-guide__step-icon {
    min-width: 200px; /* Still enforce minimum size */
    min-height: 200px; /* Still enforce minimum size */
  }
}

@media (max-width: 480px) {
  .page-newbie-guide__hero-title {
    font-size: 1.8em;
  }
  .page-newbie-guide__hero-description {
    font-size: 0.9em;
  }
  .page-newbie-guide__button {
    width: 90%;
  }
  .page-newbie-guide__section-title {
    font-size: 1.5em;
  }
  .page-newbie-guide__cta-title {
    font-size: 1.8em;
  }
  .page-newbie-guide__faq-question {
    font-size: 1.1em;
  }
}