* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    background: url("background.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Overlay per migliorare leggibilità */
body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 20px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

button {
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

button:active {
    transform: scale(0.95);
}

#yesBtn {
    background: #2ecc71;
    color: white;
}

#yesBtn:hover {
    background: #27ae60;
}

#noBtn {
    background: #e74c3c;
    color: white;
    position: absolute;
}

/* Video overlay */
.videoContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.videoContainer iframe {
    width: 90%;
    max-width: 800px;
    height: 50vw;
    max-height: 450px;
    border-radius: 12px;
}

.closeBtn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    color: black;
    padding: 10px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

@media (max-width: 600px) {
    button {
        width: 80%;
    }
}

#videoTitle {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}