 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Roboto", Arial, sans-serif;
            background: #0f0f0f;
            color: #fff;
        }

        /* Header */
        .header {
            background: #212121;
            padding: 0 16px;
            position: sticky;
            top: 0;
            z-index: 1001;
            display: flex;
            align-items: center;
            height: 56px;
            gap: 40px;
        }

        .menu-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            transition: background 0.2s;
        }

        .menu-icon:hover {
            background: rgba(255,255,255,0.1);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 20px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            color: #fff;
        }

        .logo i {
            color: #ff0000;
            font-size: 32px;
        }

        .search-container {
            flex: 1;
            max-width: 600px;
            display: flex;
        }

        .search-box {
            flex: 1;
            display: flex;
            align-items: center;
            height: 40px;
            border: 1px solid #303030;
            border-radius: 40px 0 0 40px;
            background: #121212;
        }

        .search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            padding: 0 16px;
            color: #fff;
            font-size: 16px;
        }

        .search-input::placeholder {
            color: #888;
        }

        .search-btn {
            width: 64px;
            height: 40px;
            background: #303030;
            border: 1px solid #303030;
            border-radius: 0 40px 40px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
            border: none;
        }

        .search-btn:hover {
            background: #3f3f3f;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: auto;
        }

        .icon-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            transition: background 0.2s;
            position: relative;
        }

        .icon-btn:hover {
            background: rgba(255,255,255,0.1);
        }

        .user-icon {
            width: 32px;
            height: 32px;
            background: #f00;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            cursor: pointer;
        }

        /* Sidebar */
        .sidebar {
            width: 240px;
            background: #212121;
            position: fixed;
            top: 56px;
            left: 0;
            bottom: 0;
            overflow-y: auto;
            padding: 12px 0;
            z-index: 1000;
            transition: transform 0.3s;
        }

        .sidebar::-webkit-scrollbar {
            width: 8px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: #717171;
            border-radius: 4px;
        }

        .sidebar-search {
            display: none;
            padding: 12px 12px;
            margin-bottom: 8px;
        }

        .sidebar-search-form {
            display: flex;
            align-items: center;
            height: 40px;
            background: #121212;
            border: 1px solid #303030;
            border-radius: 20px;
            overflow: hidden;
        }

        .sidebar-search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            padding: 0 16px;
            color: #fff;
            font-size: 14px;
        }

        .sidebar-search-input::placeholder {
            color: #888;
        }

        .sidebar-search-btn {
            min-width: 44px;
            height: 40px;
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #fff;
            flex-shrink: 0;
        }

        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 0 24px;
            height: 40px;
            cursor: pointer;
            transition: background 0.2s;
            text-decoration: none;
            color: #fff;
        }

        .sidebar-item:hover {
            background: rgba(255,255,255,0.1);
        }

        .sidebar-item.active {
            background: rgba(255,255,255,0.15);
        }

        .sidebar-item i {
            width: 24px;
            font-size: 20px;
            flex-shrink: 0;
        }

        .sidebar-divider {
            height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 12px 0;
        }

        .sidebar-title {
            padding: 8px 24px;
            font-size: 14px;
            font-weight: 500;
            color: #aaa;
            text-transform: uppercase;
        }

        .subscription-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 0 24px;
            height: 40px;
            cursor: pointer;
            transition: background 0.2s;
            text-decoration: none;
            color: #fff;
        }

        .subscription-item:hover {
            background: rgba(255,255,255,0.1);
        }

        .subscription-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #555;
            flex-shrink: 0;
        }

        .subscription-name {
            font-size: 14px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Main Content */
        .main-content {
            margin-left: 240px;
            padding: 24px 24px 24px 40px;
        }

        /* Page Header */
        .page-header {
            margin-bottom: 32px;
        }

        .page-title {
            font-size: 32px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .page-subtitle {
            color: #aaa;
            font-size: 16px;
        }

        /* Alphabet Filter */
        .alphabet-filter {
            background: #212121;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 24px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-label {
            font-size: 14px;
            color: #aaa;
            margin-right: 8px;
        }

        .letter-btn {
            min-width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.1);
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.2s;
            font-weight: 500;
            font-size: 14px;
        }

        .letter-btn:hover {
            background: rgba(255,255,255,0.2);
        }

        .letter-btn.active {
            background: #f1f1f1;
            color: #0f0f0f;
        }

        .letter-btn.all {
            padding: 0 12px;
        }

        /* Search Filter */
        .search-filter {
            background: #212121;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 24px;
        }

        .filter-search-box {
            display: flex;
            align-items: center;
            height: 48px;
            background: #121212;
            border: 1px solid #303030;
            border-radius: 24px;
            padding: 0 20px;
        }

        .filter-search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-size: 16px;
        }

        .filter-search-input::placeholder {
            color: #888;
        }

        .filter-search-icon {
            color: #888;
            font-size: 20px;
            margin-right: 12px;
        }

        /* Models Grid */
        .models-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
        }

        .model-card {
            background: #212121;
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            color: #fff;
        }

        .model-card:hover {
            background: #2a2a2a;
            transform: translateY(-2px);
        }

        .model-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            font-weight: 500;
            text-transform: uppercase;
        }

        .model-name {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .model-stats {
            font-size: 12px;
            color: #aaa;
        }

        /* Loading */
        .loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 100px 20px;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid #303030;
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            margin-top: 16px;
            color: #aaa;
        }

        /* Empty */
        .empty {
            text-align: center;
            padding: 100px 20px;
        }

        .empty-icon {
            font-size: 80px;
            color: #555;
            margin-bottom: 16px;
        }

        .empty-title {
            font-size: 24px;
            margin-bottom: 8px;
        }

        .empty-text {
            color: #aaa;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 40px;
            padding: 20px;
        }

        .page-btn {
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.1);
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s;
            font-weight: 500;
        }

        .page-btn:hover:not(.disabled) {
            background: rgba(255,255,255,0.2);
        }

        .page-btn.active {
            background: #fff;
            color: #0f0f0f;
        }

        .page-btn.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* Sidebar overlay */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 56px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .sidebar-overlay.active {
            display: block;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
                padding: 24px;
            }
        }

        @media (max-width: 768px) {
            .header {
                gap: 16px;
            }

            .search-container {
                display: none;
            }

            .sidebar-search {
                display: block;
            }

            .models-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .page-title {
                font-size: 24px;
            }

            .alphabet-filter {
                gap: 4px;
            }

            .letter-btn {
                min-width: 32px;
                height: 32px;
                font-size: 12px;
            }
        }
        
        .model-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #303030;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #404040;
}

.model-card:hover .model-avatar {
    background: #3a3a3a;
    border-color: #ff0000;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
}

.page-btn:hover:not(.disabled) {
    background: rgba(255,255,255,0.2);
}

.page-btn.active {
    background: #fff;
    color: #0f0f0f;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

