/* Cartoonish, animated, eye-catching landing styles */
:root {
  --pink: #ff5ea8;
  --orange: #ffb43a;
  --yellow: #ffe46b;
  --purple: #9a5cff;
  --blue: #4dd2ff;
  --dark: #0f0a1f;
  --white: #fff;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: radial-gradient(
      1200px 800px at 10% 10%,
      rgba(255, 255, 255, 0.15),
      transparent
    ),
    radial-gradient(
      1000px 700px at 90% 30%,
      rgba(255, 255, 255, 0.12),
      transparent
    ),
    linear-gradient(135deg, var(--purple), var(--pink), var(--orange));
  color: var(--white);
  overflow-x: hidden;
}

/* Floating canvas sits behind everything */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  margin: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: dropIn 0.8s ease both;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
.brand-name {
  font-family: "Luckiest Guy", cursive;
  letter-spacing: 1px;
  font-size: 28px;
  text-shadow: 3px 3px 0 #00000025, 0 0 10px #fff4;
}

.btn {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.btn-pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  box-shadow: 0 8px 20px #00000035;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-telegram {
  background: linear-gradient(90deg, #2ca5e0, #68d5ff);
}
.btn-x {
  background: linear-gradient(90deg, #000, #444);
}
.btn:hover {
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 16px 30px #0000004a;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* HERO */
.hero {
  position: relative;
  padding: 90px 16px 40px;
  text-align: center;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.title {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 12px;
  text-shadow: 4px 4px 0 #0003, 0 8px 30px #0006;
  animation: floatUp 1s ease both;
}
.subtitle {
  font-size: clamp(16px, 2.2vw, 24px);
  margin: 0 0 18px;
  text-shadow: 0 2px 0 #0004;
  opacity: 0.95;
  animation: fadeIn 0.9s 0.2s both;
}
.launch {
  display: inline-block;
  margin: 6px 0 22px;
  padding: 10px 22px;
  border-radius: 16px;
  color: #201a1c;
  background: repeating-linear-gradient(45deg, #fff2 0 10px, #fff4 10px 20px);
  box-shadow: inset 0 0 0 2px #fff6, 0 8px 24px #0005;
  font-size: clamp(16px, 2.2vw, 22px);
  animation: glow 1.6s ease-in-out infinite alternate;
}
.btn-cta {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  box-shadow: 0 12px 30px #00000055;
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #fff5, transparent 40%);
  transform: translateX(-100%);
  animation: sheen 2s infinite;
}

.hero-mascot {
  width: min(40vw, 380px);
  display: block;
  margin: 28px auto 0;
  filter: drop-shadow(0 24px 40px #0006);
  animation: bob 2.8s ease-in-out infinite;
}

/* GALLERY */
.gallery {
  margin: 30px auto;
  max-width: 1200px;
  padding: 30px 16px;
}
.section-title {
  font-family: "Luckiest Guy", cursive;
  text-align: center;
  font-size: clamp(24px, 4vw, 40px);
  margin: 0 0 18px;
  text-shadow: 2px 2px 0 #00000022;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff90, #ffffff10);
  box-shadow: 0 10px 30px #0000003a, inset 0 0 0 3px #fff6;
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: cardFloat 4s ease-in-out infinite;
}

.meme-img {
  border: 3px solid var(--yellow);
  box-shadow: 0 0 0 4px #ffe46b88, 0 0 18px 4px #ffb43a66, 0 6px 18px #0002;
  filter: drop-shadow(0 0 8px #ffe46b88);
  position: relative;
  z-index: 1;
}
.meme-img:hover {
  box-shadow: 0 0 0 6px #ffe46b, 0 0 32px 10px #ffb43a99,
    0 0 48px 14px #ff5ea888, 0 16px 32px #0004;
  filter: drop-shadow(0 0 18px #ffe46b) saturate(1.2);
}
.gallery-grid img:nth-child(odd) {
  animation-delay: 0.8s;
}
.gallery-grid img:hover {
  transform: perspective(800px) rotateX(0) rotateY(0) translateY(-6px)
    scale(1.03);
  box-shadow: 0 20px 40px #00000055;
  filter: saturate(1.2);
}

/* TOKENOMICS */
.tokenomics {
  padding: 20px 16px 60px;
}
.token-card {
  margin: 16px auto 0;
  max-width: 900px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff22, #ffffff10);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px #0000004a, inset 0 0 0 3px #fff3;
}
.token-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.token-card li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 14px;
  background: #ffffff14;
  box-shadow: inset 0 0 0 2px #fff3;
}
.token-card li::before {
  content: "★";
  position: absolute;
  left: 14px;
  top: 10px;
  font-size: 20px;
  color: var(--yellow);
  text-shadow: 0 2px 0 #0004;
}
.token-card span {
  font-weight: 700;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 16px 40px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* Animations */
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes glow {
  from {
    box-shadow: inset 0 0 0 2px #fff9, 0 6px 16px #0005;
  }
  to {
    box-shadow: inset 0 0 0 2px #fff, 0 10px 26px #0007;
  }
}
@keyframes sheen {
  to {
    transform: translateX(100%);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes cardFloat {
  0%,
  100% {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg);
  }
  50% {
    transform: perspective(800px) rotateX(-2deg) rotateY(2deg) translateY(-6px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
  .brand-name {
    font-size: 22px;
  }
}
