/* kaylabud — "Y2K": chrome bubblegum. Holographic pink/blue, glossy white card,
   chunky rounded buttons, bold rounded sans, drifting sparkle stars. Deliberately
   bright to break the network's cookie-cutter dark-template footprint. */

:root {
  --ink:    #3a1140;
  --ink2:   #7a4a86;
  --pink:   #ff5fb4;
  --pink-2: #ff8fd0;
  --blue:   #7ec8ff;
  --lilac:  #c9a0ff;
  --white:  #ffffff;
  --chrome: linear-gradient(180deg, #ffffff, #e9edff 45%, #cfd6ff);
  --display: "Trebuchet MS", ui-rounded, "Segoe UI", "Verdana", sans-serif;
  --sans:    "Trebuchet MS", ui-rounded, "Segoe UI", -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 40px);
  font-family: var(--sans);
  color: var(--ink);
  background: #ffd9f0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background: shifting holographic gradient */
.bg {
  position: fixed; inset: -20%; z-index: -2;
  background: linear-gradient(125deg, #ff8fd0, #ff5fb4 25%, #c9a0ff 50%, #7ec8ff 75%, #a6f0e6);
  background-size: 300% 300%;
  filter: saturate(1.15);
  animation: holo 16s ease-in-out infinite;
}
@keyframes holo { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.45), transparent 55%);
}

/* Particles: twinkling stars */
.sparkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; background: transparent !important;
  box-shadow: none !important; border-radius: 0 !important;
  opacity: 0; animation: rise linear infinite;
}
.ember::before {
  content: "\2726"; /* ✦ */ position: absolute; inset: -8px;
  font-size: 14px; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 4px var(--pink);
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.6); }
  15% { opacity: 1; } 80% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-104vh) rotate(180deg) scale(1.1); }
}

/* Card: glossy white with a chrome bevel + thick rounded corners */
.card {
  position: relative; width: min(408px, 100%);
  padding: clamp(30px, 6vw, 44px) clamp(20px, 5vw, 32px) clamp(22px, 4vw, 28px);
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 2px solid #fff; border-radius: 28px;
  box-shadow: 0 26px 60px -24px rgba(120, 40, 120, 0.6),
    inset 0 2px 0 rgba(255,255,255,0.9), inset 0 -3px 10px rgba(180,120,200,0.18);
}

/* Avatar: chrome ring */
.avatar {
  width: clamp(112px, 32vw, 138px); height: clamp(112px, 32vw, 138px);
  border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--pink), 0 0 0 8px rgba(126,200,255,0.7), 0 12px 26px -8px rgba(255,95,180,0.7);
}

/* Name: bold rounded, hot-pink with chrome sheen */
.name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 12vw, 54px); line-height: 1; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ff8fd0, #ff2f9e 60%, #c9a0ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 4px 10px rgba(255,95,180,0.4));
}
.tagline {
  margin: 10px auto 26px; font-size: clamp(11px, 3.2vw, 13px); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink2);
}
.hrt {
  -webkit-text-fill-color: #ff2f9e; color: #ff2f9e; font-variant-emoji: text;
  font-family: var(--sans); display: inline-block; text-shadow: 0 1px 0 #fff; margin-left: 0.06em;
}
.name .hrt { font-size: 0.55em; vertical-align: 0.25em; -webkit-text-fill-color: #ff2f9e; }
.seo { margin: -18px auto 24px; max-width: 30ch; font-size: 11px; line-height: 1.5; color: var(--ink2); }

/* Links: chunky bubbly */
.links { display: flex; flex-direction: column; gap: 12px; }
.link {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; overflow: hidden;
  transition: transform .16s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.link__emoji { font-size: 18px; line-height: 1; }
.link:hover { transform: translateY(-2px) scale(1.01); }
.link:active { transform: translateY(0) scale(.98); }

.link--primary {
  color: #fff;
  background: linear-gradient(180deg, #ff8fd0, #ff2f9e 70%);
  border: 2px solid #fff;
  box-shadow: 0 12px 24px -8px rgba(255,47,158,0.75), inset 0 2px 0 rgba(255,255,255,0.8);
}
.link--primary:hover { box-shadow: 0 16px 30px -8px rgba(255,47,158,0.9), inset 0 2px 0 rgba(255,255,255,0.9); }

.link--social {
  color: #b5308a; background: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,95,180,0.55); box-shadow: 0 8px 18px -10px rgba(120,40,120,0.5);
}
.link--social:hover { background: #fff; border-color: #ff5fb4; box-shadow: 0 10px 22px -8px rgba(255,95,180,0.55); }

.foot {
  margin-top: 24px; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink2); opacity: 0.75;
}

/* Entrance reveal (bouncy) */
@keyframes appear { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
.avatar, .name, .tagline, .seo, .link, .foot { animation: appear .7s cubic-bezier(.2,.9,.3,1.2) both; }
.avatar { animation-delay: .05s; } .name { animation-delay: .16s; } .tagline { animation-delay: .28s; }
.link:nth-child(1) { animation-delay: .40s; } .link:nth-child(2) { animation-delay: .50s; }
.link:nth-child(3) { animation-delay: .60s; } .link:nth-child(4) { animation-delay: .70s; }
.foot { animation-delay: .84s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .avatar, .name, .tagline, .seo, .link, .foot { opacity: 1; transform: none; }
  .sparkles { display: none; }
}
