@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap");
@import url('https://fonts.cdnfonts.com/css/glass-houses');
@import url('https://fonts.cdnfonts.com/css/oil-on-the-water');

:root {
  --primary-color: #fff;
  --secondary-color: #333;
  --accent-color: #0088cc;
  --bg-color: #000;
  --section-padding: 100px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html{
  scroll-behavior: smooth;
}
body {
  font-family: "Orbitron", sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  overflow-x: hidden;
  position: relative;
  background-image: url("moon-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  
}

#matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: twinkle 5s infinite;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

/* Home Section */
.home-section {
  text-align: center;
}

.logo-container {
  margin-bottom: 20px;
}

.raccoon-logo {
  width: 350px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  animation: float 3s ease-in-out infinite;
}

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

.moonx-logo h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  position: relative;
}

.moonx-logo h1::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 15px;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transform: rotate(-45deg);
}

.description {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: "Comic Sans MS", cursive, sans-serif;
}




.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
  animation: float 3s ease-in-out infinite; /* Add  float animation*/

}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.social-icon img {
  width: 30px;
  height: 30px;
  
}

/* DEX Button*/ 
button {
  transition: all 0.5s;
  font-size: 17px;
  font-family: monospace;
  font-weight: bold;
  padding: 1ch 2ch;
  background-color: white;
  color: #000;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  box-shadow:
    2px 2px 0px hsl(0, 0%, 90%),
    4px 4px 0px hsl(0, 0%, 80%),
    6px 6px 0px hsl(0, 0%, 70%),
    8px 8px 0px hsl(0, 0%, 60%),
    10px 10px 0px hsl(0, 0%, 50%),
    12px 12px 0px hsl(0, 0%, 40%),
    14px 14px 0px hsl(0, 0%, 30%),
    16px 16px 0px hsl(0, 0%, 20%),
    18px 18px 0px hsl(0, 0%, 10%);
}

button:hover {
  background-color: hsl(0, 0%, 50%);
  color: #fff;
  box-shadow: none;
}


.telegram {
  background-color: #0088cc;
}

.twitter {
  background-color: #000;
}

.buy-button-container {
  margin-top: 20px;
}

.buy-button {
  display: inline-block;
  padding: 15px 50px;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  border: 2px solid #fff;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buy-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.buy-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.buy-button:hover::before {
  left: 100%;
}

/* About Section */
.about-section {
  /* background-color: rgba(0, 0, 0, 0.7); */
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  animation: float 2s ease-in-out infinite;

}

.feature {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  transition: all 0.3s ease;
  
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Tokenomics Section */
.tokenomics-section {
  /* background-color: rgba(0, 0, 0, 0.6); */
}

.tokenomics-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.token-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.token-detail {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.token-detail h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contract-address {
  font-family: monospace;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}

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

.distribution-item {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--primary-color) 0% var(--percent), transparent var(--percent) 100%);
  border-radius: 50%;
  padding: 5px;
  animation: float 2s ease-in-out infinite;

}

.distribution-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background-color: var(--bg-color);
  border-radius: 50%;
  z-index: 1;
}

.distribution-item .percent,
.distribution-item .label {
  position: relative;
  z-index: 2;
}

.distribution-item .percent {
  font-size: 1.5rem;
  font-weight: 700;
}

.distribution-item .label {
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Roadmap Section */
.roadmap-section {
  /* background-color: rgba(0, 0, 0, 0.7); */
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.roadmap-item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.roadmap-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.roadmap-phase {
  width: 120px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  
}

.roadmap-content {
  width: calc(50% - 30px);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
}

.roadmap-content ul {
  list-style-position: inside;
  padding-left: 10px;
}

.roadmap-content li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  /* background-color: rgba(0, 0, 0, 0.9); */
  padding: 50px 0;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  transform: scale(1.2);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-nav {
    padding: 15px 30px;
  }

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

  .roadmap::before {
    left: 20px;
  }

  .roadmap-item,
  .roadmap-item:nth-child(odd) {
    flex-direction: row;
  }

  .roadmap-phase {
    position: absolute;
    left: 20px;
    transform: translateX(-50%);
  }

  .roadmap-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .moonx-logo h1 {
    font-size: 3.5rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .buy-button {
    padding: 12px 40px;
    font-size: 1rem;
  }

  .about-features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 100%;
    max-width: 100%;
  }

  .token-info {
    flex-direction: column;
    align-items: center;
  }

  .token-detail {
    width: 80%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .main-nav {
    padding: 15px 20px;
  }

  .moonx-logo h1 {
    font-size: 2.5rem;
  }

  .raccoon-logo {
    width: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .social-icon img {
    width: 20px;
    height: 20px;
  }

  .buy-button {
    padding: 10px 30px;
    font-size: 0.9rem;
  }

  .distribution-item {
    width: 120px;
    height: 120px;
    
  }
}



/* X PROFILE LINK  */ 
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Avalors Personal Use";
  font-size: 19px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}



