/* --- YEE STUDIO — LINK-IN-BIO DESIGN SYSTEM --- */

:root {
  /* Brand Colors - Updated to match official reference */
  --color-bg:        #01010b; /* Deeper black-navy */
  --color-surface:   rgba(15, 15, 26, 0.6);
  --color-surface-2: rgba(22, 22, 36, 0.8);
  --color-border:    rgba(255, 255, 255, 0.05);
  --color-border-2:  rgba(255, 255, 255, 0.1);

  /* Accents - More vibrant */
  --color-blue:      #4FAFFC;
  --color-orange:    #E39046;
  --grad-brand:      linear-gradient(135deg, var(--color-blue) 0%, var(--color-orange) 100%);
  --grad-glow:       linear-gradient(135deg, rgba(79, 175, 252, 0.15), rgba(227, 144, 70, 0.1));

  /* Typography */
  --font-display:    'Syne', sans-serif; /* Keep Syne but will use heavier weights */
  --font-body:       'Inter', sans-serif;

  /* UI Tokens */
  --radius:          20px; /* More rounded */
  --radius-full:     100px;
  --transition:      0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:          0 10px 40px rgba(0,0,0,0.8);
  --shadow-accent:   0 8px 32px rgba(79, 175, 252, 0.2);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: #e8e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Grids & Glows */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(74,159,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,159,212,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-glow-1 {
  position: absolute;
  top: -10%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,159,212,0.1) 0%, transparent 70%);
}

.bg-glow-2 {
  position: absolute;
  bottom: -10%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,132,42,0.08) 0%, transparent 70%);
}

/* Link-in-Bio Container */
.linktree-container {
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Profile Header */
.profile {
  margin-bottom: 48px;
  animation: fadeInDown 0.8s ease backwards;
}

.profile-img-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  padding: 4px;
  background: var(--grad-brand);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px rgba(74, 159, 212, 0.3);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-surface);
  object-fit: contain;
  border: 4px solid var(--color-bg);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-bio {
  font-size: 0.95rem;
  color: #7a7a90;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

/* Link Cards */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.link-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 16px 20px; /* Slightly more compact */
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px); /* Glassmorphism */
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease backwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.link-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(74, 159, 212, 0.5);
  box-shadow: var(--shadow-accent);
}

.link-card:hover::before {
  opacity: 0.08;
}

.link-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  position: relative;
  z-index: 1;
  color: var(--color-blue);
  transition: var(--transition);
}

.link-card:hover .link-icon {
  color: var(--color-orange);
  transform: scale(1.1) rotate(-5deg);
}

.link-title {
  flex: 1;
  font-family: 'Space Grotesk', var(--font-display);
  font-size: 0.95rem; /* Slightly smaller for premium look */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  color: #fff;
  position: relative;
  z-index: 1;
}

.link-arrow {
  width: 18px;
  height: 18px;
  color: #4a4a60;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.link-card:hover .link-arrow {
  color: #fff;
  transform: translateX(4px);
}

/* Social Media Row */
.socials-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: fadeIn 1s ease 0.8s backwards;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(232, 132, 42, 0.3);
  border-color: transparent;
}

.social-link svg {
  width: 20px; height: 20px;
}

/* Logo Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 32px 0;
  opacity: 0.3;
}

.divider span {
  height: 1px;
  background: var(--color-border-2);
  flex: 1;
}

.divider-dot {
  width: 4px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 50%;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  body { padding: 40px 16px; }
  .profile-name { font-size: 1.5rem; }
}
