/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fond */
body {
    height: 100vh;
    background-image: url("images/fond.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Logo */
#logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 80px;
    z-index: 10;
}

/* Conteneur accueil */
#accueil {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 5;
}

#accueil.hidden{
    display: none;
}

/* Mode jeu */
#mode_classique {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    z-index: 15;
}

/* Caché */
.hidden {
    display: none !important;
}

/* Boutons généraux */
button {
    font-size: 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #ffb703;
    color: #000;
    transition: transform 0.2s, background-color 0.2s;
}

button:hover {
    transform: scale(1.05);
    background-color: #ffa200;
}

/* Boutons menu */
#accueil button {
    width: 200px;
    padding: 15px 0;
}

/* Ticket */
#ticket {
    position: absolute;
    top: 15px;
    left: 115px;
    background: white;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    z-index: 20;
    width: 220px;
}

#ticket ul {
    list-style: none;
    padding: 0;
}

#ticket li {
    border-bottom: 1px dashed #000;
    padding: 4px 0;
    text-transform: uppercase;
}

/* Ingrédients DISPONIBLES (boutons) */
#ingredients_disponibles {
    position: absolute;
    top: 100px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 80%;
}

#ingredients_disponibles button {
    width: 140px;
    padding: 15px 0;
}

/* Assiette */
#assiette {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Zone du burger */
#burger_empile {
    position: relative;
    width: 100%;
    height: 300px;
}

/* Base du burger */
#burger_empile img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: px;
}

/* Score */
#score {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
}