/* Mobile Menu Styles for Lucky Mariachi */

/* Header Wrapper for mobile */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 98;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 50%, #004D40 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 99;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 3px solid #FFD700;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.mobile-menu-header h3 {
    color: #FFD700;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Bebas Neue', cursive;
}

.mobile-menu-close {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: rotate(90deg);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 20px;
}

/* Mobile Balance Display */
.mobile-balance {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.mobile-balance .balance-item {
    text-align: center;
}

.mobile-balance .balance-label {
    display: block;
    font-size: 12px;
    color: #FFD700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-balance .balance-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile Navigation */
.mobile-nav {
    margin-bottom: 30px;
}

.mobile-nav-btn {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateX(5px);
}

.mobile-nav-btn.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFD700;
    color: #000;
}

.mobile-icon {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

/* Mobile Auth Section */
.mobile-auth {
    padding-top: 20px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

/* Desktop Only / Mobile Only */
.desktop-only {
    display: block;
}

.desktop-nav {
    display: flex;
}

/* Media Queries */
@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .desktop-only {
        display: none;
    }
    
    .header .container {
        padding: 15px 20px;
    }
    
    .logo-image {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 280px;
        right: -300px;
    }
    
    .logo-image {
        max-width: 150px;
    }
    
    .mobile-balance {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-balance .balance-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-balance .balance-label {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
    
    .logo-image {
        max-width: 120px;
    }
    
    .mobile-menu-header h3 {
        font-size: 20px;
    }
    
    .mobile-nav-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .mobile-icon {
        font-size: 20px;
    }
}

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}