/* ================================================
   ORIENTATION LOCK - PORTRAIT MODE ONLY
   ================================================ */

/* Hide orientation overlay by default */
.orientation-overlay {
    display: none;
}

/* Show overlay ONLY on mobile devices in landscape mode */
@media screen and (max-width: 932px) and (orientation: landscape) {
    .orientation-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        z-index: 999999;
        animation: fadeIn 0.3s ease;
    }
    
    /* Hide all page content in landscape mode on mobile */
    body > *:not(.orientation-overlay) {
        display: none !important;
    }
    
    /* Prevent scrolling */
    body {
        overflow: hidden !important;
    }
}

/* Overlay Content Styling */
.orientation-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 500px;
    animation: slideUp 0.5s ease;
}

.orientation-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.orientation-icon > svg {
    color: #d4af37;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.rotation-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate360 2s linear infinite;
}

.rotation-arrow svg {
    color: #d4af37;
}

.orientation-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    margin: 0 0 15px 0;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    line-height: 1.2;
}

.orientation-message {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate360 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Tablet portrait mode - allow normal viewing */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .orientation-overlay {
        display: none !important;
    }
    
    body > *:not(.orientation-overlay) {
        display: block !important;
    }
}

/* Desktop - never show orientation lock */
@media screen and (min-width: 1025px) {
    .orientation-overlay {
        display: none !important;
    }
}
