body {
    background: #F5E6D3;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    z-index: 10;
    transition: opacity 0.8s ease;
}

img.main {
    width: 350px;
    max-width: 90vw;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

h1 {
    margin-top: 20px;
    font-size: 42px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-text-stroke: 2px white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

button {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    background: #333;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

button:hover {
    background: #555;
}

.corner-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 10px 20px;
    background: #F5E6D3; /* изменённый цвет */
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 30;
}

.flying {
    position: absolute;
    width: 120px;
    border-radius: 10px;
    border: 2px solid black;
    z-index: 20;
    transition: opacity 0.8s ease;
}

/* Анимации */
.flying.one {
    top: 20%;
    left: -150px;
    animation: fly1 12s linear infinite;
}
@keyframes fly1 {
    0% { transform: translateX(0); }
    50% { transform: translateX(120vw) rotate(180deg); }
    100% { transform: translateX(0) rotate(360deg); }
}

.flying.two {
    top: 60%;
    right: -150px;
    animation: fly2 14s linear infinite;
}
@keyframes fly2 {
    0% { transform: translateX(0); }
    50% { transform: translateX(-120vw) rotate(-180deg); }
    100% { transform: translateX(0) rotate(-360deg); }
}

.flying.three {
    bottom: -150px;
    left: 40%;
    animation: fly3 16s linear infinite;
}
@keyframes fly3 {
    0% { transform: translateY(0); }
    50% { transform: translateY(-120vh) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Скрытый экран */
.hidden-screen {
    opacity: 0;
    pointer-events: none;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.8s ease;
}

.hidden-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.hidden-screen img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.8s ease;
}

.hidden-screen.active img {
    transform: scale(1.1);
}

.hidden {
    opacity: 0;
    pointer-events: none;
}
