body {
    font-family: 'Neue Montreal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

header {
    background: linear-gradient(to right, #111, #1a1a1a);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 4px solid #ff1493;
    overflow: hidden;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 5px #fff,
                     0 0 10px #fff,
                     0 0 20px #ff0080,
                     0 0 30px #ff0080,
                     0 0 40px #ff0080;
        transform: scale(1) translateZ(0);
    }
    50% {
        text-shadow: 0 0 10px #fff,
                     0 0 20px #fff,
                     0 0 30px #ff1493,
                     0 0 40px #ff1493,
                     0 0 50px #ff1493;
        transform: scale(1.01) translateZ(0);
    }
}

header h1 {
    font-size: 4rem;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    animation: neonPulse 2s ease-in-out infinite;
    letter-spacing: 4px;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #ff1493;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.additional-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.additional-content h2 {
    color: #3498db;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.additional-content p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.description-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.image-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

@keyframes glowText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Reprendre les mêmes animations que corese pour fadeIn, fadeInUp, etc. */

.project-overview {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.gallery-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.gallery-section h2 {
    color: #ff1493;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

footer {
    background: linear-gradient(to right, #111, #1a1a1a);
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 4px solid #ff1493;
    animation: fadeIn 1s ease-out;
}

footer a {
    color: #ff1493;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff69b4;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff1493;
}

.button-container {
    text-align: center;
    margin: 4rem 0;
}

.github-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.button-icon {
    font-size: 1.4rem;
}

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

    .project-overview {
        padding: 0 1rem;
    }

    .description-card {
        padding: 1rem;
    }

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

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .github-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .button-icon {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 375px) {
    header {
        padding: 2rem 0;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description-card {
        margin-bottom: 2rem;
    }

    .skill-item {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2rem;
    }

    .gallery-section {
        margin: 2rem auto;
    }

    .gallery-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .button-container {
        margin: 2rem 0;
    }

    .github-button {
        width: 80%;
        justify-content: center;
    }

    footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
        font-size: 0.9rem;
    }
}