/* ============================= */
/*        GLOBAL RESET           */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Poppins, sans-serif;
  color: #111;
  line-height: 1.6;
  background: #111;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1150px;
  margin: auto;
  padding: 0 1rem;
}

/* ============================= */
/*           NAVBAR              */
/* ============================= */
.navbar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(115, 210, 216, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, border 0.3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(115, 210, 216, 0.7);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-weight: 500;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-links a.active {
  background: #73D2D8;
  color: #fff;
  box-shadow: 0 0 12px rgba(115, 210, 216, 0.4);
}
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.nav-socials {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.nav-socials a {
  display: inline-flex;
  font-size: 1.2rem;
  transition: 0.3s;
  color: #ffffff;
}
.nav-socials a:hover {
  color: #73D2D8;
  transform: scale(1.2);
}

/* ============================= */
/*            HERO               */
/* ============================= */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1rem 7rem;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('assets/bg.png') center/cover no-repeat;
  z-index: 1; /* ensure hero & bg.png are above stars and meteors */
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-sub {
  font-size: 1.45rem;
  margin-top: 1rem;
  color: #73D2D8;
  text-shadow: 0 0 6px #73D2D8, 0 0 12px #2BA5B0;
  max-width: 700px;
  line-height: 1.6;
}
.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.btn {
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}
.btn.primary {
  background: linear-gradient(135deg, #73D2D8, #2BA5B0);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(115, 210, 216, 0.4);
}
.btn.primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px rgba(115, 210, 216, 0.7);
}
.btn.secondary {
  background: linear-gradient(135deg, #fff, #73D2D8);
  color: #73D2D8;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(115, 210, 216, 0.25);
}
.btn.secondary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 20px rgba(115, 210, 216, 0.5);
}

/* ============================= */
/*           SECTIONS            */
/* ============================= */
.section {
  padding: 4rem 1rem;
  text-align: center;
}
.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #73D2D8;
}
.section-desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ============================= */
/*             GRIDS & CARDS     */
/* ============================= */
.info-grid,
.tokenomics-grid,
.utility-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.info-card,
.token-card,
.utility-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.info-card h3,
.token-card h3,
.utility-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #73D2D8;
}
.info-card p,
.token-card p,
.utility-card p {
  font-size: 1rem;
  color: #ffffff;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #73D2D8;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}
.info-card:hover .card-icon,
.token-card:hover .card-icon,
.utility-card:hover .card-icon {
  transform: scale(1.3);
  filter: drop-shadow(0 0 8px #73D2D8);
  color: #2BA5B0;
}
.info-card:hover,
.token-card:hover,
.utility-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 35px rgba(115, 210, 216, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================= */
/*           ROADMAP             */
/* ============================= */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}
.roadmap-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  padding: 1.6rem;
  border-left: 5px solid #73D2D8;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(115, 210, 216, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.roadmap-item .card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.roadmap-item:hover .card-icon {
  transform: scale(1.3);
  filter: drop-shadow(0 0 8px #73D2D8);
  color: #2BA5B0;
}
.roadmap-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(115, 210, 216, 0.3);
}

/* ============================= */
/*         DEX/CEX BUTTONS       */
/* ============================= */
.dex-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.dex-buttons .btn {
  color: #fff;
  background: rgba(115, 210, 216, 0.8);
}
.dex-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(115, 210, 216, 0.5);
}

/* ============================= */
/*           FAQ                 */
/* ============================= */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  color: white;
}
.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}
.faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 15px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.12);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 20px;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer p {
  color: white;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 15px;
}
.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ============================= */
/*           FOOTER              */
/* ============================= */
.footer {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 0;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.footer p {
  color: #ffffff;
}
.footer .socials a {
  font-size: 1.2rem;
  margin: 0 0.5rem;
  transition: 0.3s;
  color: #ffffff;
}
.footer .socials a:hover {
  color: #73D2D8;
  transform: scale(1.1);
}

/* ============================= */
/*        HERO LOGO & TAGLINE    */
/* ============================= */
.hero-logo img {
  width: 260px;
  max-width: 80%;
  filter: drop-shadow(0 0 25px #73D2D8);
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 1px;
  line-height: 1.8;
  text-shadow: 0 0 8px rgba(115, 210, 216, 0.7), 0 0 15px rgba(0, 0, 0, 0.25);
}
.hero-tagline span {
  display: inline-block;
  position: relative;
  padding: 0 0.6rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.hero-tagline span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #73D2D8;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.hero-tagline span:hover {
  color: #73D2D8;
  transform: translateY(-3px);
}
.hero-tagline span:hover::after {
  width: 100%;
}

/* ============================= */
/*        INTERACTIVE SPARKS     */
/* ============================= */
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #2BA5B0 0%, #73D2D8 100%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: sparkAnim 1s forwards;
  z-index: 15;
}
@keyframes sparkAnim {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); }
}

/* ============================= */
/*        STARS & SHOOTING STARS */
/* ============================= */
.stars-container, .shooting-stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0; 
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  opacity: 0.7;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out alternate;
}
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  overflow: visible;
  animation: shootingStarMove 5s linear forwards;
}
.shooting-star .trail {
  position: absolute;
  width: 120px;
  height: 2px;
  top: 50%;
  left: -120px;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
  border-radius: 2px;
  transform-origin: right center;
  filter: blur(2px);
}
@keyframes twinkle { 0% { opacity:0.2;} 50%{opacity:1;} 100%{opacity:0.2;} }
@keyframes shootingStarMove { 0%{transform:translate(0,0);opacity:1;} 100%{transform:translate(-700px,400px);opacity:0;} }

