.mobile-taskbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #050505;
    border-top: 1px solid rgba(235, 197, 142, 0.3);
    padding: 12px 0 10px 0;
    z-index: 1100;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
}

.mobile-lang-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background-color: #080808;
    border-radius: 15px;
    padding: 20px;
    z-index: 1200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-lang-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-popup-content h4 {
    margin: 0 0 15px 0;
    color: #EBC58E;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
}

.lang-option:hover {
    background-color: rgba(235, 197, 142, 0.1);
    transform: translateY(-2px);
}

.lang-option.active {
    background-color: rgba(235, 197, 142, 0.2);
    border: 1px solid #EBC58E;
}

.lang-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.lang-name {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
}

.lang-option i {
    color: #EBC58E;
    font-size: 14px;
}

.close-popup-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup-btn:hover {
    color: #EBC58E;
}

.taskbar-item {
    text-decoration: none;
    color: #EBC58E;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 25%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.taskbar-item i {
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.taskbar-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.taskbar-item:hover,
.taskbar-item.active {
    color: #EBC58E;
}

.taskbar-item:hover i {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(235, 197, 142, 0.5);
}

.taskbar-category:active i {
    transform: scale(0.9);
}

.category-toggle {
    display: none;
}

.category-toggle-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1150;
    opacity: 0;
    transition: opacity 0.3s;
}

.category-toggle:checked ~ .category-toggle-overlay {
    display: block;
    opacity: 1;
}

.category-toggle:checked ~ .mobile-category-menu {
    transform: translateX(0);
}

.mobile-category-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #080808;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.menu-header {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header h3 {
    margin: 0;
    color: #EBC58E;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.close-menu-btn {
    font-size: 24px;
    color: #FFF;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s;
}

.close-menu-btn:hover {
    transform: rotate(90deg);
    color: #EBC58E;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    width: 100%;
    display: block;
}

.menu-list > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-list a,
.menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.menu-link:hover {
    padding-left: 25px;
    color: #EBC58E !important;
    background: rgba(255, 255, 255, 0.02);
}

.arrow-down {
    width: 8px;
    height: 8px;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-right: 5px;
}

.submenu {
    background-color: #111;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0;
    list-style: none;
    width: 100%;
}

.submenu li {
    width: 100%;
    display: block;
}

.submenu li a {
    display: block;
    padding: 15px 20px 15px 35px;
    color: #bbb !important;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-transform: capitalize;
}

.submenu li a:hover {
    color: #FFF !important;
    padding-left: 40px;
    background: rgba(255, 255, 255, 0.03);
}

.has-submenu.active .arrow-down {
    transform: rotate(225deg);
    border-color: #EBC58E;
}

.has-submenu.active > .menu-link {
    color: #EBC58E !important;
}

.has-submenu.active .submenu {
    max-height: 600px;
}

@media (max-width: 768px) {
    .mobile-taskbar {
        display: flex;
    }
}
