body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

#start-screen {
    background-color: #ffe4e1; /* Нежно-розовый */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#start-message {
    font-family: Arial, sans-serif;
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

#start-button {
    padding: 15px 30px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    background-color: #9e6a74; /* Ярко-розовый */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

#start-button:hover {
    transform: scale(1.1);
}

#main-screen {
    background-image: url('background_tile.png');
    background-size: 100px 100px;
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex; /* Добавлено для центрирования */
    justify-content: center;
    align-items: center;
}

#main-message {
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #9e6a74;
    text-shadow: 2px 2px 4px #000, -2px -2px 4px #fff;
    text-align: center;
    z-index: 10;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.floating-text {
    position: absolute;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: #b0a0a3; /* Ярко-жёлтый */
    text-shadow: 2px 2px 4px #000;
    pointer-events: none;
    z-index: 30; /* Выше всего */
    animation: float 7s linear forwards;
}

@keyframes float {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)); opacity: 0; }
}

#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}