:root {
    --bg-color: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-color: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    --button-bg: rgba(255, 255, 255, 0.08);
    --button-hover: rgba(255, 255, 255, 0.15);
    --button-border: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --font-family: 'Inter', sans-serif;
}

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

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

/* Background Animation Placeholder */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1), transparent 40%);
    filter: blur(60px);
}

.container {
    width: 100%;
    max-width: 680px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

/* Profile Section */
.profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.avatar-container {
    padding: 4px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: inline-block;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    object-fit: cover;
    display: block;
}

.username {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape */
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.link-card:hover::before {
    transform: translateX(100%);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
    /* Blue glow matching accent */
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.link-card:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Optional: Add an arrow on hover via pseudo-element for extra flair */
.link-card span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
}