@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600;700&family=Outfit:wght@400;700;900&display=swap');

:root {
  /* Meep Palette */
  --meep-purple: #8A2BE2;
  --meep-neon-green: #39FF14;
  --meep-pink: #FF1493;
  --meep-cyan: #00FFFF;
  --meep-bg: #0f0f13;
  --meep-card-bg: rgba(255, 255, 255, 0.05);
  --meep-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--meep-bg);
  color: white;
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hidden {
  display: none;
}

/* Background Particles */
#particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -50px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
  animation: rise 20s infinite linear;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

@keyframes rise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 19, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--meep-border);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--meep-neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--meep-neon-green);
  box-shadow: 0 0 10px var(--meep-neon-green);
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--meep-purple);
}

.btn-primary {
  background: var(--meep-purple);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 2px solid white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: white;
  color: black;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  background: linear-gradient(to bottom, rgba(15, 15, 19, 0.3), var(--meep-bg));
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Typography & Glitch */
.glitch-text {
  font-size: 6rem;
  font-weight: 900;
  color: white;
  position: relative;
  margin-bottom: 0.5rem;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -1px 0 var(--meep-pink);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -1px 0 var(--meep-neon-green);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(30px, 9999px, 10px, 0);
  }

  20% {
    clip: rect(80px, 9999px, 100px, 0);
  }

  40% {
    clip: rect(10px, 9999px, 60px, 0);
  }

  60% {
    clip: rect(50px, 9999px, 20px, 0);
  }

  80% {
    clip: rect(20px, 9999px, 90px, 0);
  }

  100% {
    clip: rect(90px, 9999px, 40px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(10px, 9999px, 80px, 0);
  }

  20% {
    clip: rect(70px, 9999px, 20px, 0);
  }

  40% {
    clip: rect(20px, 9999px, 50px, 0);
  }

  60% {
    clip: rect(60px, 9999px, 10px, 0);
  }

  80% {
    clip: rect(40px, 9999px, 90px, 0);
  }

  100% {
    clip: rect(80px, 9999px, 30px, 0);
  }
}

/* Sections */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--meep-pink);
}

.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--meep-purple);
}

.floating-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Tokenomics */
.tokenomics-section {
  padding: 6rem 0;
  background: linear-gradient(rgba(138, 43, 226, 0.1), transparent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--meep-card-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--meep-border);
  text-align: center;
  backdrop-filter: blur(5px);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--meep-neon-green);
}

.card h3 {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.big-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--meep-neon-green);
  font-family: var(--font-heading);
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--meep-border);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socials a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
}

.socials a:hover {
  color: var(--meep-pink);
}

.meeplink a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.meeplink a:hover {
  color: var(--meep-pink);
}

/* Scroll Animations */
.hidden-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}

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

/* Marquee */
.marquee-container {
  background: var(--meep-purple);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
  border-top: 2px solid var(--meep-neon-green);
  border-bottom: 2px solid var(--meep-neon-green);
  transform: rotate(-1deg) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.marquee span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  padding-right: 2rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 0px black;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* More Fun - Bouncy Buttons */
.btn-primary {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
  }
}

.logo {
  animation: wiggle 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}