/* FAQ Section with footer */
.section_faq {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #fff;
  color: #000;
  overflow: visible;
  padding-top: 5rem;
  box-sizing: border-box;
}

.faq_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem 2rem;
  box-sizing: border-box;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.faq_main_title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4rem;
  line-height: 1.2;
}

.faq_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  grid-auto-rows: 1fr;
  flex-grow: 1;
}

.faq_item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid #526EF9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.faq_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(82, 110, 249, 0.1);
}

.faq_question {
  font-size: 1.25rem;
  font-weight: 700;
  color: #526EF9;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq_answer {
  font-size: 1rem;
  color: #718096;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Special optimization for contract address display */
.faq_item:nth-child(3) .faq_answer {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #526EF9;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Official Links at bottom of page */
.home-official-links {
    position: relative;
    padding: 3rem 0;
    background: #ffffff;
    color: #1a1a1a;
    text-align: center;
    width: 100%;
}

.home-official-links .padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
}

.home-official-links .container-medium {
    max-width: 100%;
    margin: 0 auto;
}

.home-official-links .links_component {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 3rem;
}

.home-official-links .text-size-large {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-official-links .links_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
}

.home-official-links .links_social-link {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 70px;
    height: 70px;
}

.home-official-links .links_social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.home-official-links .links_social-link img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}


/* Footer inside FAQ Section */
.faq_footer {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding: 3rem 0 2rem 0;
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1a237e 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.faq_footer .footer_background_pattern {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,176C96,192,192,224,288,218.7C384,213,480,171,576,149.3C672,128,768,128,864,154.7C960,181,1056,235,1152,240C1248,245,1344,203,1392,181.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.faq_footer .footer_container {
  position: relative;
  z-index: 1;
}

.faq_footer .footer_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  place-self: center;
  align-items: center;
  margin-bottom: 2rem;
}

.faq_footer .footer_left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq_footer .footer_brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq_footer .footer_logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: optimizeQuality;
}

.faq_footer .footer_brand_name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.faq_footer .footer_join {
  display: flex;
  flex-direction: column;
}

.faq_footer .footer_title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}

.faq_footer .footer_right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.faq_footer .footer_social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq_footer .footer_social_item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 180px;
}

.faq_footer .footer_social_item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq_footer .footer_social_icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.faq_footer .footer_social_text {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
}

.faq_footer .footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

.faq_footer .footer_copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}


/* --- Responsive Styles --- */

@media screen and (max-width: 1024px) {
  .faq_main_title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
  
  .faq_grid {
    gap: 1.5rem;
  }
  
  .faq_item {
    padding: 1.5rem;
  }
  
  .faq_question {
    font-size: 1.1rem;
  }
  
  .faq_answer {
    font-size: 0.95rem;
  }
  
  .faq_footer .footer_content {
    gap: 3rem;
  }
  
  .faq_footer .footer_title {
    font-size: 2.2rem;
  }

  .home-official-links .links_component {
        gap: 2rem;
    }
}

@media screen and (max-width: 991px) {
    /* --- Links Component (mobile 2 rows 3 columns) --- */
    .home-official-links .links_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
   .section_faq {
     padding-top: 4rem;
   }
   
   .faq_container {
     padding: 3rem 1.5rem 2rem 1.5rem;
   }
   
   .faq_grid {
     grid-template-columns: 1fr;
     gap: 1.5rem;
   }
   
   .faq_main_title {
     font-size: 2.2rem;
     margin-bottom: 2.5rem;
   }
   
   .faq_item {
     padding: 1.5rem 1.25rem;
     border-radius: 12px;
   }
   
   .faq_question {
     font-size: 1.1rem;
     margin-bottom: 1.25rem;
     line-height: 1.4;
   }
   
   .faq_answer {
     font-size: 1rem;
     line-height: 1.6;
     word-wrap: break-word;
     word-break: break-word;
     overflow-wrap: break-word;
     /* Ensure long text (like contract addresses) wraps correctly */
     hyphens: auto;
     -webkit-hyphens: auto;
     -ms-hyphens: auto;
   }
   
   .faq_footer .footer_content {
     grid-template-columns: 1fr;
     gap: 2rem;
     text-align: center;
   }
   
   .faq_footer .footer_right {
     justify-content: center;
   }
   
   .faq_footer .footer_title {
     font-size: 2rem;
   }

    .home-official-links {
        padding: 3rem 1.5rem;
    }

    .home-official-links .links_component {
        flex-direction: column;
        gap: 1.5rem;
    }
     .home-official-links .text-size-large {
        font-size: 1.25rem;
        margin-bottom: 0;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
   .section_faq {
     padding-top: 3rem;
   }
   
   .faq_container {
     padding: 2rem 1rem 1.5rem 1rem;
   }
   
   .faq_main_title {
     font-size: 1.8rem;
     margin-bottom: 2rem;
   }
   
   .faq_item {
     padding: 1.25rem 1rem;
     border-radius: 10px;
   }
   
   .faq_question {
     font-size: 1rem;
     margin-bottom: 1rem;
     line-height: 1.3;
   }
   
   .faq_answer {
     font-size: 0.9rem;
     line-height: 1.5;
     word-wrap: break-word;
     word-break: break-all;  /* Force line break between characters, especially for long addresses */
     overflow-wrap: anywhere;
     /* Ensure long text like contract addresses is fully visible on small screens */
     white-space: pre-wrap;
     max-width: 100%;
     box-sizing: border-box;
   }
   
   .faq_footer {
     padding: 2rem 0 1.5rem 0;
   }
   
   .faq_footer .footer_title {
     font-size: 1.6rem;
   }
   
   .faq_footer .footer_social {
     width: 100%;
   }
   
   .faq_footer .footer_social_item {
     min-width: auto;
     width: 100%;
     max-width: 280px;
     margin: 0 auto;
   }

    .home-official-links {
        padding: 2.5rem 1rem;
    }

    .home-official-links .links_grid {
        gap: 1rem;
        max-width: 100%;
    }

    .home-official-links .links_social-link {
        padding: 0.75rem;
        width: 60px;
        height: 60px;
    }
    
         .home-official-links .links_social-link img {
         width: 35px;
         height: 35px;
     }
}

/* Extra-small screen optimization (below 320px) */
@media screen and (max-width: 320px) {
    .faq_container {
        padding: 1.5rem 0.75rem 1rem 0.75rem;
    }
    
    .faq_item {
        padding: 1rem 0.75rem;
    }
    
    .faq_main_title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .faq_question {
        font-size: 0.95rem;
    }
    
    .faq_answer {
        font-size: 0.85rem;
    }
    
    /* Special handling for contract addresses on extra-small screens */
    .faq_item:nth-child(3) .faq_answer {
        font-size: 0.8rem;
        letter-spacing: 0.2px;
        line-height: 1.4;
    }
    
    .home-official-links {
        padding: 2rem 0.75rem;
    }
    
    .home-official-links .links_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .home-official-links .links_social-link {
        width: 55px;
        height: 55px;
        padding: 0.5rem;
    }
    
    .home-official-links .links_social-link img {
        width: 30px;
        height: 30px;
    }
} 