body { 
    background: #1a1a1a url('images/fond.jpg') no-repeat center center fixed; 
    background-size: cover;
    color: #eee;
}
header img { max-width: 10em; } 
.glass-panel {
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid #444;
    border-radius: 1.25em;
    backdrop-filter: blur(1.5em);
}
.feature-card { transition: transform 0.3s; cursor: pointer; }
.feature-card:hover { transform: translateY(-0.5em); background: rgba(50, 50, 50, 0.95); }
.btn-rahow { background-color: #0066cc; color: white; font-weight: bold; }

.screenshot-img {
    border: 2px solid #444;
    border-radius: 0.88em;
    transition: transform 0.3s, border-color 0.3s;
    cursor: zoom-in;
    width: 100%;
    height: auto;
}
.screenshot-img:hover {
    transform: scale(1.02);
    border-color: #0066cc;
}
.btn-paypal {
    background-color: #ffc439;
    color: #003087 !important;
    font-weight: bold;
    border: none;
}
.btn-paypal:hover {
    background-color: #f4b400;
    transform: translateY(-0.2em);
}

/* Styles des badges de fonction */
.btn-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5em; /* Largeur fixe identique pour tous */
    padding: 0.5em 1em; 
    border-radius: 0.4em;
    font-size: 1.2em; /* Un peu plus petit pour que "Both" tienne bien */
    font-weight: bold;
    text-align: center;
    color: white;
    margin-right: 1.25em;
    border: 2px solid transparent;
    flex-shrink: 0; /* Empêche le bouton de s'écraser si le texte à côté est long */
}

.ui-dest { background-color: #228B22; border-color: #228B22; }
.ui-over { background-color: #FF8C00; border-color: #FF8C00; }
.ui-both { background-color: #9932CC; border-color: #9932CC; }
.ui-del  { background-color: #1E90FF; border-color: #1E90FF; }

/* Style du texte explicatif */
.desc-text {
    color: #bbb;
    font-size: 0.95em;
    margin-bottom: 0;
}

/* Style de la visionneuse (Modal) */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(0.5em);
    cursor: zoom-out;
}

#viewer-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
    border: 2px solid #444;
    border-radius: 0.5em;
    /* Centrage vertical et horizontal */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animation de fondu au scroll */
.reveal {
    opacity: 0;
    transform: translateY(2.5em); /* Petit mouvement vers le haut pour l'effet dynamique */
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}