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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Container principale */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Contenuto centrato */
.content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Logo */
.logo {
    width: 200px;
    height: auto;
    max-width: 100%;
    margin: 0 auto 3rem;
    display: block;
    object-fit: contain;
}

/* Titolo */
.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Sottotitolo */
.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* Animazione fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo {
        width: 160px;
        margin-bottom: 2.5rem;
    }
    
    .title {
        margin-bottom: 0.75rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        width: 140px;
        margin-bottom: 2rem;
    }
    
    .subtitle {
        padding: 0 1rem;
    }
}

/* Ottimizzazioni per performance */
.logo {
    will-change: transform;
}

/* Riduzione movimento per preferenze utente */
@media (prefers-reduced-motion: reduce) {
    body,
    .content {
        animation: none;
        transition: none;
    }
}

