/* Mobile Menu Fixes */
@media (max-width: 768px) {
    /* Ensure hamburger menu is always visible on mobile */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: #2c3e50;
        transition: all 0.3s ease;
        transform-origin: center;
        border-radius: 2px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: #e91e63;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: #e91e63;
    }
    
    /* Fix nav-actions for app store buttons */
    .nav-actions .app-store,
    .nav-actions .play-store {
        display: block;
        width: 100%;
        max-width: 180px;
        margin: 0 auto 10px auto;
    }
    
    .nav-actions .app-store img,
    .nav-actions .play-store img {
        width: 100%;
        height: auto;
        max-height: 45px;
        object-fit: contain;
    }
    
    /* Ensure mobile menu works properly */
    .nav-menu {
        position: fixed !important;
        right: -100% !important;
        top: 0 !important;
        width: 85% !important;
        max-width: 350px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
        z-index: 1000 !important;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        flex-direction: column !important;
        padding: 5rem 0 16rem !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-actions {
        position: fixed !important;
        right: -100% !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 350px !important;
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
        z-index: 1001 !important;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        padding: 1.5rem 2rem 2rem !important;
        box-shadow: -5px -5px 25px rgba(0,0,0,0.1) !important;
        border-top: 3px solid #e91e63 !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .nav-actions.active {
        right: 0 !important;
    }
    
    /* Mobile menu overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}