/* ============================= */
/* 🎮 THÈME RÉTRO COMPLET GAMING */
/* ============================= */

body {
    font-family: 'Press Start 2P', monospace !important;
    background: radial-gradient(circle at top, #2b2e4a, #000);
    color: #00ffcc;
    text-shadow: 1px 1px 0 #000;
}

/* Effet scanlines rétro */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03),
                                          rgba(255,255,255,0.03) 1px,
                                          rgba(0,0,0,0.08) 2px,
                                          rgba(0,0,0,0.08) 4px
    );
    z-index: 9999;
}

/* ============================= */
/* HEADER */
/* ============================= */

body > header {
    border-bottom: 4px solid #00ffcc;
    box-shadow: 0 0 20px cyan;
}

header h1 {
    border: 2px solid #00ffcc;
    box-shadow: 0 0 10px cyan;
    text-transform: uppercase;
}

/* ============================= */
/* MENU */
/* ============================= */

nav > ul {
    background: black !important;
    border-bottom: 3px solid #00ffcc;
}

nav a {
    color: #00ffcc !important;
    text-shadow: 2px 2px 0 black;
}

nav a:hover {
    background: #00ffcc !important;
    color: black !important;
}

/* ============================= */
/* SECTIONS */
/* ============================= */

section {
    background: #070707;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px #00ffcc;
}

section > h2 {
    background: black;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 10px cyan;
}

/* ============================= */
/* BOUTONS */
*/
button,
input[type=submit],
input[type=reset] {
    font-family: 'Press Start 2P', monospace;
    background: black;
    color: #00ffcc;
    border: 3px solid #00ffcc;
    padding: 10px 14px;
    box-shadow: 0 0 10px #00ffcc;
    transition: 0.15s;
}

button:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background: #00ffcc;
    color: black;
    transform: scale(1.05);
}

/* ============================= */
/* LIENS */
/* ============================= */

a {
    color: #00ffcc !important;
}

a:hover {
    color: yellow !important;
}

/* ============================= */
/* TABLEAUX */
/* ============================= */

table {
    background: black;
    color: #00ffcc;
    border: 3px solid #00ffcc;
}

td, th {
    border: 1px solid #00ffcc;
}

/* ============================= */
/* FORMULAIRES */
/* ============================= */

input, select, textarea {
    background: black;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    font-family: 'Press Start 2P', monospace;
}

/* ============================= */
/* FOOTER */
/* ============================= */

body > footer {
    border-top: 4px solid #00ffcc;
    box-shadow: 0 0 20px cyan;
}

/* ============================= */
/* MEMORY (si tu l'utilises) */
/* ============================= */

.grille {
    text-align: center;
    margin-top: 20px;
}

.carte {
    width: 100px;
    height: 120px;
    margin: 5px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    background: black;
    color: #00ffcc;
    border: 3px solid #00ffcc;
    box-shadow: 0 0 10px #00ffcc;
    cursor: pointer;
    transition: 0.2s;
}

.carte:hover {
    background: #00ffcc;
    color: black;
    transform: scale(1.05);
}

.carte img {
    display: block;
    margin: 0 auto;
    image-rendering: pixelated;
}


/* ============================= */
/* EFFET CRT SUR LES IMAGES */
/* ============================= */

img {
    image-rendering: pixelated;
    filter: contrast(1.1) saturate(1.2);
}


.simon img{
    width: 60px;
    margin: 8px;
    cursor: pointer;
    border: 3px solid cyan;
    border-radius: 12px;
    background: black;
    padding: 5px;
    transition: 0.2s;
}

.simon img:hover{
    transform: scale(1.15);
    box-shadow: 0 0 15px cyan;
}

