:root {
    --primary-bg: #0f172a;
    --text-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --glass-blur: blur(16px);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-bg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.15), transparent 25%);
    z-index: -1;
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

/* Profile Section */
.profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInDown 0.8s ease-out;
}

.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background-color: #10b981;
    border: 2px solid var(--primary-bg);
    border-radius: 50%;
}

.name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.name span {
    background: var(--card-hover-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
    max-width: 300px;
    line-height: 1.5;
}

/* Links Section */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

/* Staggered animation delays */
.link-card:nth-child(1) { animation-delay: 0.2s; }
.link-card:nth-child(2) { animation-delay: 0.3s; }
.link-card:nth-child(3) { animation-delay: 0.4s; }
.link-card:nth-child(4) { animation-delay: 0.5s; }
.link-card:nth-child(5) { animation-delay: 0.6s; }
.link-card:nth-child(6) { animation-delay: 0.7s; }

.link-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link-icon {
    font-size: 1.25rem;
    width: 24px;
    display: flex;
    justify-content: center;
}

.link-text {
    font-weight: 500;
    letter-spacing: 0.01em;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.8);
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Social Footer */
.socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.social-link {
    color: rgba(248, 250, 252, 0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Keyframes */
@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); }
}

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

/* Footer Badge */
.footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
    text-align: center;
}
