:root {
  --bg-1: #fff6f8;
  --bg-2: #ffeef3;
  --pink: #ff8fab;
  --pink-soft: #ffc2d1;
  --pink-deep: #d1567e;
  --gold: #f2c14e;
  --gold-soft: #ffe9b8;
  --lilac: #e5d4ff;
  --text: #4a3540;
  --text-soft: #8a7480;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 30px rgba(214, 120, 150, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-full: 999px;
  --font-body: "Quicksand", system-ui, sans-serif;
  --font-display: "Dancing Script", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2) 60%, #fff 100%);
  overflow-x: hidden;
  position: relative;
}

/* Decorative background blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.blob--1 {
  width: 340px; height: 340px;
  top: -100px; left: -100px;
  background: var(--pink-soft);
}
.blob--2 {
  width: 300px; height: 300px;
  top: 40%; right: -120px;
  background: var(--lilac);
  animation-delay: -4s;
}
.blob--3 {
  width: 260px; height: 260px;
  bottom: -100px; left: 20%;
  background: var(--gold-soft);
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

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

/* Sparkles */
.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  padding: 4px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  position: relative;
}
.avatar::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--pink-soft);
  opacity: 0.6;
}
.avatar__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

.name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  margin: 4px 0 0;
  color: var(--pink-deep);
  line-height: 1.1;
}

.handle {
  margin: 0;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 6px 0 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}

.email-line {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px dashed var(--pink-soft);
}
.email-line:hover {
  color: var(--pink-deep);
  border-bottom-color: var(--pink-deep);
}

/* Socials */
.socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--pink-deep);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-btn svg {
  width: 20px;
  height: 20px;
}
.social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, var(--pink), var(--gold));
  color: #fff;
}

/* Link pills */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-full);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}
.link-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(214, 120, 150, 0.22);
}
.link-pill__icon {
  font-size: 1.25rem;
  line-height: 1;
}
.link-pill__text {
  flex: 1;
}
.link-pill__arrow {
  color: var(--text-soft);
  transition: transform 0.2s ease;
}
.link-pill:hover .link-pill__arrow {
  transform: translateX(4px);
  color: var(--pink-deep);
}

.link-pill--accent {
  background: linear-gradient(135deg, var(--pink), #ffb4c6);
  color: #fff;
  border-color: transparent;
}
.link-pill--accent .link-pill__arrow { color: rgba(255,255,255,0.85); }

.link-pill--gold {
  background: linear-gradient(135deg, var(--gold-soft), #fff3d6);
  border-color: rgba(242, 193, 78, 0.4);
}

/* Products */
.products {
  width: 100%;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--pink-deep);
  text-align: center;
  margin: 0 0 18px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(214, 120, 150, 0.22);
}
.product-card__img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.product-card__body {
  padding: 10px 10px 14px;
  text-align: center;
}
.product-card__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}
.product-card__price {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--pink-deep);
  font-weight: 600;
}
.products-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin: 16px 8px 0;
}

/* Footer */
.footer {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__copy {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Entrance animation */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.7s ease forwards;
}
.profile { animation-delay: 0.05s; }
.links { animation-delay: 0.2s; }
.products { animation-delay: 0.35s; }
.footer { animation-delay: 0.5s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; animation: none; }
}

/* Responsive */
@media (max-width: 480px) {
  .name { font-size: 2.2rem; }
  .avatar { width: 92px; height: 92px; }
  .avatar__initials { font-size: 2rem; }
  .stats { gap: 14px; padding: 12px 16px; }
  .product-card__img { font-size: 1.8rem; }
}

@media (min-width: 720px) {
  .page { max-width: 620px; padding-top: 72px; }
}
