/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a; /* Grigio scuro moderno */
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif; /* Font tecnico/moderno */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.container {
    padding: 20px;
    max-width: 500px;
    width: 100%;
}

/* Stile SVG Gru */
.crane-svg {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    overflow: visible;
}

/* Titoli e Testi */
h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #f4d03f; /* Giallo Cantiere */
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 30px;
}

strong {
    color: #fff;
    font-weight: 700;
}

/* Badge "Deploying" */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(244, 208, 63, 0.1);
    border: 1px solid #f4d03f;
    color: #f4d03f;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* --- ANIMAZIONI --- */

/* 1. Il carico che va su e giù */
.load-group {
    animation: hoist 4s ease-in-out infinite;
    transform-origin: 140px 24px;
}

@keyframes hoist {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px); /* Tira su il blocco */
    }
}

/* 2. Pulsazione del badge */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsività per cellulari */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .crane-svg { width: 140px; height: 140px; }
}
