:root{--green:#0c3b4a;--yellow:#e8ffff;--bg:#0A0A1F;--white:#fff;--pink:#ffd1e6}
    *{box-sizing:border-box} html,body{height:100%} body{margin:0;color:var(--white);font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg)}
    
    .overlay{
        position:fixed;
        inset:0;
        background: rgba(0,255,0,0.12); /* lighter green to combine with blur */
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index:-1;
    }

    /* NAV */
    .nav-wrap{position:sticky;top:12px;z-index:10;display:flex;justify-content:center;padding:0 16px}
    .nav{display:flex;align-items:center;gap:16px;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);
          border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:10px 16px;box-shadow:0 8px 0 rgba(0,0,0,.35)}
    .brand{display:flex;align-items:center;gap:10px;font-weight:900;font-family:'Fredoka One', cursive;letter-spacing:1px;color:#000;background:var(--green);padding:8px 14px;border-radius:999px;text-decoration:none}
    .brand img{width:28px;height:28px;border-radius:50%}
    .menu{display:flex;gap:18px;margin-left:8px;flex-wrap:wrap}
    .menu a{color:#fff;text-decoration:none;font-weight:700;opacity:.95}
    .menu a:hover{opacity:1;text-decoration:underline}
    .cta{margin-left:8px;display:flex;gap:10px}
    .btn-small{padding:8px 12px;border-radius:999px;border:2px solid var(--green);color:var(--green);text-decoration:none;font-weight:800}
    .btn-small:hover{background:var(--green);color:#000}
    .mobile-toggle{display:none;background:transparent;border:0;color:#fff;font-size:20px;margin-left:8px}
    @media (max-width:820px){.menu, .cta{display:none} .mobile-toggle{display:block} .nav.open .menu, .nav.open .cta{display:flex;flex-direction:column;gap:10px;background:rgba(0,0,0,.85); position:absolute;top:64px;left:0;right:0;margin:0 auto;width:95%;border-radius:20px;padding:14px;border:1px solid rgba(255,255,255,.15)}}

    /* HERO */
    @keyframes pulseGlow {0% {text-shadow:4px 4px 0 #000} 50% {text-shadow:0 0 12px #000} 100% {text-shadow:4px 4px 0 #000}}
    .wrap{max-width:1160px;margin:0 auto;padding:0 16px}
    .hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding:120px 0 40px;text-align:left}
    .hero h1{font-family:'Fredoka One', cursive;font-size:clamp(28px, 4.6vw, 56px);line-height:1.03;margin:0 0 12px;color:var(--yellow);letter-spacing:2px;animation:pulseGlow 2.2s ease-in-out infinite}
    .subtitle{color:var(--yellow);opacity:.9;margin:0;font-size:clamp(18px, 2.8vw, 24px);font-weight:600;}
    .logo{width:min(420px,100%);display:block;margin:0;filter:drop-shadow(0 0 20px rgba(0,0,0,.4))}
    .btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:16px 0 10px}
    .btn{padding:12px 22px;border-radius:12px;border:2px solid var(--green);text-decoration:none;color:var(--green);font-weight:800}
    .btn:hover{background:var(--green);color:#000}

    /* ABOUT MOMO-STYLE */
    .about{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:start;margin:36px auto;padding:30px;border-radius:24px;background:var(--pink); color:#111; border:3px solid #000; box-shadow: 0 10px 0 #0003;}
    .about .heading{font-family:'Fredoka One', cursive;font-size: clamp(36px,5.5vw,64px);color:#fff;text-transform:uppercase; letter-spacing:2px; margin:0 0 12px; text-shadow:-4px 4px 0 #000, 0 0 0 #000;}
    .about .copy{line-height:1.7; font-size:16px}
    .about .copy h3{margin:18px 0 8px}
    .about .frame{border:6px solid #000;border-radius:24px;box-shadow:8px 10px 0 #0005;background:#fff;overflow:hidden}
    .about .frame img{display:block;width:100%;height:auto}

    @media (max-width:980px){ .about{grid-template-columns:1fr;} .about .frame{order:-1} }

    section.card{margin:36px auto;padding:22px;border-radius:18px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.12)}
    h2{font-family:'Fredoka One', cursive;margin:0 0 8px}
    .footer{text-align:center;padding:34px 0;opacity:.85}
  
    .hero-left{display:flex;flex-direction:column;justify-content:center;padding-left:90px;}
    .hero-right{display:flex;justify-content:center;align-items:center}
    @media (max-width: 900px){
      .hero{grid-template-columns:1fr;text-align:center}
      .hero-left{align-items:center;padding-left:0;}
      .logo{margin:20px auto 0}
    }
    
.tokenomics-section{
  width:100%;
  background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);
  padding: 90px 20px;
  border-radius: 24px;
  overflow: hidden;
  

  margin-top: 40px;

  box-shadow:0 10px 0 #0003;
  border: 3px solid #000;}
.tokenomics-details{
  display: flex;
  justify-content: center;
  gap:20px;
  margin-top:15px;
  flex-wrap: wrap;
  color: #fff;
}
.tokenomics-item{
  text-align: center;
  font-size: 20px;
}
.tokenomics-item strong{
  display:block;
  margin-top:15px;
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}


.community-section{
  width:100%;
  background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);
  padding: 40px 20px;
  border-radius: 24px;
  overflow: hidden;
  
  color:#fff;
  display:flex;
  justify-content:center;

  margin-top: 40px;

  box-shadow:0 10px 0 #0003;
  border: 3px solid #000;}
.community-content{
  display:flex;
  flex-direction: row;
  align-items:center;
  justify-content:center;
  gap:24px;
  width: min(100%, 960px);
  margin: 0 auto;
  text-align:center;
}
.community-image{
  max-width:380px;
  width:100%;
  height:auto;
  border-radius:16px;
  display:block;
  margin: 0 auto;
}
.community-actions{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 28px;
  column-gap: 20px;
  justify-items:center;
}
.community-btn{
  font-size:20px;
  padding:14px 28px;
  border-radius:999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px){ .community-content{ flex-direction: row; align-items:center; text-align:center; } }

.logo {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 820px) {
  .community-content { flex-direction: column; }
}

.community-image-wrapper { margin-left: -50px;   margin-bottom: 40px;
}

@media (max-width: 820px) {
  .community-image-wrapper { margin-left: 0;   margin-bottom: 40px;
}
}

/* --- GlobyRock v6: ABOUT section redesign --- */
.about-section.cosmic-violet{
  position: relative;
  padding: clamp(48px, 6vw, 96px)  min(4vw, 32px);
  background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);
  overflow: hidden;
}

.about-section .about-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  max-width: 900px;
  margin: 0 auto;
}

.about-section h1, 
.about-section h2,
.about-section h3{
  color: #e8ffff; /* cosmic yellow accent */
  letter-spacing: 0.5px;
  margin-bottom: .6em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.about-section .about-left p{
  color: #0c3b4a;
  font-weight: 600; /* uniform semi-bold */
  font-size: clamp(1.05rem, 1.1vw + .7rem, 1.25rem);
  line-height: 1.85;
  margin: 0 0 1.1em 0;
}

.about-section .about-left{
  min-width: 0;
}

.images-stack{
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 18px);
}

.about-image{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35), 0 2px 8px rgba(255,215,110,.08) inset;
  animation: floatY 6.5s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
}

.about-image-wrapper:nth-child(1) .about-image{ animation-delay: 0s; }
.about-image-wrapper:nth-child(2) .about-image{ animation-delay: .2s; }
.about-image-wrapper:nth-child(3) .about-image{ animation-delay: .4s; }
.about-image-wrapper:nth-child(4) .about-image{ animation-delay: .6s; }
.about-image-wrapper:nth-child(5) .about-image{ animation-delay: .8s; }
.about-image-wrapper:nth-child(6) .about-image{ animation-delay: 1.0s; }
.about-image-wrapper:nth-child(7) .about-image{ animation-delay: 1.2s; }
.about-image-wrapper:nth-child(8) .about-image{ animation-delay: 1.4s; }
.about-image-wrapper:nth-child(9) .about-image{ animation-delay: 1.6s; }

@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* subtle hover lift for desktop */
@media (hover:hover){
  .about-image:hover{
    box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(255,215,110,.22) inset;
  }
}

/* Responsive */
@media (max-width: 992px){
  .about-section .about-container{
    grid-template-columns: 1fr;
  }
  .images-stack{ order: 2; }
  .about-left{ order: 1; }
}

/* Ensure section contrast if there was previous pink bg */
.about-section{
  background-blend-mode: screen, screen, normal;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(0,0,0,.2);

  margin-top: 40px;
background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);}


.about-section .about-container{
  grid-template-columns: minmax(560px,1fr) min(34vw, 420px);
  max-width: 1280px;
}
.about-image{
  object-fit: cover;
  opacity: 1 !important;
  background: none !important;
}
.about-image-wrapper{ margin: 0; 
  margin-bottom: 24px; /* added spacing */
}
.about-section h1, .about-section h2 { margin-top: 0; }


.about-left{ display:flex; }
.about-left-inner{ display:flex; flex-direction:column; width:100%; }
.about-story{ flex: 1 1 auto; }
.about-motto{
  margin-top: auto;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px dashed rgba(255,215,110,.25);
}
.about-motto h3{
  color: #0c3b4a;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 0 0 .6em 0;
  text-transform: uppercase;
}
.about-motto p{
  color: #0c3b4a;
  font-weight: 700;
  margin: .2em 0;
}


/* Ensure About left sticks motto to bottom */
.about-left{ display:flex; }
.about-left-inner{ display:flex; flex-direction:column; width:100%; }
.about-story{ flex: 1 1 auto; }
.about-motto{ margin-top:auto; padding-top:16px; border-top:1px dashed rgba(255,215,110,.25); }


/* --- Motto Cosmic Card --- */
.about-left{ display:flex; }
.about-left-inner{ display:flex; flex-direction:column; width:100%; }
.about-story{ flex: 1 1 auto; }
.about-motto{ margin-top:auto; }

.motto-card-removed{
  background: radial-gradient(600px 200px at 20% 0%, rgba(255,215,110,.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,215,110,.25);
  box-shadow: 0 12px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 22px);
}

.motto-eyebrow-removed{
  color: #0c3b4a;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: .35em;
}

.motto-quote-removed{
  color: #e8ffff;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.2vw + .7rem, 1.28rem);
  line-height: 1.6;
}

.motto-author-removed{
  color: #0c3b4a;
  opacity: .9;
  font-weight: 700;
  margin-top: .35em;
}



/* Mobile tuning for ABOUT section: stack text then images cleanly */
@media (max-width: 768px){
  .about-section .about-container{
    grid-template-columns: 1fr;
  }
  .about-left,
  .about-left-inner{
    align-items: flex-start;
  }
  .about-section .heading{
    text-align:left;
    margin-bottom: 16px;
  }
  .about-section .copy{
    text-align:left;
  }
  .about-right.images-stack{
    margin-top: 32px;
  }
}
/* Motto plain text aligned to last image */
.about-left{ display:flex; }
.about-left-inner{ display:flex; flex-direction:column; width:100%; }
.about-story{ flex: 1 1 auto; }

.about-motto{
  margin-top: auto;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px dashed rgba(255,215,110,.22);
}

.about-motto h3{
  color: #0c3b4a;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
}

.about-motto p{
  color: #0c3b4a;
  font-weight: 700;
  margin: .15em 0;
  line-height: 1.6;
}
.community-image-wrapper { margin-left: -50px;   margin-bottom: 40px;
}

/* === CONTRACT SECTION (Cosmic full-width) === */
.contract-section{
  width:100%;
  background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);
  padding: 90px 20px;

  border-radius: 24px;
  overflow: hidden;
  margin-top: 40px;

  box-shadow:0 10px 0 #0003;
  border: 3px solid #000;}
.contract-inner{ max-width: 1200px; margin: 0 auto; text-align: center; }
.contract-title{
  font-weight: 900;
  letter-spacing: 2px;
  font-size: clamp(42px, 6vw, 76px);
  color: #ffffff;
  text-shadow: 0 5px 0 rgba(0,0,0,0.55);
  margin-bottom: 36px;

  text-shadow: -4px 4px 0 #000, 0 0 0 #000;}
.contract-bar{
  margin: 0 auto;
  height: 50px;
  width: min(96%, 900px);
  border-radius: 999px;
  background: #e8ffff;
  border: 6px solid #e8ffff;
  box-shadow: 0 10px 0 #000000, 0 16px 30px rgba(0,0,0,0.25);
}
@media (max-width: 520px){
  .contract-bar{ height: 58px; border-width: 7px; }
}

    .hero-left{display:flex;flex-direction:column;justify-content:center;padding-left:90px;}
    .hero-right{display:flex;justify-content:center;align-items:center}
    @media (max-width: 900px){
      .hero{grid-template-columns:1fr;text-align:center}
      .hero-left{align-items:center}
      .logo{margin:20px auto 0}
    }
    .community-image-wrapper { margin-left: -50px;   margin-bottom: 40px;
}


/* === Update: lower hero image 60px (applies to all viewports) === */
.hero-right .logo { margin-top: 60px; }

/* === Update: Square Community Button with Icon + Text === */
.community-btn {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1em;
}

.community-btn .btn-icon {
  font-size: 3em;
  margin-bottom: 10px;
}


/* === Update: SVG Twitter icon sizing for community button === */
.community-btn .btn-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 10px;
}

/* === Update: Center Twitter SVG and move button up by 60px === */
.community-btn {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1em;
  margin-top: -80px; /* Move the button 60px higher */
}

.community-btn .btn-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 10px;
  align-self: center; /* Ensure icon centers even if content shifts */
}

/* === Update: Neon Yellow Section Titles === */
.contract-title,
.about-title,
.tokenomics-title,
.community-title {
  color: #e8ffff;
  text-shadow: 0 0 10px rgba(255, 212, 71, 0.6);
}

.tokenomics-text { color: #e8ffff; }

.heading { color: #e8ffff; text-shadow: 0 0 10px rgba(255, 212, 71, 0.6); }

/* Force ABOUT heading to theme yellow */
.about .heading { color: #e8ffff !important; text-shadow: 0 0 10px rgba(255, 212, 71, 0.6) !important; }

.hero-title, .hero-subtitle { color: #e8ffff !important; text-shadow: 0 0 10px rgba(255, 212, 71, 0.6) !important; }

html{scroll-behavior:smooth}

.nav a { color: #e8ffff !important; text-shadow: 0 0 6px rgba(255, 212, 71, 0.5) !important; }

.community-btn .btn-text { color: #e8ffff !important; }

.btns .btn { color: #e8ffff !important; text-shadow: 0 0 6px rgba(255, 212, 71, 0.5) !important; }

/* Floating animation for GlobyRock image */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.community-image {
  animation: float 4s ease-in-out infinite;
}

/* Shake animation for community button */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.community-btn:hover {
  animation: shake 0.6s ease-in-out;
}


/* =========================
   ROADMAP SECTION
   ========================= */
.roadmap-section{
  width:100%;
  background: linear-gradient(180deg, #000000 0%, #031726 25%, #0c3b4a 55%, #0c3b4a 100%);
  padding: 60px 20px;
  border-radius: 24px;
  overflow: hidden;
  color:#fff;
  display:flex;
  justify-content:center;
  margin-top: 40px;
  box-shadow:0 10px 0 #0003;
  border: 3px solid #000;
}

.roadmap-subtitle{
  margin-top: 12px;
  margin-bottom: 30px;
  font-size: 18px;
}

.roadmap-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.roadmap-phase{
  background: rgba(5, 5, 20, 0.8);
  border-radius: 18px;
  padding: 20px 18px;
  border: 2px solid #000;
  box-shadow: 0 8px 0 rgba(0,0,0,0.4);
  text-align: left;
}

.roadmap-phase-title{
  font-size: 20px;
  margin-bottom: 12px;
  color: #e8ffff;
  text-shadow: 0 0 10px rgba(255, 212, 71, 0.6);
}

.roadmap-list{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
}

.roadmap-list li{
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.roadmap-list li::before{
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.4;
  color: #e8ffff;
  text-shadow: 0 0 6px rgba(255, 212, 71, 0.6);
}

/* Responsive layout for smaller screens */
@media (max-width: 900px){
  .roadmap-grid{
    grid-template-columns: 1fr;
  }
}

/* Extra mobile tuning for HERO title & subtitle */
@media (max-width: 520px){
  .hero{
    padding: 100px 16px 40px;
  }
  .hero-left{
    padding-left: 0;
    align-items: center;
  }
  .hero-title{
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }
  .hero-subtitle{
    font-size: 16px !important;
    line-height: 1.4;
    text-align: center;
  }
}

/* Mobile tuning for TOKENOMICS section */
@media (max-width: 520px){
  .tokenomics-section .contract-title{
    font-size: 30px;
    text-align: center;
  }
  .tokenomics-text{
    text-align: center;
  }
  .tokenomics-details{
    justify-content: center;
    text-align: center;
  }
}

/* Mobile unified section titles */
@media (max-width: 520px){
  .contract-title{
    font-size: 30px !important;
    text-align: center !important;
    line-height: 1.2;
  }
}

/* Mobile centering for COMMUNITY section image */
@media (max-width: 520px){
  .community-image-wrapper,
  .community-image{
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    text-align: center !important;
  }
}


/* Mobile tuning for COMMUNITY section */
@media (max-width: 600px){
  .community-image{
    max-width: 70% !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .community-image-wrapper{
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
  }
  .community-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100%;
    margin-top: 24px;
  }
  .community-btn{
    width: 90%;
    max-width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}


/* Final mobile override for COMMUNITY buttons to avoid overlap */
@media (max-width: 600px){
  .community-actions{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
  }
  .community-btn{
    width: 90%;
    max-width: 340px;
    height: auto;
    margin-top: 0;
    padding: 14px 20px;
    border-radius: 18px;
    flex-direction: column;
  }
}


@media (max-width: 768px){
  .community-actions{
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* --- FORCE COMMUNITY SPACING FIX --- */

.community-actions{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  row-gap:40px !important;
  column-gap:30px !important;
  justify-items:center !important;
}

.community-btn{
  margin-bottom:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}



/* --- FORCE COMMUNITY SPACING FIX v3 --- */
.community-actions{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  row-gap:60px !important;
  column-gap:40px !important;
  justify-items:center !important;
}

.community-btn{
  margin-bottom:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}



/* --- COMMUNITY BUTTON SHAPE + SYMMETRIC SPACING (v4) --- */
.community-btn{
  border-radius:14px !important;   /* rectangular with soft corners */
  padding:18px 32px !important;
  margin:0 !important;             /* reset margins */
}

.community-actions{
  display:grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  row-gap:50px !important;
  column-gap:50px !important;      /* symmetric spacing on all sides */
  justify-items:center !important;
  align-items:center !important;
}



.gallery-section .gallery-item{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
}
.gallery-section .gallery-image{
  display:block;
  width:100%;
  height:auto;
}






/* Gallery section */

.gallery-section .gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;        /* EXACT 15px between images */
  padding: 0;
  margin: 0 auto;
}
.gallery-section .gallery-item{
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.gallery-section .gallery-image{
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery subtitle */

.gallery-subtitle{
  margin-top: -18px;
  margin-bottom: 24px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  color: #e8ffff;
  text-shadow: 0 3px 0 rgba(0,0,0,0.6);
}





.about-section .about-left-inner{
  max-width: 900px;
  margin: 0 auto;
}

.about-section .heading{
  text-align: center;
}

.about-section .copy{
  text-align: left;
}


/* Legend section styled like TOKENOMICS */
.legend-section .legend-text{
  color: #ffffff;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.2rem);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 10px;
  text-align: center;
}

.legend-section .legend-text{
    max-width: 900px !important;
    padding: 0 10px !important;
}
.legend-section .contract-inner{
    max-width: 900px !important;
    margin: 0 auto !important;
}
.legend-section{
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Improve alignment for single X button */
.community-actions {
    display: flex !important;
    justify-content: flex-start !important;
    padding-left: 30px !important; /* shift toward right */
}

.community-btn {
    margin-left: 20px !important; /* fine-tune horizontal alignment */
}

/* Roadmap card layout */
.roadmap-cards{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:stretch;
  gap:22px;
  flex-wrap:nowrap;
  margin-top:20px;
}

.roadmap-card{
  background: rgba(0,0,0,0.35);
  border:2px solid #e8ffff;
  border-radius:18px;
  padding:20px;
  color:#fff;
  box-shadow:0 6px 0 rgba(0,0,0,0.35);
}

.roadmap-card h3{
  margin-top:0;
  margin-bottom:10px;
  color:#e8ffff;
  text-align:center;
  font-weight:800;
}

.roadmap-card p{
  margin:6px 0;
  text-align:center;
  line-height:1.6;
}

.footer-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:10px;
}
.footer-text{
  text-align:center;
  color:#ffffff !important;
}

#bg-video{
 position: fixed;
 top:0;
 left:0;
 width:100%;
 height:100%;
 object-fit: cover;
 z-index:-5;
}

/* Ensure no static image background remains */
body{
    background: none !important;
}

body{
    background: url('bg_image.avif') no-repeat center center fixed !important;
    background-size: cover !important;
}


/* Community button dark variant */
.community-btn {
  background: #031726 !important;
  border-color: #031726 !important;
  color: #e8ffff !important;
}


/* Footer buttons styled like COMMUNITY button */
.footer .btn {
  background: #031726 !important;
  border-color: #031726 !important;
  color: #e8ffff !important;
}

/* Mobile optimization for ROADMAP section */
@media (max-width: 768px) {
  .roadmap-section{
    display: block;
    padding: 40px 16px;
  }
  .roadmap-cards{
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .roadmap-card{
    width: 100%;
  }
}


/* Mobile nav menu fix */
@media (max-width: 768px){
  .nav ul{
    display: flex;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .nav ul li{
    width: 100%;
    text-align: left;
  }
}

/* --- Mobile NAV layout & ordering --- */
@media (min-width: 769px){
  .menu .nav-cta{
    display: none;
  }
}

@media (max-width: 768px){
  /* hide top-right CTA row on mobile, use menu versions instead */
  .nav .cta{
    display: none !important;
  }

  .nav.open .menu{
    width: 100%;
  }

  .nav.open .menu a{
    width: 100%;
    text-align: left;
  }

  .nav.open .menu .nav-cta{
    display: flex;
    justify-content: center;
  }
}



  .community-section .community-inner{
    text-align: center !important;
  }
}


/* Perfect center alignment for COMMUNITY button on mobile */
@media (max-width: 768px){
  .community-btn{
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    transform: translateX(0) !important;
  }
  .community-section .community-inner{
    text-align: center !important;
  }
}
