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

/* Corpo principale */
body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 0 15px cyan;
}

/* Video a schermo intero */
#videoWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Login form */
.login-container {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px cyan;
    text-align: center;
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-title {
    color: cyan;
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px cyan;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1em;
    text-align: center;
}

button {
    width: 100%;
    padding: 10px;
    background: cyan;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 0px 15px cyan;
}

button:hover {
    background: #00ffff;
}

/* Footer */
#footer {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link {
    color: cyan;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}
