/* Overlay para bloqueo de orientación horizontal */
#orientation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0081C6;
    z-index: 999999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

#orientation-overlay .rotate-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: rotate 2s infinite ease-in-out;
}

#orientation-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    padding: 0 20px;
    font-weight: bold;
}

#orientation-overlay p {
    font-size: 16px;
    text-align: center;
    padding: 0 40px;
    opacity: 0.9;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
}

/* Forzar display cuando está en landscape en móvil */
body.landscape-lock #orientation-overlay {
    display: flex !important;
}

body.landscape-lock {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

body.landscape-lock > *:not(#orientation-overlay) {
    display: none !important;
}