/* ===== RESET GARANTI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pixel';
    src: url('fonts/Summer.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Goth';
    src: url('fonts/Microwaves.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    
    
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    background-image: url('background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-color: #0A1A3A;
    color: #FFFACD;
    font-family: 'Pixel', summer;
    overflow-x: hidden;
}

/* ===== STRUCTURE FLEXBOX ===== */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ===== MENU LATÉRAL ===== */
/* ===== MENU FIXE PROPRE ===== */
.side-menu {
    position: fixed; /* ⭐ FIXE = reste à la même place à l'écran ⭐ */
    top: 20px;
    left: 20px;
    width: 200px;
    height: auto; /* S'adapte au contenu */
    
    /* Garde tes styles actuels */
    background: 
        /* Texture damier léger */
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        rgba(0, 0, 0, 0.5);
    background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    border: 3px solid #1E90FF;
    margin: 20px 0;
    padding: 20px;
    max-width: 800px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
    align-items: center;
    display: flex;
    flex-direction: column;
    
    /* PAS de scroll, PAS de max-height */
    overflow: visible;
}

/* Compense l'espace du menu fixe */
.main-content {
    margin-left: 240px; /* 200px menu + 40px marge */
    padding: 30px;
    width: calc(100% - 240px);
}

/* Sur mobile, on désactive le fixe */
@media (max-width: 900px) {
    .side-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* ===== BOUTONS PIXEL ===== */
.menu-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px;
    /* Texture pixel SIMPLE */
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.1) 2px,
            rgba(0,0,0,0.1) 4px
        ),
        white;
    color: #4B0082;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border: 3px outset #1E90FF;
    font-family: 'Pixel', Summer;
    font-size: 0.9em;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.8),
        inset -1px -1px 0 rgba(0,0,0,0.2);
}

.menu-btn:hover {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.2) 2px,
            rgba(255,255,255,0.2) 4px
        ),
        #4B0082;
    color: white;
    border-color: #C71585;
    border-style: inset;
}

/* ===== STICKERS FLOTTANTS ===== */
.sticker-container {
    position: absolute; /* Fixe à l'écran */
    top: 0;
    right: 0;
    width: 0; /* Zone à droite */
    height: 100vh;
    pointer-events: none; /* On clique à travers */
    z-index: 500; /* Au-dessus du fond, sous le menu */
}

.sticker {
    position: absolute;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Effet au survol (optionnel) */
.sticker:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 1000;
    pointer-events: auto;
}

.sticker-img {
    width: 80px; /* Taille moyenne */
    height: auto; /* Garde les proportions */
    max-width: 120px;
    max-height: 120px;
    
    /* Style "sticker" */

    border: none; /* Pas de bordure carrée */
    background: none;
    
    /* Effet "découpé" */
    filter: 
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.3))
        brightness(1.1)
        saturate(1.2);
}

/* ===== CONTENU PRINCIPAL ===== */
.main-content {
    flex: 1;
    padding: 30px;
    min-width: 0;
}

/* ===== FENÊTRES PIXEL ===== */
.window {
    background: 
        /* Texture damier léger */
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        rgba(0, 0, 0, 0.5);
    background-size: 10px 10px, 10px 10px, 10px 10px, 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    border: 3px solid #1E90FF;
    margin: 20px 0;
    padding: 20px;
    max-width: 800px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
}

.window-title {
    background: rgba(75, 0, 130, 0.8);
    color: #FFFACD;
    padding: 8px 15px;
    margin: -20px -20px 15px -20px;
    border-bottom: 3px dotted #C71585;
    font-family: 'Goth', Microwaves;
    font-weight: bold;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    display: flex;
    flex-direction: row;
    align-items : center;
    gap: 15px;
    justify-content: center;
}

/* ===== TYPO ===== */
h1 {
  color: #FFFACD;
  margin-bottom: 15px;
  font-family : 'Goth', Microwaves;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  display: flex;
  justify-content: center; 
  text-align: center;
  align-items: center;
}

