@media (min-width: 768px) {
    .o-nav-bottom {
        display: none !important;
    }
    
    .desktop-sidebar {
        position: fixed;
        left: 50%;
        top: 0;
        width: 200px;
        height: 100vh;
        /* background: #ffffff; */
        /* border-right: 1px solid #e5e7eb; */
        z-index: 1000;
        display: block;
        transform: translateX(calc(-50% - 420px));
    }
    
    .desktop-sidebar .nav-content {
        height: 100%;
        padding: 2rem 0;
    }
    
    .desktop-sidebar .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .desktop-sidebar .nav-item {
        width: 100%;
    }
    
    .desktop-sidebar .nav-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-decoration: none;
        color: #6b7280;
        transition: all 0.2s ease;
        border: none;
        background: transparent;
        border-radius: 10px;
    }
    
    .desktop-sidebar .nav-link:hover {
        background: #f3f4f6;
        color: #1f2937;
    }
    
    .desktop-sidebar .nav-link.-active {
        background: #eff6ff;
        color: #2563eb;
        border-right: 3px solid #2563eb;
    }
    
    .desktop-sidebar .nav-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .desktop-sidebar .nav-text {
        font-size: 1rem;
        font-weight: 500;
    }
    
    .page-layout {
        margin-left: 0;
        width: 100%;
        min-height: 100vh;
        padding-bottom: 0 !important;
        display: flex;
        justify-content: center;
    }
    
    /* Адаптация для всех страниц - правильные классы */
    .p-home-main,
    .page {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .p-home-main.container,
    .page.container {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .page-history,
    .page-history .container,
    .p-coin.container,
    .steam-prepare.container,
    .p-referrals.container,
    .p-profile-email.container,
    .p-auth.container,
    .p-profile,
    .p-profile .container,
    .p-profile-information.container {
        width: 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
    }
    
    main.p-profile {
        width: 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
    }
    
    main.p-profile .container {
        width: 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 767px) {
    .desktop-sidebar {
        display: none !important;
    }
    
    .page-layout {
        margin-left: 0 !important;
        width: 100% !important;
        padding-bottom: 80px;
    }
}
