/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Orbitron', sans-serif;
  background: #120033;
  color: white;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Loader Wrapper */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #120033;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Animated M */
.animated-m {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 80px;
  height: 80px;
  position: relative;
  gap: 6px;
}

.animated-m .bar {
  width: 10px;
  height: 60px;
  background: #e6b9e6;
  border-radius: 4px;
  animation: pulseBar 1.4s infinite ease-in-out;
}

.animated-m .bar.left {
  transform: rotate(-18deg);
  transform-origin: bottom;
  animation-delay: 0s;
}

.animated-m .bar.middle {
  transform: scaleY(1);
  animation-delay: 0.2s;
}

.animated-m .bar.right {
  transform: rotate(18deg);
  transform-origin: bottom;
  animation-delay: 0.4s;
}

@keyframes pulseBar {

  0%,
  100% {
    height: 60px;
    background: #ff00ff;
    box-shadow: 0 0 6px #ff00ff;
  }

  50% {
    height: 80px;
    background: #ff66ff;
    box-shadow: 0 0 14px #ff66ff;
  }
}

/* Fade In for Main Content */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hidden class (initial) */
.hidden {
  display: none;
}

/* Main container */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
  z-index: 10;
  position: relative;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-family: 'Audiowide', sans-serif;
  font-size: 2rem;
  color: #c577c5;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.logo:hover {
  transform: scale(1.05);
}

.socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.socials a {
  color: #ff00ff;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.socials a:hover {
  transform: scale(1.2);
  color: #ff66ff;
  text-shadow: 0 0 10px #ff66ff88;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  text-align: center;
  animation: fadeInUp 1.6s ease-out both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glitch Text with Neon Shimmer */
.glitch-text {
  position: relative;
  font-family: 'Audiowide', cursive;
  font-size: 3.5rem;
  line-height: 1.2;
  color: transparent;
  background: linear-gradient(120deg, #ff00ff 0%, #00ccff 50%, #ff00ff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px #ff00ff44;
  animation: shimmerWave 12s infinite linear;
}

@keyframes shimmerWave {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

/* Subtitle */
.subtitle {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: #eee;
  opacity: 0.85;
  max-width: 600px;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.cta {
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  background: transparent;
  color: #ff66ff;
  border: 2px solid #ff66ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta:hover {
  background: #ff66ff22;
  border-color: #ff99ff;
  color: #ff99ff;
}

.cta.twitter {
  color: #1da1f2;
  border-color: #1da1f2;
}

.cta.twitter:hover {
  background: #1da1f233;
  color: #66caff;
  border-color: #66caff;
}

.cta.telegram {
  color: #0088cc;
  border-color: #0088cc;
}

.cta.telegram:hover {
  background: #0088cc33;
  color: #33bbff;
  border-color: #33bbff;
}

.cta.fuel {
  color: #ff33cc;
  border-color: #ff33cc;
}

.cta.fuel:hover {
  background: #ff33cc22;
  color: #ff66e0;
  border-color: #ff66e0;
}

.meme-link {
  color: #ff66c4;
  text-decoration: none;
  font-weight: bold;
  margin: 0 5px;
}

.meme-link:hover {
  text-decoration: underline;
  cursor: pointer;
}


/* Responsive Adjustments */
@media (max-width: 770px) {
  .top-bar {
    padding: 1rem 1.2rem;
    flex-direction: row;
  }

  .logo {
    font-size: 1.5rem;
  }

  .glitch-text {
    font-size: 2.2rem;
  }

  .cta {
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .meme-link {
    color: #ff66c4;
    font-size: medium;
  }

  .meme-link:hover {
    text-decoration: underline;
    cursor: pointer;
  }


}

@media (min-width: 601px) and (max-width: 768px) {
  .top-bar {
    padding: 1.5rem 2rem;
  }

  .hero {
    padding: 4rem 1.2rem;
  }

  .glitch-text {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%;
  }

  .cta {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    max-width: 320px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

/* Scrollbar styles for Desktop only */
@media (min-width: 769px) {
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #120033;
  }

  ::-webkit-scrollbar-thumb {
    background: #6e00ff;
    border-radius: 8px;
    border: 2px solid #120033;
    transition: background 0.3s ease;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #a65fff;
  }

  html {
    scrollbar-color: #6e00ff #120033;
    scrollbar-width: thin;
  }
}

/* Hide scrollbars on Mobile */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }

  html {
    scrollbar-width: none;
  }
}