:root {
    --bg-color: #000;
    --text-color: #fff;
    --accent-color: #ffffff;
    --gray-color: #888;
    --border-color: rgba(255, 255, 255, 0.1);
    --secondary-bg: #0a0a0a;
    --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

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

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    z-index: -1;
}

.lang-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
}

.lang-switch {
    display: flex;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 4px;
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--gray-color);
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.lang-switch button.active {
    background: #fff;
    color: #000;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.lang-content.hidden {
    display: none;
}

.lang-content:not(.hidden) {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.new-project.hidden-delayed {
    opacity: 0;
    animation: popIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.description {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 4rem;
    font-weight: 400;
}

.main-text {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.skills-link {
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(90deg, #fff, #888, #fff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.skills-link:hover {
    text-decoration: underline;
    text-decoration-color: #fff;
}

.new-project {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.new-project .main-text {
    margin-bottom: 0px;
}

.npm-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(203, 56, 55, 0.05);
    border: 1px solid rgba(203, 56, 55, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.npm-link:hover {
    background: rgba(203, 56, 55, 0.1);
    border-color: rgba(203, 56, 55, 0.4);
    transform: translateY(-2px);
}

.npm-logo {
    height: 14px;
    width: auto;
}

.npm-link span {
    color: #fff;
    font-weight: 600;
    font-family: var(--font-mono);
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    .main-text {
        font-size: 1.1rem;
    }
}
