.close-menu-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f5f7fa;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(67,97,238,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 10;
}
.close-menu-btn:hover {
    background: #e4e8eb;
    color: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}
.menu-header {
    position: relative;
}

.menu-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: transparent;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 10px;
}

.menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    background-color: white;
}

.menu-content::-webkit-scrollbar {
    width: 6px;
}

.menu-content::-webkit-scrollbar-track {
    background: transparent;
}

.menu-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 3px;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin: 0 0 0.75rem 1rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(67,97,238,0.3) 0%, rgba(255,255,255,1) 100%);
}

.menu-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.menu-btn:hover {
    background: #f1f3ff;
    transform: translateX(4px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.menu-btn:active {
    transform: scale(0.98) translateX(4px);
}

.menu-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.menu-btn:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.menu-btn:hover .btn-text {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-subtext {
    font-size: 0.75rem;
    color: #6c757d;
    position: absolute;
    right: 1rem;
    opacity: 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-btn:hover .btn-subtext {
    opacity: 1;
    right: 1.5rem;
}

.dropdown-toggle .dropdown-arrow {
    margin-left: auto;
    transition: var(--transition);
    color: #adb5bd;
    font-size: 0.8rem;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.submenu {
    padding-left: 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu.active {
    max-height: 500px;
}

.submenu-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: var(--border-radius);
    background: transparent;
    border: none;
    font-size: 0.875rem;
    color: #6c757d;
    cursor: pointer;
    transition: var(--transition);
}

.submenu-btn:hover {
    background: rgba(241, 243, 255, 0.5);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.submenu-btn i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.menu-footer {
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: #6c757d;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.social-links a:hover {
    color: white;
    transform: scale(1.2);
}

.social-links a:hover i {
    transform: scale(1.2);
}

.social-links a:nth-child(1):hover { background: #0088cc; } /* Telegram */
.social-links a:nth-child(2):hover { background: #1877f2; } /* Facebook */
.social-links a:nth-child(3):hover { background: #1da1f2; } /* Twitter */
.social-links a:nth-child(4):hover { background: #25d366; } /* WhatsApp */

.about-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 20px;
}

.about-link:hover {
    color: var(--primary-color);
    background: #f1f3ff;
}

.about-link i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-container {
        width: 380px;
    }
    
    .menu-btn {
        padding: 0.65rem 0.75rem;
    }
    
    .btn-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .btn-text {
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.menu-btn {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

.menu-btn:nth-child(1) { animation-delay: 0.1s; }
.menu-btn:nth-child(2) { animation-delay: 0.15s; }
.menu-btn:nth-child(3) { animation-delay: 0.2s; }
.menu-btn:nth-child(4) { animation-delay: 0.25s; }
.menu-btn:nth-child(5) { animation-delay: 0.3s; }