/* 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-devil {
    position: relative;
    font-size: 3em;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff4500;
    animation: glow 1.5s infinite alternate;
}
.neon-devil::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff4500;
    text-shadow: 0 0 10px #ff4500, 0 0 20px #ff0000;
    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: #ff4500;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    text-shadow: 0 0 5px #ff4500;
    position: absolute;
    top: 10px;
    right: 10px;
}
nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    transition: all 0.3s ease;
}
.nav-link {
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.nav-link:hover {
    text-shadow: 0 0 10px #ff4500, 0 0 20px #ff0000;
}
.nav-progress {
    height: 3px;
    background: #ff4500;
    width: 0;
    transition: width 0.3s;
}

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

/* Tool – DevilFork */
.tool {
    text-align: center;
}
.tool button {
    background: linear-gradient(45deg, #ff0000, #ff4500, #ff0000);
    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 #ff0000, 0 0 20px #ff4500;
    transition: all 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}
.tool button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #ff0000, 0 0 40px #ff4500;
    background: linear-gradient(45deg, #ff4500, #ff0000);
}
.tool button:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px #ff0000, 0 0 10px #ff4500;
}
#result {
    margin-top: 10px;
    color: #ff4500;
}
.tool a {
    color: #ff4500;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}
.tool a:hover {
    text-shadow: 0 0 5px #ff4500;
}

/* Effet Glow pour DevilFork */
.devil-glow {
    animation: devilGlow 1.5s infinite alternate;
}
@keyframes devilGlow {
    from {
        text-shadow: 0 0 5px #ff0000;
    }
    to {
        text-shadow: 0 0 15px #ff4500, 0 0 25px #ff0000;
    }
}

/* Flash pour chaque processus DevilFork */
.fork-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 #ff0000;
    }
    to {
        text-shadow: 0 0 20px #ff4500, 0 0 30px #ff0000;
    }
}
@keyframes glow-reverse {
    from {
        text-shadow: 0 0 10px #ff4500;
    }
    to {
        text-shadow: 0 0 20px #ff0000, 0 0 30px #ff4500;
    }
}
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .neon-devil {
        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, 69, 0, 0.5);
    }
    nav ul.active {
        display: flex;
    }
    .nav-link {
        padding: 10px;
        text-align: center;
        width: 100%;
    }
    .nav-progress {
        height: 2px;
    }
}

/* Style pour le titre "Notre cadeau" */
.gift-title {
    text-align: center;
    font-size: 2.5em;
    color: #ffcc00;
    text-shadow: 
        0 0 10px #ffcc00, 
        0 0 20px #ff9900, 
        0 0 30px #ff6600;
    animation: glow-gift 1.5s infinite alternate, sparkle 2s infinite;
}

/* Animation de scintillement */
@keyframes sparkle {
    0% { text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900, 0 0 30px #ff6600; }
    50% { text-shadow: 0 0 15px #ffd700, 0 0 25px #ffcc00, 0 0 35px #ff9900; }
    100% { text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900, 0 0 30px #ff6600; }
}

/* Animation de glow pulsant */
@keyframes glow-gift {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}