@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

/* vars */
:root {
  --pink:        #f7c5d8;
  --pink-mid:    #f0a0c0;
  --pink-deep:   #e07aa0;
  --lilac:       #d4b8e8;
  --lilac-mid:   #c0a0dc;
  --mint:        #b8e8d4;
  --mint-mid:    #90d4bc;
  --white:       #ffffff;
  --off-white:   #faf5ff;
  --grey-light:  #e8e0ef;
  --grey-mid:    #c8bcd8;
  --grey-dark:   #8a7a9a;
  --text-dark:   #4a3a5a;
  --text-mid:    #7a6a8a;
  --text-light:  #aaa0ba;

  --glass-bg:    rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px rgba(180, 140, 210, 0.18), 0 2px 8px rgba(200, 160, 220, 0.12);
  --glass-hover:  rgba(255, 255, 255, 0.62);

  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --font-display: 'Nunito', sans-serif;
  --font-body:    'Quicksand', sans-serif;
}

/* reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg,
    #f9e6f5 0%,
    #ede0f8 20%,
    #e0eef8 40%,
    #d8f0ea 60%,
    #ede0f8 80%,
    #f8e6f2 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #f7c5d8 0%, #f0a0c0 50%, transparent 70%);
  top: -10%; left: -10%;
  animation-duration: 20s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #d4b8e8 0%, #c0a0dc 50%, transparent 70%);
  top: 30%; right: -8%;
  animation-duration: 25s;
  animation-delay: -7s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #b8e8d4 0%, #90d4bc 50%, transparent 70%);
  bottom: 10%; left: 5%;
  animation-duration: 22s;
  animation-delay: -12s;
}
.orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #e8d4f8 0%, #d4b8e8 50%, transparent 70%);
  bottom: 30%; right: 15%;
  animation-duration: 28s;
  animation-delay: -4s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}

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

.sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: calc(var(--s) * 1.2rem);
  color: var(--pink-deep);
  opacity: 0.6;
  animation: twinkle 3s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50%       { opacity: 0.9; transform: scale(1.3) rotate(20deg); }
}

/* container */
.container {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* cards */
.glass-card {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--radius-lg);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
}

.glass-card:hover {
  background: var(--glass-hover);
  box-shadow: 0 12px 40px rgba(180, 140, 210, 0.28), 0 4px 12px rgba(200, 160, 220, 0.18);
}

.profile-card {
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* avatar */
.avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--pink-mid),
    var(--lilac),
    var(--mint-mid),
    var(--lilac),
    var(--pink-mid)
  );
  animation: spin 6s linear infinite;
  filter: blur(1px);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.avatar-placeholder {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--lilac) 50%, var(--mint) 100%);
  border: 3px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  opacity: 0.9;
}

.avatar-emoji { font-size: 3rem; }

.status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #78e0a0, #50c878);
  border-radius: 50%;
  border: 2.5px solid white;
  z-index: 2;
  box-shadow: 0 0 6px rgba(80, 200, 120, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(80, 200, 120, 0.6); }
  50%       { box-shadow: 0 0 12px rgba(80, 200, 120, 0.9), 0 0 20px rgba(80, 200, 120, 0.4); }
}

/* profile */
.profile-info { display: flex; flex-direction: column; gap: 4px; }

.username {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.verified {
  color: var(--pink-deep);
  font-size: 1.1rem;
}

.handle {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.bio {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-top: 4px;
}

.bio-tag {
  display: inline-block;
  background: rgba(200, 140, 200, 0.15);
  color: var(--lilac-mid);
  border: 1px solid rgba(200, 140, 200, 0.3);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 2px 2px 0;
}

/* stats */
.stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.6);
  width: 100%;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--grey-mid);
  opacity: 0.5;
}

/* socials row */
.social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 40px;
  transition: color 0.2s, transform 0.15s, background 0.2s;
  white-space: nowrap;
}

.social-pill svg { flex-shrink: 0; }

.social-pill:hover {
  color: var(--pink-deep);
  transform: translateY(-2px) scale(1.04);
}

/* links cards */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.link-card:hover::before { transform: translateX(100%); }

.link-card:hover { transform: translateY(-2px); }

.link-featured {
  background: rgba(247, 197, 216, 0.45);
  border-color: rgba(240, 160, 192, 0.5);
}

.link-featured:hover {
  background: rgba(247, 197, 216, 0.65);
}

.link-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(180, 140, 210, 0.15);
  border: 1px solid rgba(255,255,255,0.8);
  font-size: 1.35rem;
  transition: transform 0.2s;
}

.link-icon-wrap video {
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  opacity: 0.9;
}

.link-card:hover .link-icon-wrap { transform: scale(1.1) rotate(-4deg); }

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.link-subtitle {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 500;
}

.link-arrow {
  font-size: 1.4rem;
  color: var(--grey-mid);
  font-weight: 300;
  transition: transform 0.2s, color 0.2s;
}

.link-card:hover .link-arrow {
  transform: translateX(4px);
  color: var(--pink-deep);
}

.link-badge {
  position: absolute;
  top: -3px;
  right: 14px;
  background: linear-gradient(135deg, var(--pink-deep), var(--lilac-mid));
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(180, 100, 160, 0.35);
}

/* pic grid */
.photo-grid-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.photo-tile {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.4);
  transition: transform 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.photo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,197,216,0.3) 0%, rgba(212,184,232,0.3) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-tile:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,0.58);
}
.photo-tile:hover::after { opacity: 1; }

.see-more-btn {
  display: inline-block;
  padding: 10px 24px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  border-radius: 40px;
  transition: color 0.2s, transform 0.15s, background 0.2s;
}

.see-more-btn:hover {
  color: var(--pink-deep);
  transform: translateY(-2px);
}

/* footer */
.site-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  padding-top: 8px;
  animation: slideUp 0.6s ease 0.4s both;
}

.site-footer a {
  color: var(--pink-deep);
  text-decoration: none;
}

/* anims */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--pink-mid), var(--lilac-mid));
  border-radius: 10px;
}

/* responsive */
@media (max-width: 480px) {
  .container { padding: 20px 12px 40px; gap: 12px; }
  .username { font-size: 1.5rem; }
  .social-pill span { display: none; }
  .social-pill { padding: 10px 12px; }
  .profile-card { padding: 24px 16px 18px; }
}

@media (min-width: 600px) {
  .container { padding: 48px 24px 64px; }
  .photo-tile { font-size: 2.5rem; }
}
