/* BACKGROUND + BASE COLORS */
body {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    background: radial-gradient(circle at top left, #002b49, #230052, #1a0036);
    color: #fff;
}

/* PAGE CONTAINER */
.faq-container {
    
    width: 90%;
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
}

/* TITLE */
.faq-title {
    margin-top:150px;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff, 0 0 25px #00eaff;
}

/* ACCORDION BOX */
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

/* QUESTION */
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    color: #39ff14;
    text-align: left;
    text-shadow: 0 0 8px #39ff14;
}

.faq-question:hover {
    background: rgba(255,255,255,0.08);
}

/* EXPAND SIGN */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 28px;
    color: #00eaff;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
    transition: max-height 0.4s ease-out, padding 0.3s;
}

/* OPEN ACCORDION */
.faq-item.active .faq-answer {
    max-height: 1000px; /* enough for long answers */
    padding: 20px;
}


.faq-item.active .faq-question::after {
    content: "-";
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent dark background */
    color: #00eaff;                 /* neon blue text */
    text-shadow: 0 0 8px #00eaff, 0 0 20px #00eaff;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
}
/* ========================= */
/* TABLET DEVICES (≤ 768px) */
/* ========================= */
@media (max-width: 768px) {

    .faq-container {
        width: 95%;
        margin: 80px auto;
    }

    .faq-title {
        margin-top: 120px;
        font-size: 1.7rem;
        letter-spacing: 1.5px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }

    .faq-question::after {
        font-size: 24px;
        right: 15px;
    }

    .faq-answer {
        font-size: 16px;
        line-height: 22px;
    }

    footer {
        font-size: 16px;
        padding: 25px 15px;
    }
}

/* ========================= */
/* MOBILE DEVICES (≤ 480px) */
/* ========================= */
@media (max-width: 480px) {

    .faq-container {
        width: 92%;
        margin: 60px auto;
    }

    .faq-title {
        margin-top: 100px;
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .faq-question {
        font-size: 15px;
        padding: 14px;
    }

    .faq-question::after {
        font-size: 22px;
        right: 12px;
    }

    .faq-answer {
        font-size: 15px;
        line-height: 22px;
        padding: 0 14px;
    }

    .faq-item.active .faq-answer {
        padding: 14px;
    }

    footer {
        font-size: 15px;
        padding: 20px 10px;
    }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 40px; /* decreased height */
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  
  /* Subtle glass effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* straight bottom line */
  border-radius: 0; /* remove round edges */
}

/* Background when scrolled */
.navbar.scrolled {
  background: rgba(40, 40, 40, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px; /* exact height of navbar */
}

/* Logo */
.nav-logo img {
  height: 60px; /* slightly smaller logo to fit reduced navbar */
  width: 70px;
  
}

/* Nav Links */
.nav-links {
  font-family: 'Koulen', sans-serif;
  list-style: none;
  display: flex;
  gap: 30px;
  flex: 1; /* take remaining space opposite logo */
  justify-content: center; /* center links horizontally */
  align-items: center; /* center links vertically */
  margin: 0;
  padding: 0;
  margin-left:350px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #a08be0;
}


/* Dropdown parent */
.dropdown {
  position: relative;
}

/* White dropdown box */
.dropdown-menu {
  font-family: 'Koulen', sans-serif;
  position: absolute;
  top: 110%;
  right: 0; /* aligns nicely under Earn Whitelist */
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  display: none;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #100853;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.dropdown-menu li a:hover {
  background: #f2f4f7;
  color: #6c5ce7; /* subtle purple highlight */
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}
/* Hamburger */

/* Hamburger default hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 10000; /* on top of everything */
  margin-top:-20px;

 
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 3px;
  transition: all 0.3s ease;
  
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 425px) {
  .image-label {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 375px) {
  .image-label {
    font-size: 1rem;
     line-height: 1.5rem;
  }
}

@media (max-width: 320px) {
  .image-label {
    font-size: 1rem;
     line-height: 1.5rem;
  }
}
/* Mobile adjustments for spacing */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 15px 40px; /* reduce top & bottom padding */
  }

  .about-main {
    padding: 35px 10px; /* reduce main section padding */
    gap: 30px; /* reduce gap between text and image */
  }

  .about-blockzillas {
    padding: 40px 15px; /* reduce blockzillas section padding */
  }

  .sub-heading {
    margin: 20px 0 8px; /* reduce heading margin */
  }

  .about-text p,
  .aboutbz-text p,
  .aboutbz-text ul li {
    margin-bottom: 12px; /* reduce paragraph spacing */
    line-height: 1.5; /* optional for tighter text */
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #431871; /* full purple */
    gap: 40px;
    padding: 0;
    margin: 0;
    display: none; /* hidden by default */
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: #a08be0; /* highlight on hover */
  }

  .hamburger {
    display: flex;
    margin-left: auto; /* right side */
  }
}

/* Mobile nav links */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between; /* ensures logo left, hamburger right */
    align-items: center;
  }

}


