/* Général */
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* Arrière-plan avec flammes */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('9FVp.gif') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

/* Image de bannière fixe */
header.main-header {
    position: relative;
    background: url('pctamalou_ban.png') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

header.main-header .banner h1 {
    font-size: 2.5rem;
    color: transparent; /* Nécessaire pour le dégradé */
    background: linear-gradient(45deg, #ff0000, #ff4500, #ff6347); /* Dégradé rouge */
    background-clip: text;
    -webkit-background-clip: text; /* Compatibilité Webkit */
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5); /* Lueur rouge douce */
    text-align: center;
}

header.main-header .banner p {
    font-size: 1.2rem;
    color: #dddddd;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); /* Légère lueur pour le sous-texte */
}

/* Navigation */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
}

header nav ul li a {
    color: #00ccff;
    text-decoration: none;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffffff;
}

/* Section d'intro */
.intro {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
}

.intro h1 {
    font-size: 2.5rem;
    color: #00ccff;
    text-shadow: 0 0 10px #0066ff;
}

.intro p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #b0b0b0;
}

/* Cartes tutoriels */
.tutoriaux {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
}

.tutoriel-card {
    width: 250px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #0066ff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.tutoriel-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.tutoriel-card h2 {
    color: #00ccff;
    margin-bottom: 0.5rem;
}

.tutoriel-card p {
    font-size: 1rem;
    color: #b0b0b0;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #00ccff;
}

/* Section pour le cœur néon */
.neon-heart {
    position: relative;
    display: inline-block;
    color: #00ccff; /* Couleur du cœur */
    font-size: 1.5rem; /* Taille du cœur */
    text-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff, 0 0 30px #00ffff; /* Effet de lueur */
    animation: pulse 1.5s infinite ease-in-out;
}

/* Animation d'ondes bleutées */
.neon-heart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(0, 204, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: wave 2s infinite ease-out;
    z-index: -1; /* Onde derrière le cœur */
}

.neon-heart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    background: rgba(0, 204, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: wave 3s infinite ease-out;
    z-index: -1; /* Onde derrière le cœur */
}

/* Animation pulsation du cœur */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff, 0 0 30px #00ffff;
    }
    50% {
        transform: scale(1.2);
        text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
    }
}

/* Animation d'ondes */
@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Corps du tutoriel */
.tutorial-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #0066ff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

/* Titres principaux */
.tutorial-content h1,
.tutorial-content h2 {
    color: #00ccff;
    text-shadow: 0 0 10px #0066ff;
    border-bottom: 2px solid rgba(0, 102, 255, 0.5);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Paragraphes */
.tutorial-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Listes */
.tutorial-content ul {
    padding-left: 2rem;
    margin: 1rem 0;
}

.tutorial-content ul li {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.tutorial-content ul li::marker {
    color: #00ccff;
}

/* Boutons pour navigation ou actions */
.tutorial-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    color: #ffffff;
    background: linear-gradient(45deg, #0066ff, #00ccff);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tutorial-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

/* Conteneur pour le code */
.code-block {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 10px;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    overflow-x: auto;
    box-shadow: inset 0 0 10px rgba(0, 102, 255, 0.5);
}

.code-block pre {
    margin: 0;
}

.code-block code {
    color: #00ccff;
}

/* Conteneur pour les exemples */
.example {
    background: rgba(0, 255, 255, 0.1);
    padding: 1rem;
    border-left: 5px solid #00ccff;
    border-radius: 10px;
    margin: 1rem 0;
}

.example p {
    margin: 0;
    color: #b0f0ff;
}

/* Sections spécifiques */
.tutorial-section {
    margin-bottom: 2rem;
}

.tutorial-section h2 {
    margin-top: 2rem;
    font-size: 1.8rem;
}

.tutorial-section h3 {
    font-size: 1.5rem;
    color: #00ccff;
    text-shadow: 0 0 8px #0066ff;
    margin-top: 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(0, 102, 255, 0.5);
}

/* Images */
.tutorial-content img {
    max-width: 100%;
    border: 1px solid #0066ff;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

/* Navigation dans le tutoriel */
.tutorial-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.tutorial-navigation a {
    color: #00ccff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.tutorial-navigation a:hover {
    color: #ffffff;
}

/* Alertes */
.alert {
    padding: 1rem;
    border-left: 5px solid #ff4500;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 10px;
    color: #ff4500;
    margin: 1rem 0;
}

.alert strong {
    font-weight: bold;
}
