* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Century Gothic', sans-serif;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: white;
}

#scroll-container {
    height: 500vh;
    position: relative;
}

#scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Fundo espacial estático */
#space {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0033 0%, #000428 50%, #000000 100%);
    top: 0;
}

/* Estrelas em movimento */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px white;
}

/* Diferentes tamanhos de estrelas para profundidade */
.star-small {
    width: 1px;
    height: 1px;
}

.star-medium {
    width: 2px;
    height: 2px;
}

.star-large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 5px white;
}

#earth {
    position: absolute;
    bottom: -30vh;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 150vw;
    max-width: 800px;
    max-height: 800px;
    z-index: 1;
}

#mars {
    position: absolute;
    top: -40vh;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 120vw;
    max-width: 600px;
    max-height: 600px;
    opacity: 0;
    z-index: 1;
}

/* Adicione esta nova regra para estilizar as imagens dentro dos containers */
#earth img,
#mars img {
    width: 100%;
    height: 100%;
    display: block;
}

#rocket {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

#rocket-img {
    width: 200px;
    height: auto;
    display: block;
}

.text-overlay {
    position: fixed;
    top: 50%;
    font-size: 24px;
    font-weight: 300;
    max-width: 300px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 50;
    line-height: 1.6;
}

.text-left {
    left: 5%;
    transform: translateY(-50%);
}

.text-right {
    right: 5%;
    transform: translateY(-50%);
}

#video-overlay {
    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: 1000;
}

#video-container {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
}

#mars-video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .text-overlay {
        font-size: 16px;
        max-width: 200px;
        padding: 15px;
    }

    .text-left {
        left: 2%;
    }

    .text-right {
        right: 2%;
    }

    #rocket-img {
        width: 110px;
    }
}

#eyes-simulator-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow: hidden;
    padding: 20px;
}

#eyes-iframe {
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

#close-eyes-simulator {
    margin-top: 20px;
    padding: 12px 30px;
    background: #ff5252;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

#close-eyes-simulator:hover {
    background: #d32f2f;
}