body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow: hidden;
    height: 100vh;
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/* Добавляем частицы (пепел/пыль) */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2; /* Над картинками, под текстом */
    pointer-events: none; /* Чтобы не мешало кликать */
    background-image: radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)), 
                      radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)), 
                      radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particles 10s linear infinite;
    opacity: 0.3;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.scene.active {
    opacity: 1;
}

.scene img {
    position: absolute;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

.scene p {
    position: absolute;
    z-index: 2;
    font-size: 48px; 
    color: white;
    text-align: center;
    max-width: 40%;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000;
    margin: 0;
}

.text-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.text-top-center { top: 15%; left: 50%; transform: translate(-50%, 0); text-align: center; }
.text-top-left { top: 10%; left: 10%; text-align: left; }
.text-top-right { top: 10%; right: 10%; text-align: right; }
.text-bottom-left { bottom: 10%; left: 10%; text-align: left; }
.text-bottom-right { bottom: 10%; right: 10%; text-align: right; }

#buttons-container {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    transition: all 0.5s ease-in-out;
}

#buttons-container button {
    position: absolute;
    top: 0;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#buttons-container button:hover {
    background: #fff;
    color: #000;
}

/* Default centered position */
#yesBtn { right: calc(50% + 20px); }
#noBtn { left: calc(50% + 20px); }

/* Spaced position for spaced scenes */
#buttons-container.spaced #yesBtn { right: 5%; }
#buttons-container.spaced #noBtn { left: 5%; }