/* ============================= */
/*              FLAG             */
/* ============================= */
.hero-flag {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: auto;
  z-index: 15;
  transition: all 0.3s ease;
}

/* ============================= */
/*        CONSTELLATIONS          */
/* ============================= */
.constellations-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0; 
  overflow: visible;
}
.constellation {
  position: absolute;
  display: block;
  pointer-events: none;
  animation: slowRotate 60s linear infinite;
}
.constellation .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out alternate;
}
.constellation .line {
  position: absolute;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transform-origin: left center;
}
@keyframes slowRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ============================= */
/*        RESPONSIVE STYLES      */
/* ============================= */
@media (max-width: 768px) {
  .nav-links, .mobile-nav, .mobile-socials { display:flex; }
  .nav-links { display:none; flex-direction:column; background: rgba(0,0,0,0.7); right:0; top:70px; width:220px; padding:1rem; border-radius:12px; box-shadow:0 8px 30px rgba(0,0,0,0.1); color:#fff; transform:none; }
  .nav-links.active { display:flex; }
  .menu-btn { display:flex; }
  .nav-socials { display:none; }
  .info-grid, .tokenomics-grid, .utility-grid { grid-template-columns:1fr; }
  .hero-sub { font-size:1rem; }
  .dex-buttons { flex-direction:column; }
  .dex-buttons .btn { width:100%; }
  .hero { padding:5rem 1rem 8rem; }
  .hero-flag { width:40px; top:15px; left:15px; }
  .hero-logo img { width:180px; }
}
@media (max-width: 480px) {
  .hero { padding:5rem 1rem 9rem; }
  .hero-flag { width:30px; top:10px; left:10px; }
}
@media (min-width: 769px) {
  .mobile-nav { display:none; }
}

/* ============================= */
/*       HERO FLAME PARTICLES     */
/* ============================= */
.hero-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10; 
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 12px;
  background: linear-gradient(to top, #2BA5B0, rgba(43,165,176,0));
  border-radius: 50% 50% 0 0;
  filter: drop-shadow(0 0 8px #2BA5B0) drop-shadow(0 0 15px #73D2D8);
  opacity: 0.7;
  transform-origin: bottom center;
}

/* ============================= */
/*      HERO PARTICLE SPARKS      */
/* ============================= */
.hero-spark {
  position: absolute;
  width: 1px;
  height: 1px;
  background: #2BA5B0;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #2BA5B0) drop-shadow(0 0 10px #73D2D8);
  opacity: 0;
  pointer-events: none;
}
/* ============================= */
/*       HERO PLASMA GLOW        */
/* ============================= */
.hero-plasma-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(43,165,176,0.4) 0%, rgba(115,210,216,0.1) 70%, rgba(0,0,0,0) 100%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5; 
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

/* ============================= */
/*       HERO FLAME PARTICLES     */
/* ============================= */
.hero-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10; 
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 12px;
  background: linear-gradient(to top, #2BA5B0, rgba(43,165,176,0));
  border-radius: 50% 50% 0 0;
  filter: drop-shadow(0 0 8px #2BA5B0) drop-shadow(0 0 15px #73D2D8);
  opacity: 0.7;
  transform-origin: bottom center;
}

/* ============================= */
/*      HERO PARTICLE SPARKS      */
/* ============================= */
.hero-spark {
  position: absolute;
  width: 1px;
  height: 1px;
  background: #2BA5B0;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #2BA5B0) drop-shadow(0 0 10px #73D2D8);
  opacity: 0;
  pointer-events: none;
}

/* ============================= */
/*        HERO TYPEWRITER        */
/* ============================= */
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-top: 1rem;
  white-space: nowrap; 
}

.hero-tagline #typewriter {
  display: inline; 
  letter-spacing: 1px; 
}

.hero-tagline .cursor {
  display: inline-block;
  width: auto;
  font-weight: normal;
  line-height: 1em;
  color: #73D2D8;
  animation: blinkCursor 0.7s step-start infinite;
  margin-left: 0; 
}

@keyframes blinkCursor {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============================= */
/*      Titles Pulse Glow        */
/* ============================= */
.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #73D2D8;
  text-shadow: 0 0 8px #73D2D8, 0 0 12px #2BA5B0;
  animation: pulseGlowText 2.5s ease-in-out infinite;
}

@keyframes pulseGlowText {
  0%, 100% {
    text-shadow: 0 0 6px #73D2D8, 0 0 10px #2BA5B0;
  }
  50% {
    text-shadow: 0 0 16px #73D2D8, 0 0 24px #2BA5B0;
  }
}

/* Only for mobile */
@media (max-width: 768px) {
  .mobile-nav .mobile-socials {
    display: flex;
    gap: 10px;
    margin-left: 10px;
  }

  .mobile-nav .mobile-socials {
    display: flex;
    gap: 10px;
  }

  .mobile-nav .mobile-socials a {
    font-size: 18px;
    color: #fff;
  }

  #menuBtn {
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .mobile-socials {
    position: absolute; 
    right: 70px;   
    display: flex;
    gap: 10px;
  }
}
