
nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }
html { overflow-x: hidden; max-width: 100vw; }



@media (max-width: 600px) {
  .top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
    top: 0;
    right: 0;
    left: 0;
    padding: 8px;
    background: rgba(15, 23, 42, 0.8);
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-buttons-fixed a,
  .top-buttons-fixed button,
  .top-buttons-fixed select {
    flex: 1 1 45%;
    margin: 4px;
    font-size: 0.8em;
    padding: 6px;
    max-width: 150px;
  }

  .timeline {
    padding-left: 10px;
    padding-right: 10px;
  }

  .timeline-content {
    width: 90% !important;
    margin-left: auto;
    margin-right: auto;
    text-align: left !important;
  }

  #token a {
    display: inline-block;
    width: 45%;
    font-size: 0.95em;
    margin: 8px 2.5%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  
  .top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .top-buttons-fixed a,
  .top-buttons-fixed button,
  .top-buttons-fixed select {
    font-size: 0.8em;
    padding: 6px 8px;
    flex: 1 1 auto;
    max-width: calc(50% - 12px);
    white-space: nowrap;
  }

  
  .timeline-content {
    text-align: left !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 80% !important;
  }

 
  #token a {
    display: inline-block;
    width: 48%;
    margin: 1% 1%;
    font-size: 0.85em;
    padding: 10px;
    white-space: normal;
    text-overflow: initial;
  }
}

@media (max-width: 600px) {

}
logo-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
}

.zotx-logo {
  height: 50px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .zotx-logo {
    height: 40px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
	
  }
}

  body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #facc15;
  scroll-behavior: smooth;
  overflow-x: hidden;
 }

    header h1 {
      font-size: 2em;
      margin: 0;
    }
	
    header p {
      font-size: 1.3em;
      margin-top: 10px;
    }
    nav {
      background: #00695c;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative; 
  z-index: 10; 
    }
    nav a {
      color: white;
      padding: 12px 18px;
      text-decoration: none;
    }
    nav a:hover {
      background: #facc15;
    }
    section {
      padding: 60px 20px;
      max-width: 1000px;
      margin: auto;
    }
    
    .hero-btn {
      margin-top: 20px;
      display: inline-block;
      background: #f59e0b;
      color: white;
      padding: 12px 24px;
      border-radius: 5px;
      text-decoration: none;
    }
    .token-chart {
      width: 100%;
      max-width: 400px;
      margin: auto;
    }
    footer {
      background: #000;
      color: white;
      text-align: center;
      padding: 20px;
      font-size: 14px;
    }
    @media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav a {
    padding: 10px;
    width: 90%;
    text-align: center;
  }

      header h1 {
        font-size: 2em;
      }
      nav {
        flex-direction: column;
      }
    }
  

  
  
  .community-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.community-card {
  background: #1e293b;
  color: #facc15;
  padding: 20px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
  transition: transform 0.3s, background 0.3s;
}

.community-card:hover {
  transform: translateY(-5px);
  background: #334155;
}
  
.timeline-content h3 {
  color: #93c5fd; 
  font-size: 1.6em;
  font-weight: bold;
  text-shadow:
    0 0 6px #93c5fd,
    0 0 12px #60a5fa,
    0 0 24px #3b82f6,
    0 0 40px #e0f2fe,
    -1px -1px 2px #000,  
    1px -1px 2px #000,
    -1px 1px 2px #000,
    1px 1px 2px #000;
}

  
  


@media (max-width: 768px) {
  .parallax {
    background-size: cover !important;
  }
}



  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .overlay-text h1 {
    font-size: 3em;
    margin: 0;
  }
  .overlay-text p {
    font-size: 1.3em;
    margin-top: 10px;
  }

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%); 
}



header.parallax {
  animation: zoomInHeader 3s ease-out forwards;
  transform: scale(1);
}
@keyframes zoomInHeader {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 1; }
}


.overlay-text h1 {
  font-size: 3em;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
  text-shadow:
    0 0 8px #ffffff,
    0 0 16px #a5f3fc,
    0 0 32px #7dd3fc,
    0 0 48px #38bdf8,
    0 0 64px #0ea5e9,
    -2px -2px 2px #000,
    2px -2px 2px #000,
    -2px 2px 2px #000,
    2px 2px 2px #000;
}



h2 {
  text-align: center;
  font-size: 2.8em;
  font-weight: bold;
  color: #c084fc;
  text-shadow:
    0 0 2px #c084fc,
    0 0 4px #a855f7,
    0 0 6px #7e22ce;
	
}


  @media (max-width: 768px) {
    h2 {
      font-size: 2em;
      text-shadow:
    0 0 2px #c084fc,
    0 0 4px #a855f7,
    0 0 6px #7e22ce;
    }
  }
  
