/* Design System 2026 */
:root {
    --bg-color: #050508;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Ambient Background Effects */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    animation: bgPulse 20s infinite alternate ease-in-out;
}

.ambient-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
}

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

/* Container & Layout */
.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    text-align: center;
    z-index: 1;
    animation: fadeIn 1.2s ease-out forwards;
}

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

/* Profile Header */
.profile-header {
    margin-bottom: 2.5rem;
}

.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--accent-gradient);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: var(--transition-smooth);
}

.avatar-wrapper:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #18181b;
    display: block;
}

.title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
}

.glow-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* Bio Section */
.bio-section {
    margin-bottom: 3rem;
}

.bio-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.links-grid {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.contact-link .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-link:hover .icon {
    color: var(--text-primary);
    transform: scale(1.1);
}

.contact-link.vk:hover {
    box-shadow: 0 10px 25px rgba(76, 117, 163, 0.3);
    border-color: rgba(76, 117, 163, 0.5);
}

.contact-link.telegram:hover {
    box-shadow: 0 10px 25px rgba(34, 158, 217, 0.3);
    border-color: rgba(34, 158, 217, 0.5);
}

.contact-link small {
    font-weight: 400;
    opacity: 0.7;
    margin-left: 0.25rem;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .bio-text {
        font-size: 1.05rem;
    }
    
    .links-grid {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
    }
}
