@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    color: #000;
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

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

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.container {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: lowercase;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    color: #1a1a1a;
    z-index: 2;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: expandLine 1s ease-out 0.5s both;
}

.links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 2rem;
    flex-wrap: wrap;
}

.link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #6366f1;
    transition: width 0.3s ease;
}

.link:hover {
    color: #6366f1;
}

.link:hover::before {
    width: 100%;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem 2rem;
    z-index: 2;
}

.lang-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: inherit;
}

.lang-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.lang-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.lang-btn.active:hover {
    background: #4f46e5;
    border-color: #4f46e5;
}

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

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .links {
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .link {
        font-size: 1rem;
    }
    
    .language-switcher {
        padding: 1rem 1rem 1.5rem;
    }
    
    .lang-btn {
        font-size: 0.85rem;
        padding: 0.35rem 0.8rem;
    }
}
