.game-container {
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

#gameCanvas {
    display: block;
    background: #87CEEB;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#landscape-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.warning-content {
    text-align: center;
    padding: 2rem;
    max-width: 80%;
}

.warning-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.warning-content p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.phone-icon {
    font-size: 4rem;
    animation: rotate-phone 2s infinite ease-in-out;
}

@keyframes rotate-phone {
    0% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-90deg);
    }

    80% {
        transform: rotate(-90deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media screen and (orientation: portrait) {
    #landscape-warning {
        display: flex;
    }

    .game-container {
        display: none !important;
    }
}
