/* ----- Styles spécifiques à la page Stages ----- */

h1 {
    font-size: 1.8rem;
    color: #44d;
    text-align: center;
    text-shadow: 2px 2px 0 #000;
    margin-top: 40px;
}

/* Conteneur principal */
.stage-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin-top: 32px;
    padding: 0 16px 40px 16px;
}

/* Carte de stage cliquable */
.stage-card {
    background: #111;
    border: 4px solid #44d;
    border-radius: 8px;
    width: 280px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
}

.stage-card:hover {
    background: #222;
    transform: translateY(-6px);
    box-shadow: 6px 6px 0 #000;
}

/* Image de la carte */
.stage-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #44d;
    margin-bottom: 12px;
    image-rendering: pixelated;
}

/* Titre */
.stage-card h3 {
    font-size: 0.9rem;
    color: #88f;
    text-shadow: 1px 1px 0 #000;
    margin: 10px 0 8px 0;
}

/* Description */
.stage-card p {
    font-size: 0.7rem;
    line-height: 1.6;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

/* Responsive */
@media (max-width: 950px) {
    .stage-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .stage-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stage-card {
        width: 85%;
        max-width: 340px;
    }
}
