/* style.css */

/* Police et couleurs de base */
body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
    color: #e6e6e6;
    font-family: 'Orbitron', sans-serif;
}

/* Header */
header {
    background: #1a1a1a;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}
.logo h1 {
    margin: 0;
    font-size: 2em;
    color: #00ffcc;
    margin-right: 20px;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap : 20px;
}

nav ul li a {
    text-decoration: none;
    color: #e6e6e6;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #00ffcc;
}

/* Contenu principal */
main {
    padding: 40px;
}

/* Futuristic Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 20px 40px;
    border-top: 2px solid #00ffcc;
    color: #e6e6e6;
    font-size: 0.9em;
}
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-logo h2 {
    margin: 0;
    font-size: 1.8em;
    color: #00ffcc;
    letter-spacing: 2px;
}
.footer-logo p {
    margin: 5px 0 0;
    font-style: italic;
    color: #ccc;
}
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.footer-menu ul li {
    margin: 0 15px;
}
.footer-menu ul li a {
    text-decoration: none;
    color: #e6e6e6;
    transition: color 0.3s;
}
.footer-menu ul li a:hover {
    color: #00ffcc;
}
.footer-social a {
    margin: 0 10px;
    color: #e6e6e6;
    font-size: 1.2em;
    transition: color 0.3s;
}
.footer-social a:hover {
    color: #00ffcc;
}
.footer-bottom {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #333;
    padding-top: 10px;
}

/* Liens */
a {
    color: #00ffcc;
}

/* Boutons et formulaires */
button, input[type="submit"] {
    display: block;
    background-color: #00ffcc;
    color: #0d0d0d;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s;
}
button:hover, input[type="submit"]:hover {
    background-color: #00e6b8;
}

/* Formulaire */
form {
    max-width: 400px;
    margin: auto;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
form label {
    display: block;
}
form input, form select, textarea {
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #333;
    border-radius: 3px;
    background-color: #0d0d0d;
    color: #e6e6e6;
    resize: none;
}

/* Profile Page Styles */
.profile-section {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.profile-container {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* Pour les ordinateurs et tablettes */
@media (min-width: 480px) {
    .profile-container {
        width: 90%;
        max-width: 600px;
    }
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 2px solid #00ffcc;
}

.profile-info h2 {
    margin: 0;
    font-size: 2em;
    color: #00ffcc;
}

.bio {
    margin-top: 10px;
    font-style: italic;
    color: #ccc;
}

.profile-details p {
    margin: 5px 0;
}

.profile-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-actions a {
    margin: 0 10px;
    text-decoration: none;
}

/* Boutons personnalisés pour le profil */
.btn-primary,
.btn-secondary,
.btn-tertiary {
    background-color: #00ffcc;
    color: #0d0d0d;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s;
    border-radius: 4px;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-tertiary:hover {
    background-color: #00e6b8;
}

.flash-red {
    animation: flashRed 0.5s alternate infinite;
}
@keyframes flashRed {
    from { background-color: rgba(255, 0, 0, 0.1); }
    to { background-color: rgba(255, 0, 0, 0.5); }
}

/* Conteneur des options de code */
.option-container {
    border: 2px solid #333;
    padding: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}
.option-container:hover {
    border-color: #00ffcc;
}
.option-container.selected {
    border-color: #00ffcc;
    background-color: rgba(0, 255, 204, 0.1);
}

.option-container pre {
    text-wrap: auto;
}

/* Fenêtre modale pour la tête de mort */
.skull-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    justify-content: center;
    align-items: center;
}
.skull-modal img {
    max-width: 200px;
    margin-top: 100px;
}

    /* Bandeau Cookies */
    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(26, 26, 26, 0.95);
        color: #e6e6e6;
        padding: 15px;
        text-align: center;
        z-index: 10000;
        display: none; /* masqué par défaut */
    }
    .cookie-banner-content {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .cookie-banner-content p {
        margin: 0;
        font-size: 0.9em;
    }
    .cookie-banner-content button {
        background-color: #00ffcc;
        color: #0d0d0d;
        border: none;
        padding: 8px 16px;
        font-family: inherit;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .cookie-banner-content button:hover {
        background-color: #00e6b8;
    }
