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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    filter: brightness(1.4) contrast(1.2);
}

.content {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    text-align: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in;
}

.subtitle {
    font-size: 1.5rem;
    color: #00FF41;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeIn 1.5s ease-in;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.info {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 600px;
    animation: fadeIn 2s ease-in;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    pointer-events: auto;
    animation: fadeIn 2.5s ease-in;
}

.links a {
    padding: 10px 20px;
    border: 1px solid #00FF41;
    color: #00FF41;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links a i {
    font-size: 1.1em;
}

.links a svg.icon-inline {
    width: 1.1em;
    height: 1.1em;
    display: inline;
    vertical-align: -0.125em;
    margin-right: 4px;
}

.links a:hover {
    background-color: #00FF41;
    color: #0a0e27;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6), inset 0 0 10px rgba(0, 255, 65, 0.3);
}

.links a.nav-link {
    border: 2px solid #00FF41;
    background: rgba(0, 212, 255, 0.05);
}

.links a.nav-link:hover {
    background-color: #00FF41;
    color: #0a0e27;
}

.projects {
    margin-top: 50px;
    max-width: 700px;
    pointer-events: auto;
    animation: fadeIn 3s ease-in;
}

.projects h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 25px;
    color: #00FF41;
    letter-spacing: 1px;
}

.project-card {
    background: rgba(3, 15, 8, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(3, 15, 8, 0.9);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #fff;
}

.project-card p {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-details {
    font-size: 0.85rem !important;
    color: #999 !important;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    justify-content: center;
}

.tech-tags span {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00FF41;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    display: inline-block;
    margin-top: 12px;
    color: #00FF41;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.project-link:hover {
    color: #00f0ff;
    border-bottom-color: rgba(0, 212, 255, 0.6);
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.85rem;
    color: #ffffff;
    pointer-events: auto;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

.footer a:hover {
    color: #00FF41;
}

/* Custom scrollbar styling */
.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

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

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .info {
        font-size: 1rem;
    }

    .links {
        gap: 12px;
    }

    .links a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .projects {
        max-width: 90%;
        margin-top: 40px;
    }

    .project-card {
        padding: 18px;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .tech-tags {
        gap: 6px;
    }

    .tech-tags span {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}
