* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animazione sfondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    width: 100%;
    z-index: 1;
    position: relative;
}

/* Header con logo e anno */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.logo {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255,255,255,0.2));
}

.year-2025 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #fff, #888, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Locandina */
.poster-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeIn 1.5s ease;
}

.poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.poster:hover {
    transform: scale(1.02);
}

/* Form di registrazione */
.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 1s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

input[type="text"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Messaggio di successo */
.success-message {
    display: none;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    animation: slideIn 0.5s ease;
}

.success-message.show {
    display: block;
}

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .year-2025 {
        font-size: 48px;
        letter-spacing: 5px;
    }

    .registration-form {
        padding: 25px;
    }

    .form-title {
        font-size: 24px;
    }
}