* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "CustomFont", "Space Mono", monospace;
}
.background {
  position: fixed;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.icons-container {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(238, 245, 245, 0.3);
}


.menu-container {
  position: relative;
}

.menu-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: 900;
}

.nav-content {
  position: static;
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 1rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.nav-link {
  color:black;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: rgb(61, 63, 83);
  scale: 1.12;
}
.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-align: center; /* centers the content inside */
  margin: 0 auto; /* centers the container on the page */
  height: 120vh;
}
.agent-image {
  margin-top: -90px;
  max-width: 350px;
  filter: drop-shadow(0 0 20px black);
}
.agent-title {
  margin-top: -40px;
}
.content p {
  font-size: 1.7rem;
  color: rgb(207, 203, 203);
  margin-top: -20px;
}
.story-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  gap: 100px;
  z-index: 2;
  
}
.story-text-cont {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 3rem 4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(77, 213, 255, 0.1);
  border: 1px solid rgba(77, 213, 255, 0.1);
}
.about-section {
  background: linear-gradient(180deg, #1b1b1b 0%, #f4f0ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110vh;
  margin-top: -5px;
}
.story-text {
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}
.story-text h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
}
.story-text p {
  font-size: 18px;
  color: black;
}
.story-image {
 max-width: 350px;
}
.wave-effect {
  margin-top: -230px;
  color: #4b4a4a;
}
.gallery-container {
  margin-bottom: 30px;
}
.gallery-container h1 {
  color: white;
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.gallery {
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
}
.gallery img {
  max-width: 200px;
  height: 200px;
  border: 2px solid black;
  border-radius: 20px;
  margin: 10px;
  box-shadow: 0px 0px 10px #000000;
}
.tokenomics-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, #f4f0ec 0%, #1b1b1b 100%);
  margin-top: -20px;
}

.tokenomics-container h2 {
  font-size: 3.5rem;
  color: #000000;
  letter-spacing: 10px;
  font-weight: 900;
  margin-top: 50px;
}

