/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
    background-color: #030508;
    /* Dark background matching logo */
    color: #ffffff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- BACKGROUND EFFECT --- */
.background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(12, 50, 70, 0.4) 0%, rgba(3, 5, 8, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- MAIN CONTAINER --- */
.container {
    text-align: center;
    padding: 20px;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

/* --- LOGO STYLING (CIRCULAR) --- */
.logo {
    width: 100%;
    max-width: 300px;
    /* Dimensione logo */
    height: auto;

    /* TRASFORMAZIONE IN CERCHIO */
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    /* Assicura che rimanga un cerchio perfetto */
    object-fit: cover;
    /* Taglia l'immagine se non è perfettamente quadrata */

    /* Effetti estetici */
    box-shadow: 0 0 20px rgba(110, 255, 110, 0.1);
    /* Leggero alone verde */
    border: 1px solid rgba(110, 255, 110, 0.2);
    /* Bordo sottile per definire il cerchio */

    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #6eff6e;
    /* Neon green */
    margin-bottom: 1rem;
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    color: #a0b0c0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- TERMINAL CURSOR EFFECT --- */
.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: #6eff6e;
    vertical-align: bottom;
    animation: blink 1s step-end infinite;
}

/* --- FOOTER --- */
.footer {
    font-size: 0.8rem;
    color: #4a5a6a;
    margin-top: 40px;
}

/* --- ANIMATIONS --- */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    .logo {
        max-width: 220px;
    }

    h1 {
        font-size: 1.2rem;
    }
}