/* ============================================
   style.css — @itsarafat100k Linktree
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg:       #0d0d11;
  --surface:  #16161d;
  --accent-1: #7ee8fa;
  --accent-2: #ee9ca7;
  --accent-3: #a78bfa;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; }

body {
  background-color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Background Glow --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(126,232,250,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(167,139,250,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 60% 40%, rgba(238,156,167,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* --- Avatar --- */
.avatar-ring {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  border-radius: 50%;
  padding: 3px;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(126,232,250,0.25));
}

.avatar-inner {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg);
  display: block;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Typography --- */
.username {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.bio {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  font-weight: 400;
  max-width: 260px;
  line-height: 1.55;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

.heart {
  color: rgba(238,156,167,0.5);
}

/* --- Social Icons --- */
.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
}

.social-icon:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}

/* --- Link Cards --- */
.link-card {
  background: #ffffff;
  border-radius: 9999px;
  padding: 10px 16px 10px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126,232,250,0.08), rgba(167,139,250,0.08));
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: 9999px;
}

.link-card:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f14, #1e1e2e);
}

.card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0d0d11;
  line-height: 1.2;
}

.card-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.3;
}

.arrow-icon {
  margin-left: auto;
  color: #d1d5db;
  flex-shrink: 0;
}

/* --- Divider --- */
.subtle-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: 6px 0;
}

/* --- Entrance Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.55s ease both; }

.delay-1  { animation-delay: 0.05s; }
.delay-2  { animation-delay: 0.12s; }
.delay-3  { animation-delay: 0.19s; }
.delay-4  { animation-delay: 0.26s; }
.delay-5  { animation-delay: 0.33s; }
.delay-6  { animation-delay: 0.40s; }
.delay-7  { animation-delay: 0.47s; }
.delay-8  { animation-delay: 0.54s; }
.delay-9  { animation-delay: 0.61s; }
.delay-10 { animation-delay: 0.68s; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 0px; }
