/* GLOBAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0); /* Make transparent */
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none; /* Remove the divider */
  box-shadow: none;    /* Remove drop shadow */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}
.logo:hover img {
  transform: rotate(-10deg) scale(1.1);
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(to right, #00BFFF, #a000ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

nav ul li a:hover {
  background: rgba(160, 0, 255, 0.2);
  color: #00BFFF;
}

.menu-toggle {
  display: none;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
}

/* BUTTONS & SOCIALS */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-blue { background: #00BFFF; color: #000; }
.btn-white { background: #fff; color: #000; }
.btn-purple { background: #a000ff; color: #fff; }
.btn-dark { background: #333; color: #fff; }

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
  .hero-image {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 80%;
    max-width: 300px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons img {
    width: 40px;
    height: 40px;
  }

  nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(to right, #00BFFF, #a000ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEAM SECTION */
.team {
  margin-top: 3rem;
  text-align: center;
}

.team-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #222;
  padding: 2rem;
  border-radius: 12px;
  width: 450px;
  max-width: 100%;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.dev-name {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
}

.dev-nickname {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.3rem 0;
}

.linkedin-icon {
  width: 28px;
  height: 28px;
  margin: 0.5rem 0;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

/* UTILITY CARDS */
.utility {
  margin-top: 1rem;
  text-align: center;
}

.utility-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.utility-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.utility-cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-bottom: 3rem;
}

.utility-cards-single {
  display: flex;
  justify-content: center;
}

.util-card {
  width: 260px;
  height: 300px;
  perspective: 1000px;
  transition: none !important;
  transform: none !important;
}

.util-card.large {
  width: 260px;
  height: 300px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  z-index: 1;
}

.util-card:hover .card-inner {
  transform: rotateY(180deg);
  scale: 1; /* Make sure it doesn't scale */
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  background-color: #111;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  padding: 1rem;
}

.card-back h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card-back p {
  font-size: 0.95rem;
  color: #ccc;
}

.util-card.disabled {
  opacity: 1;
  cursor: not-allowed;
}

.util-card.large .card-front img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.card-inner {
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden; /* Redundant, but enforces rendering */
}

.util-card,
.tokenomics-card {
  transform-style: preserve-3d;
  overflow: visible;
  perspective: 1000px;
}


/* ABOUT SECTION */
.about {
  margin-top: 4rem;
  text-align: center;
  padding: 0 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  color: #ccc;
}

/* BINARY BACKGROUND */
.binary-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: transparent;
  overflow: hidden;
  opacity: 0.03; /* very subtle */
  font-family: monospace;
  font-size: 10px;
  white-space: pre;
  line-height: 1.2;
  animation: binaryScroll 30s linear infinite;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 21px
  );
}

/* BINARY BACKGROUND ENHANCED */
.binary-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  overflow: hidden;
  font-family: monospace;
}

.binary-column {
  position: absolute;
  top: -100%;
  white-space: nowrap;
  color: rgba(0, 255, 120, 0.2);  /* subtle green */
  font-size: 8px;                /* SMALLER text */
  line-height: 1.1;
  animation: fall 10s linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* PARTICLE BACKGROUND NETWORK LAYER */
.bg-layer {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#particle-network {
  width: 100%;
  height: 100%;
  display: block;
}

/* Shared Section Styles */
.about,
.tokenomics,
.utility,
.team {
  margin-top: 4rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #ccc;
}

/* Tokenomics List */
.token-list {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.token-list li {
  margin-bottom: 0.5rem;
}

/* GLOBAL */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn { from {opacity:0;transform:translateY(-10px);} to {opacity:1;transform:translateY(0);} }

.container { max-width:1200px; margin:0 auto; padding:2rem; }

/* HEADER */
header {
  position: sticky; top:0; z-index:999;
  backdrop-filter:blur(12px);
  background:rgba(0,0,0,0);
  padding:.8rem 2rem; display:flex; justify-content:space-between; align-items:center;
}
.logo { display:flex; align-items:center; }
.logo img { height:36px; margin-right:.5rem; transition:transform .3s; }
.logo:hover img { transform:rotate(-10deg) scale(1.1); }
.logo-text { font-size:1.6rem; font-weight:900;
  background: linear-gradient(to right, #00BFFF, #a000ff);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; letter-spacing:1px;
}
nav ul { list-style:none; display:flex; gap:1rem; margin:0; padding:0; }
nav ul li a {
  padding:.4rem 1rem; border-radius:999px; color:white; text-decoration:none;
  font-weight:600; font-size:.95rem;
  background: rgba(255,255,255,0.05); transition:all .3s;
}
nav ul li a:hover { background: rgba(160,0,255,0.2); color:#00BFFF; }
.menu-toggle { display:none; }

/* HERO */
.hero { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-top:2rem; }
.hero-content { flex:1 1 500px; max-width:600px; }
.hero-content h1 { font-size:3rem; margin-bottom:1rem; }
.hero-content p { font-size:1rem; margin-bottom:1.5rem; }
.hero-image img { max-width:300px; width:100%; }

/* BUTTONS & SOCIALS */
.cta-buttons { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:1rem; }
.btn { padding:.8rem 1.4rem; border-radius:999px; font-weight:bold; text-decoration:none; text-align:center; display:inline-block; }
.btn-blue { background:#00BFFF; color:#000; }
.btn-white { background:#fff; color:#000; }
.btn-purple { background:#a000ff; color:#fff; }
.btn-dark { background:#333; color:#fff; }
.social-icons { display:flex; gap:1rem; margin:1rem 0 2rem; }
.social-icons img { width:32px; height:32px; }

/* RESPONSIVE HERO */
@media (max-width:768px) {
  .hero-image { display:none; }
  .cta-buttons { flex-direction:column; align-items:center; }
  .cta-buttons .btn { width:80%; max-width:300px; }
  .social-icons { justify-content:center; }
  .social-icons img { width:40px; height:40px; }
  nav ul { display:none; }
  .menu-toggle { display:block; }
}

/* GRADIENT TEXT */
.gradient-text { background:linear-gradient(to right,#00BFFF,#a000ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* ABOUT SECTION */
.about { margin-top:4rem; text-align:center; padding:0 1rem; }
.section-title { font-size:2.5rem; margin-bottom:1rem; }
.about-text { font-size:1rem; max-width:800px; margin:0 auto 2rem; line-height:1.6; color:#ccc; }

/* REWARDS CARDS */
.util-card:hover .card-inner {
  transform: rotateY(180deg);
  animation: none !important;
  scale: 1 !important; /* Ensure no zooming */
}


.utility { margin-top:3rem; text-align:center; }
.utility .section-title { margin-bottom:2rem; }
.utility-cards-row { display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem; }
.util-card {
  width:260px; height:300px; perspective:1000px;
}
.card-inner {
  position:relative; width:100%; height:100%; border-radius:12px;
  transform-style:preserve-3d; transition:transform .6s;
}
.util-card:hover .card-inner { transform:rotateY(180deg); }
.card-front, .card-back {
  position:absolute; width:100%; height:100%; border-radius:12px;
  backface-visibility:hidden; overflow:hidden;
}
.card-front img { width:100%; height:100%; object-fit:cover; }
.card-back {
  background:#111; color:white; display:flex; flex-direction:column; justify-content:center; align-items:center;
  transform:rotateY(180deg); padding:1rem;
}
.card-back h3 { font-size:1.3rem; margin-bottom:.8rem; }
.card-back p { font-size:.95rem; color:#ccc; }
.util-card.disabled { opacity:1; cursor:not-allowed; }

/* TOKENOMICS SECTION */
.tokenomics {
  margin-top: 4rem;
  text-align: center;
  padding: 0 1rem;
}
.tokenomics-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
.tokenomics-card {
  width: 260px;
  height: 300px;
  perspective: 1000px;
}
.tokenomics-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.tokenomics-card:hover .card-inner {
  transform: rotateY(180deg);
}
.tokenomics-card .card-front,
.tokenomics-card .card-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: visible;
}
.tokenomics-card .card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tokenomics-card .card-back {
  background-color: #111;
  color: #fff;
  transform: rotateY(180deg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.tokenomics-card .card-back h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #00BFFF;
  text-align: center;
}
.tokenomics-card .card-back p,
.tokenomics-card .card-back ul {
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
.tokenomics-card .card-back ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  text-align: left;
}

/* REWARD STAT MECHANISM */
.rewards-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  padding: 2rem;
  max-width: 800px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #222;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

.stat-box {
  flex: 1;
}

.stat-box h4 {
  color: #00BFFF;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 1.5rem;
  color: #ccc;
  font-weight: bold;
}
.section-divider {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  margin: 4rem 0;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: rgba(0,191,255,0.2);
  animation: scan 3s infinite;
}
@keyframes scan {
  to { left: 100%; }
}

.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-footer {
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem 1rem;
  color: #aaa;
  text-align: center;
  font-size: 0.6rem;
  border-top: 1px solid rgba(0, 191, 255, 0.2);
  margin-top: 4rem;
}

.site-footer .disclaimer {
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

.site-footer .copyright {
  color: #777;
  font-size: 0.5rem;
}


.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}


/* Bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.bouncing {
  animation: bounce 2s infinite;
}

.dapp-inline-link:hover {
  transform: none;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 176, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 176, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 176, 255, 0);
  }
}

.btn-pulse {
  animation: pulse 1.5s infinite;
}

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

.hero-image img {
  animation: float 3s ease-in-out infinite;
}

.weekly-ama-section {
  margin: 4rem auto;
  text-align: center;
  padding: 0 1rem;
}

.ama-count {
  font-size: 1.2rem;
  color: white; /* Changed from #00BFFF */
  font-weight: bold;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

.youtube-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px; /* Tighter control for desktop */
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
  overflow: hidden;
}

.youtube-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.roadmap-item {
  position: relative;
}

.tao-tooltip {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 191, 255, 0.2);
  color: #00BFFF;
  padding: 0.8rem 1.2rem;
  border: 1px solid #00BFFF;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
  z-index: 999;
  display: none;
  text-align: center;
  font-family: 'Courier New', monospace;
}

.tao-tooltip .tao-blip {
  color: #ffffff;
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
