:root {
    /* Fluid typography */
    --title-size: clamp(3.5rem, 10vw, 7rem);
    --subtitle-size: clamp(1.2rem, 3vw, 2.2rem);
    --scroll-text-size: clamp(0.8rem, 1.5vw, 1rem);

    /* Spacing */
    --line-position: clamp(50px, 5vw, 100px);
    --logo-size: clamp(80px, 15vw, 170px);

    /* Colors */
    --text-color: #FFFFFF;
    --line-color: rgba(239, 239, 239, 0.85);

    /* Animation */
    --fade-duration: 1.2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    margin: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #000;
}

.home {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    background:
            linear-gradient(rgba(19, 19, 19, 0.4), rgba(19, 19, 19, 0.4)),
            url('../../../src/img/sfondi/Home-sfondo.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content-wrapper {
    width: 90%;
    max-width: 1600px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

/* Logo styling */
.logoSPTNK {
    width: var(--logo-size);
    height: auto;
    z-index: 2;
    top: 5%;
    left: var(--line-position);
    transform: translateX(0);
    opacity: 0;
    animation: fadeIn var(--fade-duration) ease-out 0.4s forwards;
}

/* Text content */
.main-content {
    text-align: center;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.stay-tuned {
    display: flex;
    flex-direction: column;
    z-index: 10;
    gap: 1.5rem;
    margin-bottom: 5vh;
}

.stay-tuned-title {
    font-size: var(--title-size);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.6s forwards;
}

.stay-tuned-subtitle {
    font-size: var(--subtitle-size);
    font-family: "Inria Serif", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.4;
    max-width: 80%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.8s forwards;
}

/* Scroll indicator */
.scroll-container {
    position: absolute;
    bottom: clamp(30px, 7vh, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.4s forwards;
}

.scroll-down {
    font-size: var(--scroll-text-size);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
}

.arrow-down {
    width: clamp(18px, 2.5vw, 24px);
    height: auto;
    transition: all 0.4s ease;
    animation: bounce 2s infinite;
}

/* Vertical lines */
.vertical-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background: var(--line-color);
    height: 0;
    z-index: 5;
    opacity: 0;
}

.left-line {
    left: var(--line-position);
    animation: growLine 1.2s ease-out 0.2s forwards;
}

.right-line {
    right: var(--line-position);
    animation: growLine 1.2s ease-out 0.3s forwards;
}

/* Animations */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    to {
        height: 60vh;
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .stay-tuned-title {
        line-height: 1.1;
    }

    .stay-tuned-subtitle {
        max-width: 90%;
    }
}

@media (max-width: 700px) {
    .logoSPTNK {
        display: none;
    }

    .vertical-line {
        display: none;
    }

    .stay-tuned {
        margin-bottom: 2rem;
    }

    .stay-tuned-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .stay-tuned-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        width: 100%;
        padding: 0 10%;
    }

    .stay-tuned {
        gap: 1rem;
    }

    .scroll-container {
        bottom: 30px;
    }
}