.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 998;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: rgba(25, 25, 25, 0.98);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-menu-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
}

.mobile-menu-header img {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-header h1 {
    color: #fff;
    font-size: 1.5em;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.mobile-menu-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 5px;
    margin: 15px;
}

.mobile-menu-nav li {
    margin-bottom: 10px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-nav .icon-svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.9;
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 997;
    padding: 0 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-header-content {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-header-title {
    flex: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-header-title:active {
    opacity: 0.8;
}

.mobile-header-title img {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.mobile-header-title img:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mobile-header-title h1 {
    color: #fff;
    font-size: 1.35em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.mobile-menu-toggle {
    position: fixed;
    top: 17px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span::before {
    top: -6px;
}

.mobile-menu-toggle span::after {
    bottom: -6px;
}

.mobile-menu-toggle.active span {
    background: transparent;
}

.mobile-menu-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-header {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }

    body {
        padding-top: 75px;
    }
    
    .mobile-menu.active {
        right: 0;
        transform: translateX(0);
    }
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-social-links .icon-svg {
    width: 20px;
    height: 20px;
} 