.language-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Stile unificato per tutti i pulsanti */
.get-scouted-btn,
.login-btn,
.language-btn {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    line-height: 26px;
    /* height - 2*border_width */
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    position: absolute;
    /* Posizionamento assoluto rispetto a .top-buttons */
    margin: 0;
    padding: 0;
    top: 0;
    /* Tutti i pulsanti allineati in alto nel contenitore */
}

.get-scouted-btn:hover,
.login-btn:hover,
.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Container per i pulsanti in alto a SINISTRA */
.top-buttons {
    position: fixed;
    left: 20px;
    /* Modificato da right a left */
    top: 30px;
    z-index: 1001;
    width: 300px;
    /* login-btn (80px) + gap (10px) + get-scouted-btn (110px) + gap (10px) + language-btn (80px) = 290px. +10px buffer */
    height: 30px;
}

.login-btn {
    width: 80px;
    left: 250px;
    /* Posizionato all'inizio del contenitore .top-buttons */
}

.get-scouted-btn {
    width: 110px;
    left: 340px;
    /* login-btn width (80px) + gap (10px) */
}

.language-btn {
    width: 80px;
    right: 20px;
    /* Cambiato da left: 1610px a right: 20px per essere responsive */
    left: auto;
    position: fixed;
    top: 30px;
}

/* Media queries per responsività dei pulsanti */

/* Laptop e schermi intermedi - NUOVA MEDIA QUERY */
@media (max-width: 1440px) and (min-width: 769px) {
    .language-btn {
        right: 15px;
        top: 30px;
        width: 75px;
        position: fixed;
    }
}

@media (max-width: 1400px) {
    .top-buttons {
        left: 15px;
        top: 25px;
        width: 290px;
        /* login (80px) + gap (10px) + scouted (110px) + gap (10px) + lang (80px) = 290px */
    }

    .language-btn {
        right: 15px;
        /* Cambiato da left a right */
        left: auto;
        top: 30px;
        width: 75px;
    }

    .get-scouted-btn,
    .login-btn,
    .language-btn {
        font-size: 1.1rem;
    }

    /* Le larghezze e le posizioni dei pulsanti rimangono quelle di base se non specificato diversamente */
}

@media (max-width: 1200px) {
    .top-buttons {
        left: 10px;
        top: 20px;
        width: 260px;
        /* login (70px) + gap (10px) + scouted (100px) + gap (10px) + lang (70px) = 260px */
    }

    .login-btn {
        width: 70px;
    }

    .get-scouted-btn {
        width: 100px;
        left: 320px;
    }

    .language-btn {
        width: 70px;
        right: 10px;
        /* Cambiato da left a right */
        left: auto;
        top: 25px;
    }
}

@media (max-width: 992px) {
    .top-buttons {
        left: 15px;
        top: 15px;
        width: 240px;
        /* login (65px) + gap (10px) + scouted (90px) + gap (10px) + lang (65px) = 240px */
    }

    .login-btn {
        width: 65px;
        font-size: 1rem;
    }

    .get-scouted-btn {
        width: 90px;
        font-size: 1rem;
        left: 330px;
        /* 65px + 10px */
    }

    .language-btn {
        width: 65px;
        font-size: 1rem;
        right: 10px;
        /* Cambiato da left a right */
        left: auto;
        top: 20px;
    }
}

@media (max-width: 768px) {
    .top-buttons {
        left: 10px;
        top: 70px;
        width: 150px;
        z-index: 1001;
    }

    .login-btn {
        width: 60px;
        font-size: 0.9rem;
        height: 28px;
        line-height: 24px;
        left: 0px;
    }

    .get-scouted-btn {
        width: 80px;
        font-size: 0.9rem;
        height: 28px;
        line-height: 24px;
        left: 70px;
    }

    .language-btn {
        width: 70px;
        /* Aumentata da 60px per contenere bandiera + sigla */
        font-size: 0.9rem;
        height: 28px;
        line-height: 24px;
        right: 10px;
        left: auto;
        top: 70px;
        position: fixed;
        min-width: 70px;
        /* Assicura larghezza minima */
    }
}

@media (max-width: 480px) {
    .top-buttons {
        left: 5px;
        top: 65px;
        width: 140px;
        z-index: 1001;
    }

    .login-btn {
        width: 50px;
        font-size: 0.8rem;
        height: 26px;
        line-height: 22px;
        left: 0px;
    }

    .get-scouted-btn {
        width: 70px;
        font-size: 0.8rem;
        height: 26px;
        line-height: 22px;
        left: 60px;
    }

    .language-btn {
        width: 60px;
        /* Aumentata da 50px per contenere bandiera + sigla */
        font-size: 0.8rem;
        height: 26px;
        line-height: 22px;
        right: 5px;
        left: auto;
        top: 65px;
        position: fixed;
        min-width: 60px;
        /* Assicura larghezza minima */
    }
}