/* --- SCROLLBAR PERSONNALISÉE --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a192f; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }


html {
    height: auto !important;
    overflow-y: auto !important;
}

body.portal-body {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

/* --- CONFIGURATION DU PORTAIL --- */
.portal-body {
    background-color: #0a192f;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-bottom: 40px;
    margin: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.portal-container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    padding: 60px 60px;
    box-sizing: border-box;
}

.portal-logo {
    height: 150px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
    transition: transform 0.3s ease;
}

h1 {
    color: #ffffff;
    letter-spacing: 4px;
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
}

.portal-subtitle {
    color: #38bdf8;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* --- GRILLE 5 COLONNES --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

/* --- CARTES BLANCHES --- */
.menu-card {
    background: #ffffff !important;
    border-radius: 14px;
    padding: 42px 20px 36px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 4px solid transparent;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.menu-card:hover:not(.locked) {
    background: #ffffff !important;
    transform: translateY(-10px);
    border-color: #38bdf8;
    box-shadow: 0 18px 36px rgba(56, 189, 248, 0.2);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.menu-card h3 {
    color: #0a192f;
    margin: 8px 0 6px 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.menu-card p {
    color: #4b5563;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
}

/* --- ÉTAT VERROUILLÉ --- */
.menu-card.locked {
    background: #e5e7eb !important;
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(1);
}
.menu-card.locked:hover {
    transform: none;
    border-color: transparent;
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
    .menu-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
    .portal-container { padding: 40px 20px; }
}


.portal-container {
    padding-bottom: 200px !important;
}
