* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Georgia', serif;
}

/* Contenitore video di sfondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay scuro sopra il video per far risaltare il testo */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    z-index: 2;
}

/* Contenitore testo */
.content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.coming-soon-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 25px;
}

.word {
    font-size: 8vw;
    font-weight: 700;
    letter-spacing: 6px;
    color: #6d0f1a;
    white-space: nowrap;
    opacity: 0;
}

/* COMING arriva da destra verso sinistra */
.word-coming {
    animation: slideFromRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

/* SOON arriva da sinistra verso destra */
.word-soon {
    animation: slideFromLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(120vw);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-120vw);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.subtitle {
    margin-top: 30px;
    font-size: 1.1vw;
    min-width: 260px;
    letter-spacing: 4px;
    color: #333333;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 1.8s;
}

@keyframes fadeIn {
    to { opacity: 0.85; }
}

.line {
    width: 0;
    height: 2px;
    background: #6d0f1a;
    margin: 25px auto 0;
    animation: growLine 1s ease forwards;
    animation-delay: 1.6s;
}

@keyframes growLine {
    to { width: 180px; }
}

@media (max-width: 768px) {
    .word {
        font-size: 12vw;
        letter-spacing: 3px;
    }
    .subtitle {
        font-size: 3.2vw;
    }
}