/* Reset e variabili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --text-dark: #1a1a1a;
    --text-light: #f1faee;
    --bg-light: #f8f9fa;
    --bg-dark: #0d1b2a;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container principale */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Contenuto centrale */
.content {
    max-width: 600px;
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

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

/* Logo */
.logo-container {
    margin-bottom: 2.5rem;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Box messaggio */
.message-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}

.title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(230, 57, 70, 0.8), 0 0 60px rgba(230, 57, 70, 0.4);
    }
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.description {
    font-size: 1rem;
    color: rgba(241, 250, 238, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Informazioni di contatto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item .label {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.contact-item .value {
    font-size: 1rem;
    color: var(--text-light);
}

.contact-item .value.link {
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
}

.contact-item .value.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-item .value.link:hover {
    color: var(--primary-color);
}

.contact-item .value.link:hover::after {
    width: 100%;
}

/* Copyright */
.copyright {
    font-size: 0.8rem;
    color: rgba(241, 250, 238, 0.5);
}

/* Background animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.gear {
    position: absolute;
    border: 2px solid rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.gear-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-duration: 25s;
}

.gear-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.gear-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-duration: 35s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .message-box {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .contact-item .value {
        font-size: 0.9rem;
    }
}