/* =========================================
   STYLE GLOBAL
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f5f7; /* Un fond gris très clair pour faire ressortir la carte */
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Centre le contenu verticalement */
    padding: 20px;
}

/* =========================================
   LE "FAUX LOGO" EN TEXTE
   ========================================= */
.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 5.5rem; /* Très grand pour reproduire l'effet logo */
    color: #4a5150; /* La couleur gris/sépia anthracite de votre image */
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Léger lissage */
    cursor: default;
    text-align: center;
}

/* =========================================
   CONTENEUR DES PROJETS (La zone centrale)
   ========================================= */
.portal-container {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.portal-container h1 {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Organisation des boutons */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les boutons */
}

/* Disposition côte à côte dès que l'écran est assez large */
@media (min-width: 480px) {
    .links-grid {
        flex-direction: row;
        justify-content: center;
    }
}

/* =========================================
   LES BOUTONS DE LIENS
   ========================================= */
.btn-link {
    display: inline-block;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    flex: 1; /* Donne la même largeur aux boutons */
    text-align: center;
}

.btn-link:hover {
    transform: translateY(-2px); /* Effet de soulèvement au survol */
}

/* Projet 1 : Bleu DevTask original */
.btn-blue {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-blue:hover {
    background-color: #1d4ed8;
}

/* Projet 2 : Orange/Ambré pour la version JavaScript */
.btn-js {
    background-color: #f59e0b;
    color: #ffffff;
}

.btn-js:hover {
    background-color: #d97706;
}

/* Projet 3 : Violet magique pour Witchcraft Academy */
.btn-magic {
    background-color: #6c5ce7;
    color: #ffffff;
}

.btn-magic:hover {
    background-color: #5b4bc4;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.35); /* Halo lumineux subtil violet */
}
