/* ===== RESET ===== */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===== BODY ===== */
body.bg {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #111, #000);
    color: white;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fade out navigation */
body.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

/* ===== LAYOUT ===== */
.center {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 3em;
    margin-bottom: 40px;
    text-shadow: 0 0 20px #0ff;
}

/* ===== GRID / CHOICES ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 30px;
}

.choices {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 40px 0;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255,255,255,0.05);
    border: 2px solid #0ff;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #0ff;
}

.card.big {
    font-size: 1.6em;
    max-width: 520px;
    padding: 40px;
}

/* ===== STATES ===== */
.card.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.card.active {
    opacity: 1;
    pointer-events: auto;
}

.choice.selected {
    transform: scale(1.08);
    box-shadow: 0 0 25px white;
}

/* ===== CATEGORIES ===== */
.card.soft {
    border-color: #00ffcc;
    box-shadow: 0 0 15px #00ffcc;
}

.card.fun {
    border-color: #00ff00;
    box-shadow: 0 0 15px #00ff00;
}

.card.trash {
    border-color: orange;
    box-shadow: 0 0 15px orange;
}

.card.hard {
    border-color: red;
    box-shadow: 0 0 15px red;
}

.card.danger {
    border-color: #ff4444;
    box-shadow: 0 0 15px #ff4444;
}

/* ===== TEXT ===== */
.punition {
    margin: 20px;
    color: #ff5555;
    font-size: 1.2em;
}

/* ===== GLITCH ===== */
.glitch {
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== TOP CONTROLS ===== */
.top-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.ctrl-btn {
    background: rgba(0,0,0,0.6);
    border: 2px solid #0ff;
    color: white;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s;
    text-shadow: 0 0 5px #0ff;
}

.ctrl-btn:hover {
    transform: scale(1.1);
}

.ctrl-btn.quit {
    border-color: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2000;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #111;
    border: 2px solid #ff4444;
    padding: 30px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
/* =========================
   MOBILE / SMARTPHONE
========================= */
@media (max-width: 768px) {

    /* NE PLUS CENTRER VERTICALEMENT */
    .center {
        justify-content: flex-start;
        padding-top: 120px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* TITRE PARTYSHOT */
    .title {
        font-size: 2.4em;
        margin-bottom: 35px;
        text-align: center;
    }

    /* GRILLE DES JEUX */
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    /* CARTES */
    .card {
        width: 100%;
        padding: 20px 12px;
        font-size: 1.05em;
        border-width: 2px;
    }

    /* CARTES JEU (HOME) */
    .grid .card {
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* DÉSAC HOVER MOBILE */
    .card:hover {
        transform: none;
        box-shadow: none;
    }

    /* TOP CONTROLS */
    .top-controls {
        top: 14px;
        left: 14px;
    }

    .ctrl-btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* BOUTONS SUIVANT / BOIRE */
    .center-btn .card {
        width: 100%;
        font-size: 1.1em;
        padding: 18px;
    }
}
@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 2.6em;
    }
}
/* =========================
   ANIMATION BOIRE 🍺
========================= */

@keyframes shake {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-6px, 4px); }
    40% { transform: translate(6px, -4px); }
    60% { transform: translate(-4px, 6px); }
    80% { transform: translate(4px, -6px); }
    100% { transform: translate(0, 0); }
}

@keyframes flashRed {
    0% { background-color: rgba(255,0,0,0); }
    50% { background-color: rgba(255,0,0,0.25); }
    100% { background-color: rgba(255,0,0,0); }
}

body.drink-anim {
    animation: shake 0.5s;
}

body.drink-anim::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,0,0,0.25);
    animation: flashRed 0.5s;
    pointer-events: none;
    z-index: 3000;
}
animations plus smooth

transitions entre écrans

thème néon / soirée

vibration + feedback visuel
/* =========================
   THÈME NÉON PARTY 🎉
========================= */

.title {
    color: #00ffff;
    text-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00cccc;
}

.card {
    backdrop-filter: blur(6px);
    border-radius: 14px;
}

.card:hover {
    box-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff;
}

.card.danger {
    border-color: #ff3366;
    box-shadow:
        0 0 15px #ff3366,
        0 0 30px rgba(255, 51, 102, 0.5);
}

.punition {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
