:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --surface: #0f0f23;
    --surface-elevated: #1a1a2e;
    --surface-hover: #252547;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6b6b8a;
    --border: #2a2a4a;
    --border-hover: #3a3a5a;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile_picture {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile_picture:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.social_icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.social_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social_link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
    z-index: 1;
}

.social_link:hover::before {
    left: 0;
}

.social_icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: var(--transition);
    filter: brightness(0.8);
}

.social_link:hover .social_icon {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.social_link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tools_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tool_card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.tool_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    transition: var(--transition);
}

.tool_card:hover::before {
    left: 0;
}

.tool_card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tool_description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.special_links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.special_link {
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.special_link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-hover);
    transition: var(--transition);
}

.special_link:hover::before {
    left: 0;
}

.special_link span {
    position: relative;
    z-index: 2;
}

.special_link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.language_selector {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.language_select {
    padding: 0.6rem 1rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.language_select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.github_corner {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    opacity: 0.8;
    transition: var(--transition);
}

.github_corner:hover {
    opacity: 1;
    transform: scale(1.1);
}

.github_corner svg {
    fill: var(--primary);
    color: var(--surface);
}

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

    .name {
        font-size: 2rem;
    }

    .tools_grid {
        grid-template-columns: 1fr;
    }

    .special_links {
        grid-template-columns: 1fr;
    }

    .social_icons {
        gap: 1rem;
    }

    .social_link {
        width: 44px;
        height: 44px;
    }

    .language_selector {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .profile_picture {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 1.8rem;
    }

    .tool_card {
        padding: 1.2rem;
    }
}

.fade_in {
    animation: fadeIn 0.8s ease-in-out;
}

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

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