.tokenomics-container imgs {
  margin-top: -80px;
}
.token-grid {
  gap: 1rem;
  margin: 2px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin-top: -30px;
}
.outline h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #b6b4b4;
}
.outline p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #f4f0ec;
}
.howtobuy-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  font-family: "CustomFont", "Space Mono", monospace;
}
.howtobuy-container h1 {
  font-size: 5.5rem;
  color: white;
  text-align: center;
}
.howtobuy-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.howtobuy-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  top: 0;
  background: linear-gradient(to bottom, transparent, white, transparent);
  z-index: 1;
}
.howtobuy-phase {
  color: #c5e3ed;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(77, 213, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(2, 35, 45, 0.3);
  box-shadow: 0 0 30px rgba(77, 213, 255, 0.1);
  transform: translateY(-5px);
}
.glass-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-card ul li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  transition-delay: calc(var(--li-index) * 0.1s);
}
.howtobuy-item.visible .glass-card ul li {
  opacity: 1;
  transform: translateY(0);
}
.glass-card ul li::before {
  content: "•";
  color: #c5e3ed;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}
.glass-card a {
  color: rgb(182, 196, 245);
}
.howtobuy-item {
  display: flex;
  justify-content: flex-start;
  margin: 6rem 0;
  width: 45%;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.howtobuy-item.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Increased spacing for left items (Phase 1 & 3) */
.howtobuy-item.left {
  margin-right: auto;
  margin-left: 0; /* Removed left margin to push card farther left */
  right: 60px; /* Push the entire item to the left */
}

/* Increased spacing for right items (Phase 2) */
.howtobuy-item.right {
  margin-left: auto;
  margin-right: 0; /* Removed right margin to push card farther right */
  left: 60px; /* Push the entire item to the right */
}

.howtobuy-item::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgb(2, 16, 36);
  border: 3px solid white;
  border-radius: 50%;
  top: 30px;
  z-index: 2;
  box-shadow: 0 0 20px white;
  transition: all 0.3s ease;
}

/* Repositioned circles for left items */
.howtobuy-item.left::before {
  right: -62px; /* Moved circle more to the left */
}

/* Repositioned circles for right items */
.howtobuy-item.right::before {
  left: -62px; /* Moved circle more to the right */
}

.roadmap-cont {
  padding: 4rem 2rem;
  text-align: center;
  background: #838181;
}

.roadmap-cont h2 {
  font-size: 3.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: black;
  letter-spacing: 10px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin-top: 2rem;
}

.timeline li {
  background: var(--accent-green);
  padding: 1rem;
  border-radius: 10px;
  color: white;
  font-size: 1.2rem;
}
footer {
  background: #575757;
  text-align: center;
  padding: 1rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 1rem;
}
footer img {
  height: 40px;
}
.contract-address {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: -70px;
}
.contract-address h2 {
  font-size: 3rem;
  font-weight: 900;
  color: white;
}
.contract-address p {
  font-size: 2rem;
  font-weight: 900;
  color: white;
}
/* MOBILE */
@media screen and (max-width: 768px) {
  .icons-container {
    gap: 3rem;
  }
  .menu-icon {
    display: flex;
  }

  .nav-content {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 250px;
    padding: 1rem;
    flex-direction: column;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-content.active {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    gap: 2rem;
  }
  .nav-link {
    border-bottom: 1px solid black;
  }
  .icons-container {
    gap: 3rem;
  }
  .agent-image {
    margin-top: -120px;
    max-width: 300px;
  }
  .agent-title {
    margin-top: 5px;
    max-width: 400px;
  }
  .content p {
    font-size: 1rem;
    margin-top: 10px;
  }
  .story-content {
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
    max-width: 300px;
  }
  .story-text-cont {
    padding: 2rem;
    margin: 0 auto;
    max-width: 300px;
    position: relative;
    z-index: 3;
   margin-top: 9rem;
  }
  .story-text {
    text-align: center;
  }

  .story-text h1 {
    font-size: 2rem;
  }
  .story-image {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-left: -200px;
    margin-right: -120px;
    margin-top: -100px;
    margin-bottom: 80px;
  }
  .about-section {
    height: 235vh;
  }
  .gallery {
    flex-wrap: wrap;
  }
  .gallery img {
    max-width: 100px;
    height: 100px;
  }
  .gallery-container h1 {
    font-size: 2.5rem;
    letter-spacing: 10px;
  }
  .outline h1 {
    font-size: 1.4rem;
  }
  .outline p {
    font-size: 1.1rem;
    max-width: 300px;
    text-align: center;
  }
  .tokenomics-container h2 {
    letter-spacing: 7px;
    font-size: 2.2rem;
  }
  .howtobuy-timeline::before {
    left: 50%;
    z-index: 0; /* Place behind cards */
    opacity: 0.5; /* Make it slightly transparent */
  }
  .howtobuy-phase {
    font-size: 1.5rem;
    text-align: center; /* Center the phase title */
  }
  .glass-card {
    padding: 1.5rem;
    position: relative;
    z-index: 2; /* Ensure cards are above the timeline */
  }
  .glass-card ul li {
    font-size: 1rem;
  }
  .howtobuy-item::before {
    display: none;
  }

  /* Center all cards and adjust width */
  .howtobuy-item {
    width: 90%; /* Wider cards */
    margin: 3rem auto; /* Center horizontally with vertical spacing */
    left: 0 !important; /* Remove any offset positioning */
    right: 0 !important; /* Remove any offset positioning */
  }

  /* Reset all positioning for left and right items */
  .howtobuy-item.left,
  .howtobuy-item.right {
    margin-left: auto;
    margin-right: auto;
  }
  .howtobuy-item:not(:last-child) {
    margin-bottom: 3rem; /* Add space between cards to show timeline */
  }
  .howtobuy-container h1 {
    font-size: 45px;
  }
  .section h2 {
    font-size: 2rem;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
  }
  .roadmap-cont h2 {
    font-size: 2.2rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: black;
    letter-spacing: 10px;
  }
  .contract-address h2 {
  font-size: 1rem;
}
.contract-address p {
  font-size: 0.8rem;
}
.tokenomics-container img {
  max-width: 300px;
}
}