h2, h3 {
    color: #FFFACD;
    margin-bottom: 15px;
    font-family: 'Pixel', Summer;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    justify-content: center;
    text-align: center;
}

p {
    font-family: 'Pixel', Summer;
    color: #FFFACD;
    line-height: 1.5;
    margin-bottom: 15px;
    display: block;        /* ⭐ ENLÈVE flex si présent ⭐ */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    float: none;
    clear: both;
    max-width: 700px ;
}

/* ===== YEUX PIXEL ===== */
.eye {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    position: fixed;
    animation: blink 4s infinite;
    z-index: 100;
    /* Effet pixel avec bordures */
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: 
        0 0 8px rgba(255,255,255,0.7),
        1px 1px 0 rgba(255,255,255,0.5),
        -1px -1px 0 rgba(0,0,0,0.2);
    opacity: 0.5;
}

.eye::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #4B0082;
    border-radius: 50%;
    position: fixed;
    top: 8px;
    left: 8px;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3);
}

.eye::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: fixed;
    top: 13px;
    left: 13px;
    z-index: 2;
}

@keyframes blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.05); }
}

/* ===== ÉTOILES PIXEL ===== */
.star {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    animation: twinkle 3s infinite;
}

/* Étoile en croix (style pixel) */
.star.pixel-star {
    width: 5px;
    height: 5px;
    background: transparent;
}

.star.pixel-star::before,
.star.pixel-star::after {
    content: '';
    position: fixed;
    background: white;
    box-shadow: 0 0 3px white;
}

.star.pixel-star::before {
    width: 5px;
    height: 1px;
    top: 2px;
    left: 0;
}

.star.pixel-star::after {
    width: 1px;
    height: 5px;
    top: 0;
    left: 2px;
}

/* Étoile carrée */
.star.square-star {
    width: 4px;
    height: 4px;
    background: white;
    transform: rotate(45deg);
    box-shadow: 0 0 4px white;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}



/* ===== FOOTER ===== */
/* ===== FOOTER AVEC ICÔNES ===== */
/* ===== FOOTER AVEC ICÔNES DÉCORATIVES ===== */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #FFFACD;
    font-size: 12px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 2px dashed #1E90FF;
}

/* Conteneur des 3 icônes */
.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px; /* Bon espacement */
    margin-bottom: 10px;
}

/* Chaque icône */
.footer-icon {
    width: 110px;  /* Gros mais pas trop */
    height: 110px;
    object-fit: contain;
    opacity: 0.9;
    
    /* Effets visuels simples */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* Effet au survol (optionnel, tu peux enlever) */
.footer-icon:hover {
    opacity: 1;
    transform: scale(1.05);
    transition: transform 0.2s;
}

/* Texte du footer */
.footer-text {
    margin: 15px 0;
    line-height: 1.6;
    color: #87CEEB;
}

/* Responsive */
@media (max-width: 600px) {
    .footer-icons {
        gap: 20px;
    }
    
    .footer-icon {
        width: 50px;
        height: 50px;
    }
}
/* ===== COMPTEUR 90S ===== */
.counter {
    background: rgba(0, 0, 0, 0.7);
    border: 3px inset #666;
    padding: 15px;
    text-align: center;
    font-family: 'Pixel', Summer; 
    color: lime;
    text-shadow: 0 0 5px lime;
    margin: 20px auto;
    max-width: 200px;
}

.counter-title {
    font-size: 14px;
    margin-bottom: 5px;
    color: #FFFACD;
}

.counter-number {
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: bold;
    margin: 5px 0;
    color: #0F0;
    text-shadow: 0 0 10px #0F0;
}

.counter-sub {
    font-size: 14px;
    opacity: 0.8;
    color: #FFFACD;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .side-menu {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid #C71585;
    }
}