.guide-section {
  position: relative;
  background-color: var(--black-3);
  color: var(--white);
  border: 1px solid #0c0e1233;
  border-radius: 20px;
  margin: 40px 20px;
  padding: 100px 30px;
  overflow: hidden;
}

/* Decorative red blur behind guide sections */
.guide-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background-color: #f4574526;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

/* Ensure content sits above decorative blur */
.guide-section>* {
  position: relative;
  z-index: 1;
}

.guide-section .section-title {
  /* Larger, more expressive section headings inspired by the homepage */
  color: var(--white);
  margin-bottom: 30px;
  font-family: Rubik, sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.guide-description {
  /* Larger description text to improve readability */
  font-size: 20px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* Cards layout for core gameplay */
.guide-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.guide-card {
  background-color: var(--black-2);
  border-radius: 20px;
  padding: 30px;
  flex: 1 1 calc(50% - 20px);
  min-width: 260px;
  position: relative;
  overflow: hidden;
}

.guide-card h3 {
  color: var(--primary);
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 16px;
  line-height: 1.5;
}

/* Red blur behind cards */
.guide-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background-color: #f4574526;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
}

.guide-card>* {
  position: relative;
  z-index: 1;
}

/* Content and image sections */
.guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.guide-content.reverse {
  flex-direction: row-reverse;
}

.guide-content p {
  flex: 1 1 300px;
  font-size: 18px;
  line-height: 1.5;
}

.guide-image {
  flex: 1 1 300px;
  max-width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

/* Gallery images for tracks section */
.guide-gallery {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.guide-gallery img {
  flex: 1 1 calc(33.333% - 20px);
  width: 100%;
  border-radius: 20px;
}
.bl {
  color: rgb(12, 14, 18)!important;
}
.h0 {
  height: 0px;
}
/* Tips list */
.guide-tips {
  list-style: none;
  padding-left: 0;
  font-size: 18px;
}

.guide-tips li {
  color: white;
  margin-bottom: 12px;
  position: relative;
  padding-left: 26px;
}

.guide-tips li p {
  color: white;
}

.guide-tips li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* Counters section */
.guide-counters {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.counter-item {
  background-color: var(--black-2);
  border-radius: 20px;
  padding: 40px 20px;
  width: 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.counter-item .guide-counter {
  font-size: 42px;
  color: var(--primary);
  font-weight: bold;
  display: block;
  margin-bottom: 12px;
}

.counter-item p {
  margin: 0;
  font-size: 16px;
}

/* Red blur behind counter items */
.counter-item::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background-color: #f4574526;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.counter-item>* {
  position: relative;
  z-index: 1;
}

/* Testimonials */
.guide-testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.guide-testimonial {
  background-color: var(--black-2);
  border-radius: 20px;
  padding: 25px;
  font-size: 16px;
  line-height: 1.5;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  color: var(--primary);
  font-size: 14px;
}

.guide-section {
  display: flex;
}

/* Accordion section inherits existing styles; ensure headers are coloured */
.accordion-title {
  color: var(--white);
  font-size: 18px;
  margin: 0;
}

.accordion-icon {
  color: var(--primary);
}

/* CTA section */
.guide-section:last-of-type {
  text-align: center;
}
.footer {
  background-color: var(--black-3);
  color: var(--white);
  border: 1px solid #0c0e1233;
  border-radius: 20px;
  margin: 40px 20px;
  padding: 100px 30px;
  overflow: hidden;
}
/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .guide-card {
    flex: 1 1 100%;
  }

  .guide-content {
    flex-direction: column;
  }

  .guide-gallery img {
    flex: 1 1 100%;
  }

  .guide-counters {
    flex-direction: column;
    align-items: center;
  }

  .counter-item {
    width: 100%;
  }

  .guide-testimonials {
    gap: 15px;
  }

  .navbar {
    background-color: var(--gainsboro);
  }
  .guide-section {
    display: flex;
    flex-direction: column;
  }
  .guide-section .section-title {
   font-size: 34px;
  }
}