:root {
            --bg-color: #c3dbff;
            --primary: #FF6B6B;
            --glass: rgba(255, 255, 255, 0.7);
            --radius: 16px;
            --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
            --text-dark: #1e293b;
            --text-light: #64748b;
        }

    
body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow-x: hidden;
}

body::before {
content: "";
position: fixed;
inset: 0;
background-image: url("https://bubbole.it/bg/bg.png");
background-repeat: repeat;
background-size: auto;
opacity: 0.35;
pointer-events: none;
z-index: 0;
}


.animated {
color: var(--primary);
transition: color 0.5s ease;
}

.page-container {
            max-width: 680px;
            margin: 0 auto;
            width: 100%;
            background: rgba(255, 255, 255, 0.5);
            box-shadow: 0 0 60px rgba(0,0,0,0.15);
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        header {
            width: 100%;
            position: sticky;
            backdrop-filter: blur 40px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            padding: 15px 20px;
            display: flex;
            justify-content: left; 
            align-items: center;
            z-index: 100;
        }

        .logo {
            font-family: 'Nunito', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-left: 20px;
            letter-spacing: -1px;
            text-decoration: none;
        }

.menu-toggle {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            padding: 5px;
            width: 30px;
        }

.bar {
width: 25px;
height: 3px;
background-color: var(--primary);
border-radius: 5px;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- MENU DI NAVIGAZIONE --- */
.nav-links {
position: absolute;
top: 100%;
left: 5px;
right: 5px;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
flex-direction: column;
padding: 2rem;
clip-path: circle(0% at 0% 0);
transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
border-bottom-left-radius:40px;
border-bottom-right-radius:40px;
box-shadow: var(--glass-shadow);
display: flex;
align-items: center;
}

        .nav-links.active {
            clip-path: circle(150% at 0% 0);

        }

        .nav-links li a {
            font-weight: 600;
            font-size: 1.1rem;
            padding: 10px 20px;
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: block;
            text-align: center;
        }

        .nav-links li a:hover {
            background: rgba(255, 255, 255, 0.4);
            color: var(--primary);
            transform: 0.5s;
        }

        .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
        .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
        .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

        .btn-team {
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid var(--primary);
            color: var(--primary);
            margin-top: 10px;
            display: inline-block;
        }

        .btn-team:hover {
            background: var(--primary);
            color: white;
        }


        /* --- COOKIE BANNER --- */
        #cookie-banner {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: rgba(30, 41, 59, 0.95);
            backdrop-filter: blur(10px);
            color: white;
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            z-index: 999;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 15px;
            transform: translateY(150%); 
            transition: transform 0.5s ease-out;
            max-width: 640px;
            margin: 0 auto; /* Centra il banner nel container pagina */
        }

        #cookie-banner.show {
            transform: translateY(0);
        }

        .cookie-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            font-size: 1rem;
        }