* { box-sizing: border-box; }

:root {
  --ink: #392f47;
  --soft: #fff7fc;
  --border: #f2dff0;
}

html, body { margin: 0; min-height: 100%; }

body {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 192, 203, .24), transparent 25%),
    radial-gradient(circle at 88% 20%, rgba(198, 168, 255, .20), transparent 25%),
    #fff;
}

.site-header {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.1rem;
}

.nav-links { display: flex; gap: 8px; }

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
  background: #fff0f8;
}

.hero {
  min-height: calc(100vh - 126px);
  display: grid;
  place-items: center;
  padding: 44px 20px;
}

.card {
  width: min(820px, 100%);
  text-align: center;
  background: rgba(255,255,255,.96);
  border: 2px solid var(--border);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 64px) clamp(18px, 6vw, 56px);
  box-shadow: 0 18px 55px rgba(72, 44, 79, .10);
}

.rainbow-title {
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.rainbow-title span:nth-child(7n+1) { color: #ff4b5c; }
.rainbow-title span:nth-child(7n+2) { color: #ff9f1c; }
.rainbow-title span:nth-child(7n+3) { color: #f6cf3a; }
.rainbow-title span:nth-child(7n+4) { color: #32b768; }
.rainbow-title span:nth-child(7n+5) { color: #2f80ed; }
.rainbow-title span:nth-child(7n+6) { color: #7b61ff; }
.rainbow-title span:nth-child(7n)   { color: #d84fd2; }
.rainbow-title .space { width: .3em; }

.welcome {
  margin: 30px 0 6px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
}

.subtext {
  margin: 0 auto;
  max-width: 560px;
  font-size: 1.05rem;
  color: #6d6078;
}

.unicorn {
  position: relative;
  margin: 22px auto 28px;
  width: 220px;
  height: 200px;
  display: grid;
  place-items: center;
}

.unicorn-emoji {
  font-size: 8.7rem;
  filter: drop-shadow(0 10px 14px rgba(107, 78, 126, .18));
  animation: float 3.2s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  font-size: 2rem;
  animation: twinkle 1.8s ease-in-out infinite alternate;
}

.s1 { left: 10px; top: 26px; color: #ff9f1c; }
.s2 { right: 5px; top: 58px; color: #7b61ff; animation-delay: .5s; }
.s3 { left: 36px; bottom: 10px; color: #ff4b95; animation-delay: .9s; }

.button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #ff5b8f, #8c67ff, #4c9fff);
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(117, 87, 200, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(117, 87, 200, .28);
}

.about-card h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  margin: 6px 0 24px;
  color: #7b61ff;
}

.tiny-rainbow { font-size: 3.5rem; }

.about-text {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.7;
  max-width: 650px;
  margin: 12px auto;
}

.likes {
  margin: 28px auto 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.likes span {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

footer {
  text-align: center;
  padding: 18px 20px 28px;
  color: #877891;
  font-size: .95rem;
}

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

@keyframes twinkle {
  from { transform: scale(.8) rotate(-8deg); opacity: .55; }
  to { transform: scale(1.25) rotate(8deg); opacity: 1; }
}

@media (max-width: 560px) {
  .nav { align-items: flex-start; }
  .nav-links a { padding: 8px 10px; }
  .card { border-radius: 24px; }
  .unicorn { width: 180px; height: 170px; }
  .unicorn-emoji { font-size: 7rem; }
}
