/* Rosebite — tiny static meme page */

:root {
  --pink: #e71a78;
  --pink-hot: #ff3a96;
  --pink-deep: #9a0d4c;
  --robe: #c4123a;
  --gold: #f5c542;
  --ink: #1a0a10;
  --cream: #fff4e8;
  --leaf: #2f8a3a;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--cream);
  font-family: Nunito, "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.45;
  background:
    radial-gradient(ellipse 80% 50% at 50% 12%, #ff4ea0 0%, transparent 58%),
    radial-gradient(ellipse 70% 70% at 50% 80%, #b01055 0%, transparent 60%),
    var(--pink);
  overflow-x: hidden;
}

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

.heart {
  position: absolute;
  color: #fff;
  opacity: 0.14;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
  animation: floaty 8s ease-in-out infinite;
}

.h1 { left: 6%; top: 12%; font-size: 3.2rem; animation-delay: 0s; }
.h2 { right: 8%; top: 18%; font-size: 2.2rem; animation-delay: -2s; opacity: 0.1; }
.h3 { left: 10%; bottom: 16%; font-size: 2.6rem; animation-delay: -4s; }
.h4 { right: 7%; bottom: 22%; font-size: 3.4rem; animation-delay: -1s; opacity: 0.12; }
.h5 { left: 48%; top: 6%; font-size: 1.6rem; animation-delay: -6s; opacity: 0.1; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}

.page {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
  text-align: center;
}

.pfp {
  display: block;
  width: min(88vw, 420px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  object-fit: cover;
  border: 8px solid var(--ink);
  border-radius: 28px;
  background: var(--pink);
  box-shadow:
    0 0 0 6px var(--cream),
    0 0 0 14px var(--ink),
    8px 12px 0 var(--ink);
}

.title {
  margin: 8px 0 10px;
  font-family: "Luckiest Guy", Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(3.4rem, 16vw, 6.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--cream);
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 6px 0 var(--ink);
}

.ticker {
  display: inline-block;
  margin: 0 0 22px;
  padding: 0.28em 0.95em 0.22em;
  font-family: "Luckiest Guy", Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--gold);
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--ink);
}

.punch {
  margin: 0 0 8px;
  font-family: "Luckiest Guy", Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.35rem, 5.4vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--cream);
  text-shadow: 3px 3px 0 var(--ink);
}

.subpunch {
  margin: 0 auto 26px;
  max-width: 28em;
  font-size: clamp(1.02rem, 3.4vw, 1.2rem);
  font-weight: 800;
  color: var(--cream);
}

.story {
  margin: 0 auto 32px;
  max-width: 34em;
  padding: 18px 20px 16px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 6px 0 var(--ink);
  text-align: left;
}

.cta {
  display: inline-block;
  padding: 0.72em 1.4em 0.62em;
  font-family: "Luckiest Guy", Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  background: var(--robe);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 6px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:not(.is-soon):hover,
.cta:not(.is-soon):focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 8px 0 var(--ink);
  outline: none;
}

.cta.is-soon {
  background: #8a3a52;
  color: #f3d7e0;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 3px 4px 0 var(--ink);
}

.cta-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0.9;
}

.foot {
  margin-top: 36px;
}

.x-link {
  color: var(--cream);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.x-link:hover,
.x-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.disclaimer {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.8;
}

@media (max-width: 480px) {
  .page {
    padding: 24px 0 44px;
  }

  .title {
    -webkit-text-stroke-width: 5px;
    text-shadow: 3px 4px 0 var(--ink);
  }

  .pfp {
    border-width: 6px;
    border-radius: 22px;
    box-shadow:
      0 0 0 4px var(--cream),
      0 0 0 10px var(--ink),
      6px 8px 0 var(--ink);
  }

  .story {
    text-align: left;
    padding: 16px 16px 14px;
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heart {
    animation: none;
  }
}
