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

/* Corps */
body {
    background: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    padding: 20px;
}

/* Header */
header { text-align: center; padding: 30px; }
.neon-pink {
    position: relative;
    font-size: 3em;
    color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493;
    animation: glow 1.5s infinite alternate;
}
.neon-pink::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493, 0 0 20px #ff69b4;
    animation: glow-reverse 1.5s infinite alternate;
    z-index: -1;
}
.intro { color: #ccc; font-size: 1.1em; margin-top: 10px; }

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: #000;
    padding: 10px 0;
    z-index: 1000;
}
.nav-toggle {
    display: none; /* Caché sur grand écran */
    background: none;
    border: none;
    color: #ff69b4;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    text-shadow: 0 0 5px #ff69b4;
    position: absolute;
    top: 10px;
    right: 10px;
}
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    transition: all 0.3s ease;
}
.nav-link {
    color: #ff69b4;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    padding: 5px;
}
.nav-link:hover {
    text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493;
}
.nav-progress {
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    width: 0;
    transition: width 0.3s;
}

/* Sections */
section { margin: 20px 0; max-width: 800px; margin-left: auto; margin-right: auto; }
h2 { color: #ff1493; text-shadow: 0 0 5px #ff1493; margin-bottom: 15px; }
h3 { color: #ff69b4; margin-top: 20px; }
p { color: #ddd; margin-bottom: 10px; }
ul { list-style: none; padding-left: 20px; }
li { margin: 15px 0; }
li strong { color: #ff69b4; }
code { background: #222; padding: 2px 6px; color: #ff1493; border-radius: 3px; }

/* Tool */
.tool { text-align: center; }
.tool button {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493;
    transition: all 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}
.tool button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #ff69b4, 0 0 40px #ff1493;
}
.tool button:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px #ff69b4, 0 0 10px #ff1493;
}
#result { margin-top: 10px; color: #ff1493; font-weight: bold; }
.tool a {
    color: #ff1493;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}
.tool a:hover { text-shadow: 0 0 5px #ff69b4; }

/* PinkBoot Animations */
.pink-glow {
    animation: pinkGlow 1.5s infinite alternate;
}
@keyframes pinkGlow {
    from { text-shadow: 0 0 5px #ff69b4; }
    to { text-shadow: 0 0 15px #ff1493, 0 0 25px #ff69b4; }
}
.boot-flash {
    display: inline-block;
    animation: flash 0.5s ease-out;
}
@keyframes flash {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Footer */
footer { text-align: center; padding: 20px; color: #888; font-size: 0.9em; }

/* Animations */
@keyframes glow {
    from { text-shadow: 0 0 10px #ff69b4; }
    to { text-shadow: 0 0 20px #ff1493, 0 0 30px #ff69b4; }
}
@keyframes glow-reverse {
    from { text-shadow: 0 0 10px #ff1493; }
    to { text-shadow: 0 0 20px #ff69b4, 0 0 30px #ff1493; }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 600px) {
    .neon-pink { font-size: 1.8em; }
    section { padding: 10px; }
    .tool button { padding: 10px 20px; font-size: 1em; }
    /* Navigation responsive */
    .nav-toggle { display: block; }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #000;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(255, 105, 180, 0.5);
    }
    nav ul.active { display: flex; }
    .nav-link {
        padding: 10px;
        text-align: center;
        width: 100%;
    }
    .nav-progress { height: 2px; }
}