.subtitle-glow-blue {
   color: #7dd3fc;
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
    text-shadow: 0 0 4px rgba(125, 211, 252, 0.2);
    margin-top: 30px;
}

.x-highlight {
  color: #7dd3fc; 
  font-size: 1.5em;
  font-weight: 900;
  margin-left: 4px;
  text-shadow:
    0 0 6px #7dd3fc,
    0 0 12px #38bdf8,
    0 0 20px #0ea5e9;
  animation: pulseX 2s ease-in-out infinite;
}

@keyframes pulseX {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}





@keyframes pulseZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

#typed::after {
  content: '|';
  animation: blink 0.7s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.firefly {
  max-width: 100%;
  pointer-events: none;
  position: absolute;
  width: 8px;
  height: 8px;
  background: #facc15;
  border-radius: 50%;
  opacity: 0.4;
  box-shadow: 0 0 12px #facc15;
  animation: glow 3s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow {
  0% { box-shadow: 0 0 10px #facc15; }
  100% { box-shadow: 0 0 25px #facc15; }
}


.lang-switch {
  position: absolute;
  right: 20px;
  top: 10px;
}

.lang-switch select {
  padding: 6px 12px;
  background: #facc15;
  border: none;
  border-radius: 20px;
  color: #0f172a;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.lang-switch select:hover {
  background: #ffe66d;
}




.timeline {
  position: relative;
  margin: 40px auto;
  padding: 10px 0;
  max-width: 1000px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #facc15;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item[data-aos="fade-up"].aos-animate .timeline-icon,
.timeline-iteml[data-aos="fade-up"].aos-animate .timeline-icon {
  box-shadow: 0 0 16px 6px #fde68a;
  transform: scale(1.2);
  transition: all 0.4s ease-in-out;
}


.timeline-content {
  width: 45%;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  color: white;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgb(230 219 254 / 30%);
  position: relative;
  z-index: 1;
}

.timeline-iteml:nth-child(even) .timeline-content {
  text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  background: #facc15;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
}



#ambassador {
  background: rgba(255,255,255,0.03);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.ambassador-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.ambassador-card {
  background: #1e293b;
  border-left: 6px solid #facc15;
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  text-align: left;
  box-shadow: 0 0 10px rgba(250,204,21,0.2);
  transition: transform 0.3s;
}
.ambassador-card:hover {
  transform: scale(1.03);
}
.ambassador-card h3 {
  margin-top: 0;
  color: #facc15;
}
.ambassador-card ul {
  padding-left: 20px;
  line-height: 1.8;
}




.top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  gap: 10px;
}
.top-buttons-fixed a, .top-buttons-fixed button {
  background: #facc15;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
}

.top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
}
.top-buttons-fixed a,
.top-buttons-fixed button,
.top-buttons-fixed select {
  background: #facc15;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9em;
}

.firefly {
  max-width: 100%;
  pointer-events: none;
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 8px 3px #facc15;
  opacity: 0;
  animation: glow-fade 5s infinite ease-in-out;
}
@keyframes glow-fade {
  0% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1); }
}
  
   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  @media (max-width: 768px) {
    nav {
      display: none;
      flex-direction: column;
      background: rgba(0,0,0,0.95);
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      height: 100vh;
      padding-top:40px;
      z-index: 9998;
      transition: transform 0.3s ease;
    }

    nav a {
      color: white;
      padding: 14px;
      font-size: 1em;
      border-bottom: 1px solid #333;
    }

    nav.show {
      display: flex !important;
    }
  }
  
  
  .menu-blur::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.2);
  z-index: 9990;
}


   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  @media (max-width: 768px) {
    #burger-menu {
      background: rgba(15, 23, 42, 0.9);
      padding: 8px;
      border-radius: 10px;
      box-shadow: 0 0 6px rgba(0,0,0,0.3);
    }

    nav {
      display: none;
      flex-direction: column;
      background: linear-gradient(135deg, #1e293b, #0f172a);
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      height: 100vh;
      padding-top: 20px;
	
      z-index: 9998;
      transition: transform 0.3s ease;
      border-right: 2px solid #facc15;
    }

    nav a {
      color: #ffffff;
      padding: 14px;
      font-size: 1.2em;
      text-align: left;
      border-bottom: 1px solid rgba(250, 204, 21, 0.2);
      transition: background 0.3s;
    }

    nav a:hover {
      background: rgba(255, 255, 255, 0.05);
      color: #facc15;
    }

    nav.show {
      display: flex !important;
    }
	



    .top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
      flex-wrap: nowrap !important;
      flex-direction: row !important;
      justify-content: flex-end;
      overflow-x: auto;
      gap: 8px;
	  left: 0;
     right: 0;
    }

    .top-buttons-fixed a,
    .top-buttons-fixed button,
    .top-buttons-fixed select {
      flex-shrink: 0;
      font-size: clamp(10px, 3vw, 14px);
      white-space: nowrap;
      max-width: unset;
    }
  }
 
   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  @media (max-width: 768px) {
    #burger-menu {
      background: linear-gradient(135deg, #334155, #1e293b);
      padding: 10px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    nav {
      background: linear-gradient(135deg, #0f172a 10%, #1e293b 90%);
      border-right: 2px solid #facc15;
    }

    nav a {
      color: #f8fafc;
      font-weight: 600;
    }

    .top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
      background: rgba(30, 41, 59, 0.95);
      padding: 6px 10px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    }

    .top-buttons-fixed a,
    .top-buttons-fixed button,
    .top-buttons-fixed select {
      background: #facc15;
      color: #0f172a;
      font-weight: bold;
      border: none;
      border-radius: 20px;
      padding: 6px 12px;
      font-size: clamp(10px, 3vw, 14px);
    }

    .top-buttons-fixed select {
      background: linear-gradient(135deg, #fcd34d, #facc15);
    }
  }
 
   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  @media (max-width: 768px) {
    #burger-menu {
      backdrop-filter: blur(10px);
      background: rgba(51, 65, 85, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav {
      backdrop-filter: blur(12px);
      background: rgba(15, 23, 42, 0.85);
    }

    .top-buttons-fixed {
  max-width: 100%;
  box-sizing: border-box;
      backdrop-filter: blur(8px);
      background: rgba(30, 41, 59, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
  }

   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  #burger-menu {
    display: none;
  }

  @media (max-width: 768px) {
    #burger-menu {
      display: block;
    }

    nav {
      padding-top: 40px; 
    }
  }


  @media (min-width: 769px) {
    nav {
      backdrop-filter: blur(8px);
      background: rgba(0, 105, 92, 0.75); 
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    nav a {
      color: #ffffff;
      font-weight: 500;
    }

    nav a:hover {
      background: rgba(255,255,255,0.1);
    }
  }

   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

 @media (max-width: 768px) {
  .timeline-item {
    padding-left: 60px;
    position: relative;
  }

  .timeline-icon {
    position: absolute;
    left: 10px;
    top: 10px;
  }

  .timeline-content {
    margin-left: 0;
    padding-left: 10px;
    width: 100% !important;
  }

  .timeline::before {
    left: 20px;
    width: 3px;
  }
}
 
   nav a.active { color: #facc15 !important; font-weight: bold; text-decoration: underline; }

  @media (max-width: 768px) {
    .timeline::before {
      left: 92%; 
      display: block;
    }

    .timeline-icon {
      left: auto;
      right: 5%;
      transform: none;
      margin-bottom: 10px;
      background: #facc15;
      transition: box-shadow 0.4s ease, transform 0.3s ease;
    }

.timeline-item[data-aos="fade-up"].aos-animate,
.timeline-iteml[data-aos="fade-up"].aos-animate {
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.25);
}





    .timeline-item {
      flex-direction: column;
      align-items: flex-start;
      position: relative;
    }

    .timeline-content {
      width: 90% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-right: 50px;
    }
  }
  
  
    #logout-button {
    display: none;
    background: #f87171;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-left: 8px;
  }
 


 

}






/* 預設全部裝置都隱藏 */
.eco-desktop-menu {
  display: none;
}

/* 只有桌機才顯示 */
@media (min-width: 769px) {
  .eco-desktop-menu {
	 max-width: 100vw;
    overflow-x: auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 20px;
    background: #0f172a;
    justify-content: center;
	
  }
}


#features-highlight {
  padding: 60px 20px 20px;
  text-align: center;
  background: rgba(255,255,255,0.03);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.feature-box {
  background: #1e293b;
  border-radius: 88px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(250,204,21,0.1);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  background: #334155;
}

.feature-box img {
  width: 100%;
  max-width: 280px;
  margin-bottom: 15px;
}

.feature-box p {
  color: #facc15;
  font-weight: bold;
  font-size: 1em;
  margin: 0;
}


@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .feature-box img {
    max-width: 180px;
    height: auto;
  }

  .feature-box div {
    font-size: 0.85em;
    line-height: 1.4;
    margin-top: 8px;
    color: #e2e8f0;
  }

  .feature-box {
    padding: 16px;
  }
}

