
/* Orientation Warning Overlay */
#orientation-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #231F20;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-family: arial, sans-serif;
}

.warning-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.phone-icon {
    width: 60px;
    height: 100px;
    border: 4px solid white;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: rotate-phone 2s infinite ease-in-out;
}

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

@media only screen and (orientation: portrait) {
    #orientation-warning {
        display: flex !important;
    }
    /* Optional: Hide game container behind warning to prevent interaction */
    #unity-container {
        display: none !important;
    }
}
