* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    position: relative;
    overflow: hidden;
}

/* Sfondo animato con cerchi */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

body::before {
    width: 500px;
    height: 500px;
    background: #fff;
    top: -250px;
    right: -100px;
    animation-delay: 0s;
}

body::after {
    width: 400px;
    height: 400px;
    background: #fff;
    bottom: -200px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.central-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.link-container {
    /*background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;*/
    flex-direction: column;
    gap: 16px;
    min-width: 380px;
    max-width: 480px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link {
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    /*backdrop-filter: blur(10px);*/
    padding: 20px 28px;
    max-width: 200px;
    margin: 0 auto;
    margin-left:60px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.link:hover::before {
    width: 300px;
    height: 300px;
}

.link::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 18px;
}

.link:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    padding-right: 50px;
}

.link:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

footer {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.basso {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

@media (max-width: 600px) {
    .link-container {
        min-width: auto;
        width: 90%;
        padding: 35px 25px;
    }

    .link {
        font-size: 14px;
        /*padding: 14px 24px;*/
        padding: 20px 28px;
    	max-width: 200px;
    	margin: 0 auto;
    }

    body::before,
    body::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
