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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

#canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000000;
}

.header-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-toggle {
    display: inline-block;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-family: inherit;
}

.lang-toggle:hover {
    background: #2a2a2a;
    border-color: #444444;
}

.lang-toggle:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.resume-link {
    display: inline-block;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #333333;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.resume-link:hover {
    background: #2a2a2a;
    border-color: #444444;
}

.resume-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.container {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
    font-weight: 300;
}

.description {
    font-size: 14px;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 35px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.projects-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.projects-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.category-group {
    margin-bottom: 30px;
}

.category-group:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 0;
    list-style: none;
    padding: 0;
}

.projects-grid li {
    margin: 0;
}

.project-card {
    background: #0a0a0a;
    padding: 14px;
    border: 1px solid #333333;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, background 0.2s;
}

.project-card:hover {
    border-color: #555555;
    background: #0f0f0f;
}

.project-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.project-card.coming-soon:hover {
    border-color: #333333;
    background: #0a0a0a;
}

.project-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.project-description {
    font-size: 12px;
    color: #bbbbbb;
    line-height: 1.4;
}

.coming-soon-badge {
    display: inline-block;
    background: #333333;
    color: #cccccc;
    font-size: 12px;
    padding: 4px 12px;
    margin-top: 12px;
    font-weight: 500;
    border: 1px solid #444444;
    border-radius: 8px;
}

.footer {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #666666;
    font-size: 13px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: #bbbbbb;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #333333;
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
    color: #ffffff;
    border-color: #555555;
    background: #1a1a1a;
}

.social-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-copyright {
    margin-top: 15px;
}

.footer-email {
    color: #bbbbbb;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.footer-email:hover {
    color: #ffffff;
}

.footer-email:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .header-nav {
        top: 10px;
        right: 10px;
        gap: 8px;
    }

    .lang-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }

    .resume-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .container {
        padding: 30px 20px;
    }

    .logo {
        font-size: 28px;
    }

    .tagline {
        font-size: 14px;
    }

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

/* Accessibility: Focus indicators */
*:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 4px;
}

.skip-link:focus {
    top: 0;
}

