:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(56, 189, 248, 0.5);
    --hover-bg: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.15), transparent 25%);
    animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.container {
    padding: 2rem;
    width: 100%;
    max-width: 480px;
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.profile-image-placeholder {
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-border);
    color: var(--text-secondary);
}

.profile-image-placeholder svg {
    width: 48px;
    height: 48px;
}

h1 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-item:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px -5px var(--accent-glow);
}

.link-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.link-item:hover .icon {
    color: #fff;
}

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

/* Staggered animation for links */
.link-item {
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-item:nth-child(1) {
    animation-delay: 0.2s;
}

.link-item:nth-child(2) {
    animation-delay: 0.3s;
}

.link-item:nth-child(3) {
    animation-delay: 0.4s;
}

.link-item:nth-child(4) {
    animation-delay: 0.5s;
}

.link-item:nth-child(5) {
    animation-delay: 0.6s;
}

.link-item:nth-child(6) {
    animation-delay: 0.7s;
}

/* Responsive tweaks */
/* Responsive tweaks */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    .profile-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
        margin: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .profile-image-placeholder {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem;
    }

    .profile-image-placeholder svg {
        width: 40px;
        height: 40px;
    }

    .link-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 380px) {
    .profile-card {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    .link-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .link-item svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-height: 700px) {
    .profile-card {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .profile-image-placeholder {
        width: 72px;
        height: 72px;
        margin-bottom: 1rem;
    }

    p {
        margin-bottom: 1.5rem;
    }
}