@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Inter:wght@400;600;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #0d0d11 0%, #171821 40%, #1e1f2d 70%, #12131a 100%);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-hover-bg: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(255, 255, 255, 0.25);
  --accent-purple: #7928ca;
  --accent-pink: #ff0080;
  --accent-cyan: #00dfd8;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --font-title: 'Agbalumo', cursive, system-ui;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
  overflow-x: hidden;
  position: relative;
}

/* Background animated glow orbs */
body::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.25) 0%, rgba(255, 0, 128, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(1); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.container {
  width: 100%;
  max-width: 680px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Header Section */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: fadeInDown 0.8s ease-out;
}

.avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-cyan));
  box-shadow: 0 10px 30px rgba(121, 40, 202, 0.4);
  transition: var(--transition);
}

.avatar-wrapper:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 15px 40px rgba(255, 0, 128, 0.5);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #1e1e1e;
  border: 3px solid #12131a;
}

.profile-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 30%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.welcome-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.welcome-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.welcome-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 14px;
}

.badge-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Section Title */
.section-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out;
}

.section-header {
  font-family: var(--font-title);
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Links Grid & Stack */
.links-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.link-card:hover::before {
  left: 100%;
}

.link-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.1);
}

.link-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 16px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.link-icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.link-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.link-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.link-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  margin-left: 10px;
}

.link-card:hover .arrow-icon {
  fill: #ffffff;
  transform: translateX(4px);
}

/* Footer */
footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

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

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

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 24px 14px 60px;
  }
  .avatar-wrapper {
    width: 120px;
    height: 120px;
  }
  .profile-title {
    font-size: 1.9rem;
  }
  .welcome-card {
    padding: 18px 14px;
  }
  .link-card {
    padding: 14px 14px;
  }
  .link-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  .link-title {
    font-size: 1.05rem;
  }
}
