/* VARIABILI COLORE */
:root {
    --bg-color: #000;
    --acid-yellow: #ccff00;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('images/Cursor.png'), auto;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--acid-yellow);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* SFONDO GIF ADATTIVO */
.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* OVERLAY GENERALE */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index: -1;
}

/* BLUR SFUMATO IN ALTO */
.blur-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 5%,
        transparent 15%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 5%,
        rgba(0,0,0,0.5) 10%,
        transparent 15%
    );
}

/* SOCIAL ANCORATI IN ALTO */
.social-top {
    position: fixed;
    top: 2vw;
    display: flex;
    gap: 2.5vw;
    z-index: 20;
}

.social-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
}

.social-top a img {
    width: 4.2vw;
    height: 4.2vw;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.social-top a:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8)) brightness(1.3);
}

/* CORPO CENTRALE */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 100%;
    padding: 6vw 2vw 2vw 2vw;
}

/* TITOLO PNG */
.title-image {
    width: 55vw;
    height: auto;
    display: block;
    margin-bottom: 2vw;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

/* MAILING LIST */
.newsletter {
    width: 35vw;
    max-width: 540px; /* Aggiungi questa riga */
}

.sib-form-container,
.sib-form {
    width: 100% !important;
}

#sib-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* FOOTER */
.site-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 1vw 2vw;
    z-index: 20;
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #c3d118;
    letter-spacing: 0.05em;
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-text p {
    font-size: 0.9vw;
    margin: 0;
    line-height: 1.3;
}

.bromodoro-footer {
    height: 4vw;
    width: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ADATTAMENTO MOBILE */
@media (max-width: 768px) {
    .social-top {
        top: 4vw;
        gap: 6vw;
    }

    .social-top a img {
        width: 7vw;
        height: 7vw;
    }

    .main-content {
        padding: 20vw 4vw 8vw 4vw;
    }

    .title-image {
        width: 95vw;
        margin-bottom: 8vw;
    }

    .newsletter {
        width: 85vw;
    }

    .newsletter form {
        flex-direction: column;
        border-width: 0.5vw;
    }

    .newsletter input {
        padding: 3vw;
        font-size: 3.5vw;
    }

    .newsletter button {
        padding: 3vw;
        font-size: 3.5vw;
    }
    
    .footer-text p {
        font-size: 12px;
    }
    
    .bromodoro-footer {
        height: 8vw;
    }
}

@media (max-width: 480px) {
    .footer-text p {
        font-size: 13px;
    }
}