:root {
  --pink: #f996c3;
  --pink-deep: #e86ba8;
  --rose: #d8567d;
  --ink: #2a1a12;
  --cream: #fffdf0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--pink);
  overflow-x: hidden;
  position: relative;
}

/* Floating coin logos — same pink look as the token */
.coins {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.coin {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.28;
  filter: drop-shadow(0 8px 16px rgba(216, 86, 125, 0.25));
  animation: float 9s ease-in-out infinite;
}

.c1  { width: 88px;  top: 8%;  left: 6%;  animation-delay: 0s; }
.c2  { width: 64px;  top: 18%; right: 8%; animation-delay: -1.2s; }
.c3  { width: 110px; top: 42%; left: 3%;  animation-delay: -2.4s; opacity: 0.2; }
.c4  { width: 72px;  top: 55%; right: 5%; animation-delay: -3.1s; }
.c5  { width: 96px;  bottom: 12%; left: 12%; animation-delay: -0.8s; }
.c6  { width: 58px;  bottom: 8%; right: 14%; animation-delay: -4s; }
.c7  { width: 48px;  top: 32%; left: 22%; animation-delay: -1.8s; opacity: 0.18; }
.c8  { width: 76px;  top: 12%; left: 42%; animation-delay: -2.9s; opacity: 0.22; }
.c9  { width: 54px;  top: 68%; left: 38%; animation-delay: -3.6s; opacity: 0.2; }
.c10 { width: 90px;  top: 28%; right: 22%; animation-delay: -0.5s; opacity: 0.18; }
.c11 { width: 44px;  bottom: 28%; right: 28%; animation-delay: -4.5s; }
.c12 { width: 68px;  bottom: 22%; left: 48%; animation-delay: -5.2s; opacity: 0.16; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

.top {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.x-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rose);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.x-link:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem 4rem;
  max-width: 36rem;
  margin: 0 auto;
}

.logo {
  width: clamp(120px, 28vw, 168px);
  height: auto;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow:
    0 0 0 5px var(--cream),
    0 12px 32px rgba(216, 86, 125, 0.35);
  animation: rise 0.7s ease-out both, pulse 3.5s ease-in-out 0.7s infinite;
}

.brand {
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow:
    0 2px 0 var(--rose),
    0 4px 12px rgba(216, 86, 125, 0.35);
  margin-bottom: 0.85rem;
  animation: rise 0.7s ease-out 0.1s both;
}

h1 {
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.75rem;
  animation: rise 0.7s ease-out 0.2s both;
}

.cta {
  animation: rise 0.7s ease-out 0.3s both;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--rose);
  padding: 1rem 2.1rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 22px rgba(216, 86, 125, 0.45);
}

.btn:hover:not(:disabled) {
  background: #c2446c;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(216, 86, 125, 0.5);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.status {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 1.4em;
  animation: rise 0.4s ease-out both;
}

.status.ok {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (max-width: 480px) {
  .coin.c3,
  .coin.c7,
  .coin.c10 {
    display: none;
  }

  .hero {
    padding-top: 0.5rem;
  }
}
