@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

.font-grotesk {
  font-family: "Space Grotesk", sans-serif;
}

@keyframes float-down {
  0% {
    transform: translateY(-10vh) rotate(0) translate(0);
    opacity: 0;
  }
  10% {
    opacity: var(--emoji-opacity);
  }
  90% {
    opacity: var(--emoji-opacity);
  }
  to {
    transform: translateY(110vh) rotate(var(--emoji-rotate)) translate(var(--emoji-drift));
    opacity: 0;
  }
}

@keyframes tap-bounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.88);
  }
  60% {
    transform: scale(1.12);
  }
  80% {
    transform: scale(0.97);
  }
  to {
    transform: scale(1);
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0) translateY(0);
    opacity: 1;
  }
  60% {
    transform: scale(1.2) translateY(-30px);
    opacity: 1;
  }
  to {
    transform: scale(0.8) translateY(-60px);
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0%,
  to {
    box-shadow: 0 0 #a3ff1200;
  }
  50% {
    box-shadow: 0 0 30px 10px #a3ff1259;
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pouces qui popent un peu partout (couche décorative) */
@keyframes thumb-burst {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(calc(var(--burst-rotate, 0deg) - 18deg));
    opacity: 0;
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12) rotate(var(--burst-rotate, 0deg));
  }
  45% {
    transform: translate(-50%, -50%) scale(1) rotate(var(--burst-rotate, 0deg));
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.45) translateY(-28px)
      rotate(calc(var(--burst-rotate, 0deg) + 12deg));
    opacity: 0;
  }
}

.emoji-burst {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  user-select: none;
  z-index: 25;
  line-height: 1;
  will-change: transform, opacity;
  animation-name: thumb-burst;
  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: forwards;
}

.floating-emoji {
  position: fixed;
  pointer-events: none;
  user-select: none;
  animation: float-down linear infinite;
  z-index: 0;
}

.pop-text {
  position: fixed;
  pointer-events: none;
  user-select: none;
  animation: pop-in 0.8s ease forwards;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  z-index: 50;
  white-space: nowrap;
}

.tap-bounce {
  animation: tap-bounce 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.fade-in-up {
  animation: fade-in-up 0.8s ease forwards;
}

.contract-card {
  animation: pulse-glow 3s ease-in-out infinite;
}

.layout {
  min-height: 100vh;
  position: relative;
}

.z-main {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.thumb-wrap {
  cursor: pointer;
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.thumb-glow {
  position: absolute;
  border-radius: 9999px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(163, 255, 18, 0.18) 0%, transparent 70%);
  filter: blur(8px);
}

.thumb-img {
  position: relative;
  z-index: 10;
  width: clamp(160px, 35vw, 280px);
  height: clamp(160px, 35vw, 280px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

.btn-pump {
  background: linear-gradient(135deg, #3fe77c 0%, #22c55e 45%, #16a34a 100%);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.btn-pump:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.btn-x {
  background: linear-gradient(135deg, #111 0%, #333 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-x:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.btn-solscan {
  background: linear-gradient(135deg, #a3ff12 0%, #7acc00 100%);
  color: #111;
  box-shadow: 0 4px 16px rgba(163, 255, 18, 0.35);
}

.btn-solscan:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(163, 255, 18, 0.5);
}

.copy-btn {
  transition: background 0.2s, color 0.2s;
}

.social-foot a {
  transition: transform 0.2s;
}

.social-foot a:hover {
  transform: scale(1.1);
}

.fixed-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.relative {
  position: relative;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.inline-block {
  display: inline-block;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-lg {
  max-width: 32rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.pt-16 {
  padding-top: 4rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-8 {
  padding: 2rem;
}
.p-4 {
  padding: 1rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-full {
  border-radius: 9999px;
}
.border-2 {
  border-width: 2px;
  border-style: solid;
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}
.bg-white {
  background-color: #fff;
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.overflow-hidden {
  overflow: hidden;
}
.break-all {
  word-break: break-all;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.cursor-pointer {
  cursor: pointer;
}
.border-0 {
  border: 0;
}
.no-underline {
  text-decoration: none;
}
.transition {
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

@media (min-width: 640px) {
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
