@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  /* Colors extracted from the avatar */
  --primary: #facc15;   /* Vibrant Yellow */
  --secondary: #4ade80; /* Lime Green */
  --bg-dark: #000000;
  --bg-card: rgba(255, 255, 255, 0.08); /* Slightly more visible on black */
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  /* Darker, flatter background to make the colorful avatar pop */
  background: radial-gradient(circle at top center, #27272a, #09090b);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  padding: 2rem;
}

/* Background Animation Elements */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 50px); }
}

/* Main Container */
.container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  z-index: 1;
}

/* Profile Section */
.profile-header {
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease-out;
}

.avatar-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transition: var(--transition);
}

.avatar-container:hover .avatar {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Grid Layout */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Glass Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.5rem;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Icons */
.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-content {
  text-align: left;
  flex-grow: 1;
}

.card-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.card-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-arrow {
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-main);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .container { padding: 1rem; }
  .link-grid { grid-template-columns: 1fr; }
}

@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); }
}
