:root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-color: #ffffff;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Satoshi-Variable", sans-serif;
}

body {
    min-height: 100vh;
    background: url("../img/background.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

/* Header & Nav */
.navbar {
    padding: 40px 20px;
    text-align: center;
}

.navbar a {
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* La Grille d'Apps */
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 500px; /* On limite la largeur pour garder l'aspect téléphone */
    margin: 0 auto;
    flex-grow: 1;
}

/* Style de chaque App */
.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.app:hover {
    transform: scale(1.1);
}

.icon {
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 18px; /* Rayon façon iOS */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow);
}

.app span {
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Footer (Le message d'amour) */
footer {
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: auto;
}