:root {
    --netbrux-gradient: linear-gradient(135deg, #FB4E00 0%, #D34300 100%);
    --netbrux-primary: #FB4E00;
    --netbrux-secondary: #D34300;
    --menu-width: 320px;
    --animation-speed: 0.4s;
}

.netbrux-mobile-trigger {
    position: relative;
    z-index: 9998;
}

.netbrux-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 9999;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.netbrux-menu-icon:hover {
    transform: scale(1.1);
}

.menu-bar {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #FB4E00 0%, #D34300 100%);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.netbrux-menu-icon.active .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.netbrux-menu-icon.active .menu-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.netbrux-menu-icon.active .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.netbrux-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.netbrux-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.netbrux-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--menu-width);
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    transform: translateX(100%);
    transition: transform var(--animation-speed) cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.netbrux-mobile-menu.active {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(251, 78, 0, 0.05) 0%, rgba(211, 67, 0, 0.05) 100%);
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
}

.menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #666;
}

.menu-close:hover {
    background: rgba(251, 78, 0, 0.1);
    color: var(--netbrux-primary);
    transform: rotate(90deg);
}

.menu-content {
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInItem 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(var(--item-index) * 0.08s);
}

@keyframes slideInItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--netbrux-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item a:hover::before,
.menu-item a:active::before {
    transform: scaleY(1);
}

.menu-item a:hover,
.menu-item a:active {
    background: linear-gradient(90deg, rgba(251, 78, 0, 0.08) 0%, transparent 100%);
    padding-left: 32px;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(251, 78, 0, 0.1) 0%, rgba(211, 67, 0, 0.1) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-item a:hover .item-icon {
    background: var(--netbrux-gradient);
    transform: scale(1.1) rotate(5deg);
}

.menu-item a:hover .item-icon svg {
    stroke: #ffffff;
}

.item-icon svg {
    stroke: var(--netbrux-primary);
    transition: stroke 0.3s ease;
}

.item-text {
    flex: 1;
}

.menu-item.featured a {
    position: relative;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--netbrux-gradient);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.menu-footer {
    padding: 24px 24px 32px;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: var(--netbrux-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 78, 0, 0.3);
}

.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 78, 0, 0.4);
}

.menu-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 78, 0, 0.1), transparent);
    animation: float 15s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: -30px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .netbrux-mobile-menu {
        --menu-width: 100%;
    }
    
    .menu-item a {
        font-size: 15px;
    }
}
