    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--bg-tertiary);
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #3a86ff 0%, #9c88ff 100%);
        border-radius: 4px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #2a76ef 0%, #8c78ef 100%);
    }
    
    ::-webkit-scrollbar-corner {
        background: var(--bg-tertiary);
    }
    
    /* Для Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #3a86ff var(--bg-tertiary);
    }
    
    /* Плавная прокрутка для всего сайта */
    html {
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: #3a86ff var(--bg-tertiary);
    }
    
    /* Скроллбар для поисковых подсказок */
    .search-suggestions::-webkit-scrollbar {
        width: 6px;
    }
    
    .search-suggestions::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    .search-suggestions::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #ffd166 0%, #ffb142 100%);
        border-radius: 3px;
    }
    
    /* CSS переменные для консистентности */
    :root {
        --radius: 8px;
        --transition: all 0.3s ease;
    }
    
    /* Стили для страницы About */
    .page-header {
        margin-bottom: 40px;
        text-align: center;
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--text-primary);
    }
    
    .page-header p {
        color: var(--text-secondary);
        font-size: 18px;
        line-height: 1.5;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .category-info {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        background: var(--bg-tertiary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        border: 1px solid var(--border);
    }
    
    .category-icon i {
        font-size: 24px;
        color: var(--accent);
    }
    
    /* Счетчики */
    .apps-count {
        display: inline-block;
        background: var(--accent);
        color: white;
        padding: 3px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
        margin-left: 8px;
        line-height: 1.2;
        vertical-align: middle;
    }
    
    /* Счетчик для подкатегорий в сетке */
    .subcategory-count {
        font-size: 11px;
        color: var(--text-tertiary);
        background: var(--bg-tertiary);
        padding: 2px 6px;
        border-radius: 10px;
        font-weight: 500;
        display: inline-block;
        margin-top: 4px;
        line-height: 1.2;
    }
    
    /* Подкатегории */
    .subcategories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
    
    .subcategory-card {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 20px;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
        display: block;
        text-align: center;
    }
    
    .subcategory-card:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .subcategory-icon {
        width: 40px;
        height: 40px;
        background: var(--bg-tertiary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        border: 1px solid var(--border);
    }
    
    .subcategory-icon i {
        font-size: 18px;
        color: var(--accent);
    }
    
    .subcategory-name {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--text-primary);
    }
    
    .apps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .app-card {
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
        display: block;
        height: 100%;
    }
    
    .app-card:hover {
        border-color: var(--accent);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .app-icon {
        position: relative;
        width: 60px;
        height: 60px;
        background: var(--bg-tertiary);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .app-icon img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }
    
    .app-icon i {
        font-size: 24px;
        color: var(--accent);
    }
    
    .app-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--success);
        color: white;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 12px;
        text-transform: uppercase;
    }
    
    .app-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--text-primary);
    }
    
    .app-description {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.5;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .app-meta {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: var(--text-tertiary);
        padding-top: 15px;
        border-top: 1px solid var(--border);
    }
    
    /* Стили для поиска (исправленные) */
    .search-container {
        position: relative !important;
        width: 300px;
    }

    .search-input {
        width: 100%;
        padding: 10px 16px 10px 42px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--text-primary);
        font-size: 14px;
        outline: none;
        transition: var(--transition);
    }

    .search-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.1);
    }

    .search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-tertiary);
        pointer-events: none;
    }

    /* Подсказки поиска */
    .search-suggestions {
        position: absolute;
        top: 100% !important;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-top: 5px;
        display: none;
        z-index: 1000;
        max-height: 400px;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .search-suggestions a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        text-decoration: none;
        color: var(--text-primary);
        transition: background 0.2s;
        border-bottom: 1px solid var(--border);
    }

    .search-suggestions a:last-child {
        border-bottom: none;
    }

    .search-suggestions a:hover {
        background: var(--bg-tertiary);
    }
    
    /* Стили для выпадающего меню - ВЕРНУЛ КАК БЫЛО */
    .dropdown {
        position: relative;
        display: inline-block;
    }
    
    .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }
    
    .dropdown-icon {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 8px;
        min-width: 250px;
        max-width: 300px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
        margin-top: 5px;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-parent {
        position: relative;
    }
    
    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--border);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .parent-item-content,
    .child-item-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .category-name {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
    
    .child-item .category-name {
        margin-left: 8px;
    }
    
    .category-info-wrapper {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .submenu-icon {
        font-size: 10px;
        color: var(--text-tertiary);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .dropdown-parent:hover .submenu-icon {
        transform: rotate(90deg);
        color: var(--accent);
    }
    
    /* Счетчики только для дочерних категорий */
    .category-count {
        background: var(--bg-tertiary);
        color: var(--text-secondary);
        font-size: 10px;
        padding: 1px 5px;
        border-radius: 8px;
        font-weight: 600;
        min-width: 20px;
        text-align: center;
        line-height: 1.2;
        margin-left: 8px;
        flex-shrink: 0;
        display: inline-block;
    }
    
    /* Активная категория в меню */
    .dropdown-item.active {
        background: var(--bg-tertiary);
        color: var(--accent);
        border-left: 3px solid var(--accent);
    }
    
    .dropdown-item:hover {
        background: var(--bg-tertiary);
        color: var(--accent);
    }
    
    .dropdown-submenu {
        position: absolute;
        top: 0;
        left: 100%;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 8px;
        min-width: 220px;
        max-width: 280px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    .dropdown-parent:hover .dropdown-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .no-results {
        text-align: center;
        padding: 60px 20px;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
    }
    
    .no-results-icon {
        font-size: 48px;
        color: var(--text-tertiary);
        margin-bottom: 20px;
    }
    
    .no-results h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: var(--text-primary);
    }
    
    .no-results p {
        color: var(--text-secondary);
        margin-bottom: 20px;
    }
    
    .back-to-home {
        display: inline-block;
        padding: 10px 20px;
        background: var(--accent);
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .back-to-home:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(58, 134, 255, 0.2);
    }
    
    /* Адаптивность */
    @media (max-width: 1024px) {
        .search-container {
            width: 250px;
        }
        
        .subcategories-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
    }
    
    @media (max-width: 768px) {
        .page-header h1 {
            font-size: 32px;
        }
        
        .page-header p {
            font-size: 16px;
        }
        
        .subcategories-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .apps-grid {
            grid-template-columns: 1fr;
        }
        
        .header-content {
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .search-container {
            order: 3;
            width: 100%;
        }
        
        .main-nav {
            order: 2;
        }
        
        .dropdown-submenu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            border: none;
            border-top: 1px solid var(--border);
            display: none;
        }
        
        .dropdown-parent.active .dropdown-submenu {
            display: block;
        }
        
        .parent-item {
            cursor: pointer;
        }
        
        .child-item {
            padding-left: 30px;
        }
        
        .category-count {
            font-size: 10px;
            padding: 1px 4px;
            min-width: 20px;
        }
        
        .apps-count {
            font-size: 11px;
            padding: 2px 6px;
        }
        
        .subcategory-count {
            font-size: 10px;
            padding: 1px 5px;
        }
    }
    
    @media (max-width: 480px) {
        .subcategories-grid {
            grid-template-columns: 1fr;
        }
        
        .page-header h1 {
            font-size: 28px;
        }
    }