/* Medium Devices (Tablet) */
@media (max-width: 1024px) {
  .navbar {
    padding: 8px 30px;
  }

  .nav-container {
    height: 45px;
  }

  .nav-logo img {
    height: 50px;
    width: auto;

  }

  .nav-links {
    gap: 30px;
    margin-left: 0; /* remove fixed margin for better centering */
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Small Devices (Mobile) */
@media (max-width: 768px) {
  .navbar {
    padding: 6px 20px;
  }

  .nav-container {
    flex-direction: column; /* stack logo and links */
    height: auto;
    gap: 8px;
  }

  .nav-logo img {
    height: 45px;
    width: auto;
    margin-left:-300px;
    align-items: center;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap; /* wrap links if they exceed screen width */
    justify-content: center;
    margin-left: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
  .navbar {
    padding: 5px 15px;
  }

  .nav-logo img {
    height: 40px;
    width: auto;
    margin-left:-150px;
    margin-top:10px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

/* =====================================================
   BLOCKZILLAS FAQ — SITE THEME
   ===================================================== */
body {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(0,255,204,.18), transparent 32%), radial-gradient(circle at 85% 30%, rgba(157,55,255,.22), transparent 34%), linear-gradient(135deg, #071923 0%, #142d45 42%, #32105d 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.faq-container {
  position: relative;
  z-index: 1;
  width: min(92%, 980px);
  margin: 0 auto;
  padding: 150px 0 90px;
  text-align: left;
}
.faq-container::before {
  content: "";
  position: absolute;
  top: 105px;
  left: 50%;
  width: 360px;
  height: 180px;
  background: rgba(0,255,204,.14);
  filter: blur(90px);
  transform: translateX(-50%);
  pointer-events: none;
}
.faq-kicker {
  position: relative;
  margin: 0 0 14px;
  color: #00ffcc;
  font: 700 12px/1.4 "DM Sans", sans-serif;
  letter-spacing: 5px;
  text-align: center;
}
.faq-title {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 0 24px rgba(0,255,204,.4);
}
.faq-intro {
  position: relative;
  max-width: 670px;
  margin: 24px auto 55px;
  color: #c8d9e9;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: center;
}
.faq-item {
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(13,45,62,.82), rgba(55,20,91,.72));
  border: 1px solid rgba(118,226,255,.18);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(3,8,22,.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#00ffcc, #8d45ff);
  opacity: 0;
  transition: opacity .25s ease;
}
.faq-item:hover, .faq-item.active {
  border-color: rgba(0,255,204,.48);
  box-shadow: 0 16px 45px rgba(0,0,0,.28), 0 0 24px rgba(0,255,204,.08);
  transform: translateY(-2px);
}
.faq-item.active::before { opacity: 1; }
.faq-question {
  min-height: 68px;
  padding: 22px 72px 22px 26px;
  box-sizing: border-box;
  color: #f4fbff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: none;
  transition: color .25s ease, background .25s ease;
}
.faq-question:hover, .faq-item.active .faq-question { color: #00ffcc; background: rgba(255,255,255,.035); }
.faq-question::after {
  content: "+";
  top: 50%;
  right: 25px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,255,204,.42);
  border-radius: 50%;
  color: #00ffcc;
  font-size: 24px;
  line-height: 31px;
  text-align: center;
  text-shadow: none;
  transform: translateY(-50%);
  transition: color .25s ease, background .25s ease, transform .3s ease;
}
.faq-item.active .faq-question::after {
  content: "−";
  color: #081d27;
  background: #00ffcc;
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  padding: 0 26px;
  color: #c8d9e9;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  transition: max-height .45s ease, padding .3s ease;
}
.faq-item.active .faq-answer { max-height: 1000px; padding: 4px 72px 26px 26px; }
.faq-answer a { color: #00ffcc !important; }
footer {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 28px 20px;
  background: rgba(3,8,22,.72);
  border-top: 1px solid rgba(0,255,204,.16);
  color: #aebfd0;
  font-size: 15px;
  text-shadow: none;
}
@media (max-width: 768px) {
  .faq-container { width: min(92%, 680px); margin: 0 auto; padding: 120px 0 65px; }
  .faq-title { margin: 0; }
  .faq-intro { margin: 20px auto 38px; font-size: .95rem; }
  .faq-kicker { letter-spacing: 3px; }
  .faq-question { min-height: 62px; padding: 19px 62px 19px 20px; font-size: .98rem; }
  .faq-question::after { right: 18px; width: 31px; height: 31px; font-size: 21px; line-height: 28px; }
  .faq-item.active .faq-answer { padding: 2px 20px 22px; }
  .faq-answer { padding: 0 20px; font-size: .94rem; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-question, .faq-question::after, .faq-answer { transition: none; }
}

/* FAQ-specific visual direction: BlockZillas colors without copying the index. */
body {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(0, 255, 204, 0.13), transparent 34%),
    radial-gradient(ellipse at 92% 18%, rgba(143, 62, 255, 0.18), transparent 38%),
    #0b1426;
}

body::before {
  background: linear-gradient(115deg, rgba(0, 255, 204, 0.025), transparent 38%, rgba(143, 62, 255, 0.04));
  background-size: auto;
  mask-image: none;
}

.faq-container::before {
  width: 520px;
  height: 130px;
  background: linear-gradient(90deg, rgba(0, 255, 204, 0.09), rgba(143, 62, 255, 0.12));
  filter: blur(75px);
}

.faq-kicker {
  color: #62e8d0;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 4px;
}

.faq-title {
  color: #ffffff;
  font-family: "Koulen", sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 4px;
  text-shadow: none;
}

.faq-intro {
  color: #aebed1;
  font-size: 1.08rem;
}

.faq-item {
  background: rgba(20, 32, 58, 0.82);
  border-color: rgba(131, 151, 191, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item:nth-of-type(even) {
  background: rgba(39, 25, 70, 0.72);
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(98, 232, 208, 0.48);
}

.faq-question {
  color: #f2f6fb;
  font-weight: 600;
}

.faq-question:hover,
.faq-item.active .faq-question {
  color: #62e8d0;
}

.faq-question::after {
  border-color: rgba(98, 232, 208, 0.42);
  color: #62e8d0;
}

.faq-item.active .faq-question::after {
  color: #0b1426;
  background: #62e8d0;
}

.faq-answer {
  color: #b9c7d8;
}
