/* --- GRILLE ET CARTES DU HUB --- */
#main-hub {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.menu-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.version { 
    display: block;
    font-size: 1.5rem; 
    font-weight: bold; 
    color: var(--accent-blue); 
    margin-bottom: 5px;
}

.details { 
    color: var(--text-dim); 
    font-size: 0.9rem; 
}

/* --- BOUTONS DANS LA MODALE --- */
.os-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.os-btn {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.2s ease;
}

.os-btn.standard:hover { 
    border-color: var(--accent-blue); 
    color: var(--accent-blue); 
    background: rgba(0, 168, 255, 0.1);
}

.os-btn.hack:hover { 
    background: var(--accent-red); 
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
}

.btn-close {
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.back-link:hover { color: #fff; }

/* --- STYLE DE LA MODALE SYSTÈME (BLEU) --- */
.modal-content {
    background: rgba(15, 15, 20, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--accent-blue); /* On repasse en bleu */
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.2); /* Lueur bleue */
    backdrop-filter: blur(10px);
}

.modal-title {
    color: var(--text-white); /* Titre blanc propre */
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
    padding-bottom: 10px;
}

/* --- GRILLE DE BOUTONS --- */
.os-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.os-btn {
    all: unset; /* Retire le style bouton moche */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none; /* Pas de trait bleu sous le texte */
}

.os-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

/* Style spécial pour les CFW (Evilnat) si tu veux les garder distincts */
.os-btn.hack:hover {
    background: #7209b7; /* Un violet sombre pour le hack, plus élégant que le rouge */
    border-color: #b100e8;
}

.btn-close {
    all: unset;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-close:hover {
    color: white;
}