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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #fff;
    min-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);
}

.skills-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    pointer-events: auto;
}

.skills-header {
    margin-bottom: 50px;
    animation: slideDown 0.6s ease-out;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00FF41;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.back-link:hover {
    color: #00FF41;
    border-bottom-color: rgba(0, 255, 65, 0.6);
}

.skills-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.skills-header .subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 300;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.skill-category {
    animation: fadeInUp 0.8s ease-out;
}

.skill-category h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: #00FF41;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 255, 65, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h2 i {
    font-size: 1.3em;
}

.skill-category.soft-skills h2 {
    color: #87ceeb;
    border-bottom-color: rgba(135, 206, 235, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-item {
    background: rgba(3, 15, 8, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-item:hover {
    border-color: rgba(0, 255, 65, 0.6);
    background: rgba(3, 15, 8, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3), 0 8px 32px rgba(0, 255, 65, 0.15);
    transform: translateY(-4px);
}

.skill-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.skill-item p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
}

.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.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;
}

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

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

@media (max-width: 768px) {
    .back-link {
        position: sticky;
        top: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 12px 16px;
        border-radius: 0;
        margin-bottom: 0;
        z-index: 50;
    }

    .skills-header h1 {
        font-size: 2.2rem;
    }

    .skills-header .subtitle {
        font-size: 1rem;
    }

    .skill-category h2 {
        font-size: 1.4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .skill-item {
        padding: 15px;
    }

    .skill-item h3 {
        font-size: 1.1rem;
    }

    .skill-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .skills-header h1 {
        font-size: 1.8rem;
    }

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

    .skill-item {
        padding: 12px;
    }

    .skill-item h3 {
        font-size: 1rem;
    }
}
