
.ButtonRed {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #FF5C5C;
    border: none;
    cursor: pointer;
}

.ButtonGreen {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #19f10e;
    border: none;
    cursor: pointer;
}

.ButtonRed:hover {
    background-color: #FF3333;
}

.machine {
    z-index: 1;
}
.slot-container {
    display: flex;
    /*align-items: center;*/
}
.slot {
    width: 100%;
    min-height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.slot-info {
    background-color: transparent;
    margin-top:0;
    text-align: center;
    font-size: 0.8em;
}
.slot-button {
    margin-top: 5px;
    padding: 10px;
    cursor: pointer;
    background-color: rgb(185, 42, 6);
    color: black;
    border: none;
    border-radius: 5px;

}
.card{
    background: linear-gradient(to bottom, rgba(14, 14, 14, 0.8), rgba(42, 41, 41, 0.8));
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.2),
                inset 0 -2px 5px rgba(0, 0, 0, 0.5),
                0 5px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 0;
    border-radius: 0px 0px 12px 12px;
}
.controls {
    width: fit-content;
}
.btnBanditManchot {
    position: relative;
    padding: 4px;
    cursor: pointer;
    border: 1px solid silver;
    color: rgb(251, 251, 251);
    border-radius: 8px;
    text-align: center;
    text-shadow: 1px 3px 2px rgba(0,0,0,0.6);
    margin:4px auto;
    font-weight: bold;
    text-transform: lowercase;
    text-decoration: none;
    box-shadow: inset 3px -3px 7px #5a5959b0, inset 3px 3px 5px rgba(94, 104, 121, 0.692);
	border-width: 0.1em;
	border-color: #000;
    background-color: brown;
	box-shadow: 0 0 1px  #ffb700;
}
.btnBanditManchot:hover {
    text-shadow: -1px 2px 2px rgba(255,255,0255,0.6);
    border-color: #ece9b4;
    box-shadow: 0 0 8px  #ffb700;
}

#spin {
    margin-bottom: 4px;
    cursor: pointer;
    background-color: #4CAF50; /* Vert pour "Lancer" */
}
#spin.stop {
    background-color: #f44336; /* Rouge pour "Stop" */
}
#spin.recommencer {
    background-color: #ff5722; /* Orange pour "Recommencer" */
}
#video-container {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    width: 100%;
    height: auto;
    text-align: center;
    margin: 20px 0;
    z-index: -1;
    transition: all 1s ease-out;
}
video {
    width: 100%;
}
.video-title {
color: whitesmoke;
}

.video-author {
    font-style: italic; 
}

.slot-info {
    cursor: pointer;
    padding: 10px;
    transition: background 0.3s;
}
.slot-info {
    min-height: 50px;
    padding: 10px;
    text-align: center;
    color:whitesmoke;
    text-shadow: 0px -3px 2px rgba(0,0,0,0.6);
    border-bottom-color: #CCC;
    border-width: 1px;
}
.slot-title {
    font-weight: bold;
    counter-reset: white;
    display: block;
}
.slot-author {
    font-style: italic;
    font-size: 0.9em;
}
.slot-info:hover {
    box-shadow: inset -3px -3px 7px #5a5959b0, inset 3px 3px 5px rgba(94, 104, 121, 0.692);
    border-color: wheat;
}
/* penud.html.twig*/
#poster-image {
    width: 300px;
    height: auto;
    display: block;
    margin: 20px auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
#video-container {
    display: none;
    margin-top: 20px;
    text-align: center;
}
.letter-btn {
    margin: 5px;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: #fff;
padding: 20px;
border-radius: 8px;
position: relative;
width: 80%;
max-width: 800px;
}
.close {
position: absolute;
top: 10px;
right: 20px;
font-size: 30px;
cursor: pointer;
color: #fff;
}
/* memory */

#memory-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.memory-card {
    width: 100px;
    height: 140px;
    perspective: 1000px;
    cursor: pointer;
}
.memory-card .card-front, 
.memory-card .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 8px;
    transition: transform 0.6s;
}
.memory-card .card-front {
    background: #444;
}
.memory-card .card-back {
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
}
.memory-card.flipped .card-front {
    transform: rotateY(180deg);
}
.memory-card.flipped .card-back {
    transform: rotateY(0);
}
.memory-card.matched {
    opacity: 0.5;
    cursor: default;
}


/**/


#fireworks-container {
    position: relative; 
    overflow: hidden;  /* Empêche le dépassement */
    width: 100%;
    height: 600px; /* Ajuste selon ton besoin */
    background: #333;
}

#fireworksCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Évite qu’il bloque les interactions */
}


g.circles {
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.papier{
    background: 
radial-gradient(circle, rgba(255, 255, 255, 0.9) 20%, rgba(245, 245, 240, 1) 80%),
url('https://www.transparenttextures.com/patterns/fabric-of-squares.png');    
    background-blend-mode: multiply;
    background-size: cover;
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.1), 
        inset -2px -2px 5px rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    filter: brightness(1.05) contrast(0.98);
}

/* Style nacré inspiré */
.luxury-nacre {
        position: relative;
        margin-top: 1em;
        margin-bottom: 4em;
        background: linear-gradient(135deg, #3a3a3a 0%, #222 100%);
        border-radius: 2px;
        border: 1px solid #555;
        box-shadow: 
            inset 0 0 25px rgba(255, 255, 255, 0.1),
            inset 0 2px 3px rgba(255, 255, 255, 0.1),
            0 10px 30px rgba(0, 0, 0, 0.3);
        background-image: 
            radial-gradient(circle at bottom left,
                rgba(100, 100, 100, 0.5) 0%, 
                rgba(50, 50, 50, 0.6) 50%, 
                rgba(20, 20, 20, 0.8) 100%); 
    }


/* Effet de nacre en bordure */
.luxury-nacre::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    pointer-events: none;
}

/* Effet de reflet nacré */
.luxury-nacre::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.4;
    width: 24px;
    height: 24px;
    background:#333;
    border-radius: 50%;
    border: 2px solid #666;
    display: block;
    box-shadow: 0 0 8px rgba(50, 50, 50, 0.5);
}



.gold-bg {
    background: linear-gradient(#d0b57b 0%, #957640 10%, #e3cb97 40%, #ffecb3 50%, #71551b 80%);
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

	
.gold {
    overflow: hidden;
    background: linear-gradient(#d0b57b 0%, #957640 10%, #e3cb97 40%, #ffecb3 50%, #71551b 80%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: 2em; 
    font-weight: 400;
    text-align: center;
}

h2.gold{
margin-top: 1em;
}

.gold:before {
    content: attr(data-gold);
    left: 5px;
    top: 0;
    z-index: -1;
    position: absolute;
    text-shadow: 
        -1px 0 1px #c6bb9f, 
        0 1px 1px #c6bb9f, 
        5px 5px 10px rgba(0, 0, 0, 0.4), 
        -5px -5px 10px rgba(0, 0, 0, 0.4);
}

.lineGold {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #ffd700, #ffcc00, #ffb700);
    margin: 20px auto; /* Centrer sous le titre */
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    border-radius: 2px;
}


/* fireworks */

        #fireworks-container { position: relative; width: 100vw; height: 80vh; background-color: black; }
        #controls { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
        label { display: flex; flex-direction: column; align-items: center; }
        input, button { margin-top: 5px; }
        pre { text-align: left; background: #222; color: #0f0; padding: 10px; max-width: 90vw; margin: auto; white-space: pre-wrap; }

