* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin: 1rem;
}

.profile {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.name {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: #f8fafc;
    margin: 0.5rem 0;
    font-weight: 700;
}

.bio {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: 0 1rem;
}

.links {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 0 0.5rem;
}

.link-item {
    background: rgba(51, 65, 85, 0.9);
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #f8fafc;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    gap: 0.5rem;
}

.link-item:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.link-item:hover .icon {
    transform: scale(1.1);
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem 0;
    padding: 0 1rem;
}

.tag {
    background: rgba(37, 99, 235, 0.8);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tag:hover {
    background: rgba(37, 99, 235, 1);
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .links {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .bio {
        padding: 0;
    }
    
    .tags {
        padding: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    .link-item {
        opacity: 0;
        animation: slideUp 0.5s ease forwards;
        animation-delay: calc(var(--order) * 0.1s);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}