* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", "Trebuchet MS", Arial, sans-serif;
  color: #2a1032;
  background: linear-gradient(180deg, #ffe7f6 0%, #ffd8f0 35%, #ffe9fb 100%);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 123, 196, 0.32) 0 20%, transparent 21%),
    radial-gradient(circle at 82% 14%, rgba(191, 117, 255, 0.24) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.4) 0 16%, transparent 17%);
  background-size: 260px 260px, 290px 290px, 220px 220px;
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "\2665";
  position: fixed;
  left: -10vw;
  top: 100vh;
  z-index: 0;
  color: rgba(255, 60, 155, 0.22);
  font-size: clamp(18px, 2vw, 28px);
  pointer-events: none;
  animation: hearts-rise 16s linear infinite;
  text-shadow:
    8vw -8vh rgba(255, 115, 191, 0.22),
    16vw -16vh rgba(208, 120, 255, 0.22),
    24vw -24vh rgba(255, 93, 170, 0.22),
    32vw -34vh rgba(255, 138, 206, 0.22),
    40vw -44vh rgba(196, 114, 255, 0.22),
    48vw -53vh rgba(255, 90, 169, 0.22),
    56vw -62vh rgba(255, 120, 200, 0.22),
    64vw -72vh rgba(206, 132, 255, 0.22),
    72vw -80vh rgba(255, 82, 164, 0.22),
    80vw -88vh rgba(255, 125, 200, 0.22),
    90vw -96vh rgba(200, 118, 255, 0.22);
}

body::after {
  animation-delay: -8s;
  animation-duration: 21s;
  color: rgba(195, 84, 255, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 240, 250, 0.95);
  border-bottom: 3px solid #7e245c;
  backdrop-filter: blur(2px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-logo,
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 3px solid #7e245c;
  border-radius: 12px;
  background: #fff;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-nav a {
  border: 2px solid #7e245c;
  border-radius: 14px;
  background: #ffd1ec;
  padding: 6px 10px;
  font-weight: 700;
  position: relative;
  overflow: visible;
}

.section {
  width: min(1120px, 92vw);
  margin: 22px auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 2px 2px #ff78c6;
}

.tagline {
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  margin: 14px 0 6px;
}

.subtag {
  margin: 0 0 16px;
  font-size: 1rem;
}

.ca-copy {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 3px solid #7e245c;
  border-radius: 12px;
  background: #ffd1ec;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  overflow: visible;
}

.ca-copy .copy-hint {
  font-size: 0.85rem;
}

.ca-copy.copied {
  background: #ffc1e8;
}

.hero-art img {
  width: 100%;
  border: 4px solid #7e245c;
  border-radius: 16px;
  background: #fff6fd;
}

.card {
  border: 3px solid #7e245c;
  border-radius: 16px;
  background: rgba(255, 246, 253, 0.92);
  padding: 18px;
  box-shadow: 8px 8px 0 #c64f91;
}

h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
}

.section-with-image {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: start;
}

.section-logo {
  width: 100%;
  border: 3px solid #7e245c;
  border-radius: 14px;
  background: #fff;
}

.inline-link {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 2px dashed #7e245c;
  font-weight: 700;
  color: #7e245c;
}

.chart-wrap iframe {
  width: 100%;
  min-height: 480px;
  border: 3px solid #7e245c;
  border-radius: 12px;
}

.tokenomics-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.step {
  border: 2px solid #7e245c;
  border-radius: 12px;
  padding: 12px;
  background: #ffe3f4;
}

.step img {
  width: 60px;
  height: 60px;
  border: 2px solid #7e245c;
  border-radius: 10px;
  background: #fff;
}

.step h3 {
  margin: 8px 0 4px;
}

.step p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  border: 3px solid #7e245c;
  border-radius: 14px;
  background: #fff7fd;
}

.join-banner {
  width: 100%;
  border: 4px solid #7e245c;
  border-radius: 14px;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  border: 3px solid #7e245c;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease;
  position: relative;
  overflow: visible;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn::before,
.btn::after,
.main-nav a::before,
.main-nav a::after,
.ca-copy::before,
.ca-copy::after {
  content: "\2665";
  position: absolute;
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  color: #ff4ca5;
  filter: drop-shadow(0 1px 0 rgba(126, 36, 92, 0.55));
}

.btn::before,
.main-nav a::before,
.ca-copy::before {
  left: 18%;
  top: 10%;
}

.btn::after,
.main-nav a::after,
.ca-copy::after {
  right: 16%;
  top: 18%;
  color: #bf79ff;
}

.btn:hover::before,
.main-nav a:hover::before,
.ca-copy:hover::before {
  animation: heart-pop-left 0.75s ease-out forwards;
}

.btn:hover::after,
.main-nav a:hover::after,
.ca-copy:hover::after {
  animation: heart-pop-right 0.75s ease-out forwards;
}

.btn-buy {
  background: linear-gradient(135deg, #ffc3e9 0%, #ff9fd8 100%);
}

.btn-x {
  background: linear-gradient(135deg, #d8b4ff 0%, #bf8dff 100%);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 3px solid #7e245c;
  padding-top: 12px;
  padding-bottom: 22px;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 700;
}

@keyframes hearts-rise {
  0% {
    transform: translateY(0) translateX(0) scale(0.85) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(-124vh) translateX(4vw) scale(1.2) rotate(8deg);
    opacity: 0;
  }
}

@keyframes heart-pop-left {
  0% {
    transform: translate(0, 0) scale(0.35) rotate(-18deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate(-18px, -22px) scale(1.2) rotate(-8deg);
    opacity: 0;
  }
}

@keyframes heart-pop-right {
  0% {
    transform: translate(0, 0) scale(0.35) rotate(18deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate(16px, -24px) scale(1.15) rotate(8deg);
    opacity: 0;
  }
}

@media (max-width: 880px) {
  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-with-image {
    grid-template-columns: 1fr;
  }

  .section-logo {
    width: 120px;
  }

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

  body::before,
  body::after {
    font-size: 18px;
  }
}
