:root {
    --primary-color: #0f172a;
    --secondary-color: #64748b;
    --accent-color: #3b82f6;
    --background-color: #f8fafc;
    --card-bg-color: #ffffff;
    --text-color: #1e293b;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

.dark-theme {
    --primary-color: #f1f5f9;
    --secondary-color: #94a3b8;
    --accent-color: #3b82f6;
    --background-color: #0f172a;
    --card-bg-color: #1e293b;
    --text-color: #f8fafc;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(5deg); }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 1;
}

.profile {
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.profile-content {
    padding: 3rem 2rem;
    text-align: center;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), rgba(99, 102, 241, 0.5));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.bio {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(241, 245, 249, 0.8);
    color: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.dark-theme .link-item {
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.8);
    color: var(--primary-color);
}

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

.link-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.link-item:hover::before {
    left: 100%;
}

.link-item i {
    font-size: 1.25rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Dark mode toggle - for future implementation */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--accent-color);
    transform: rotate(30deg);
}

/* Media Queries */
@media (max-width: 768px) {
    .profile-content {
        padding: 2rem 1.5rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .bio {
        font-size: 1rem;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
    }
    
    .link-item {
        width: 100%;
        justify-content: center;
    }
}