/* Reseteig bàsic de marges i caixa */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configuració del fons i centrat de la pantalla */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Fons amb degradat horitzontal de #6D6E70 a #3A3A3C */
    background: linear-gradient(to right, #6D6E70, #3A3A3C);
    color: #ffffff;
}

/* Contenidor principal */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

/* Estil del logo i efecte flotant */
.floating-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));

    /* Animació flotant de suau balanç vertical */
    animation: float 4s ease-in-out infinite;
}

/* Animació keyframes per a l'efecte de flotació */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Contenidor dels enllaços */
.links-container {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Disseny dels botons/enllaços */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Efecte en passar el ratolí per sobre dels enllaços */
.btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
