/* 现代化搜索页面样式 */
.search-page-modern {
    background: #fafbfc;
    min-height: 100vh;
}

/* 搜索头部 */
.search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.search-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.search-hero-title {
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.search-hero-title i {
    font-size: 48px;
}

.search-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 40px 0;
    font-weight: 500;
}

/* 搜索表单 */
.search-form-hero {
    max-width: 720px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 28px;
    font-size: 20px;
    color: #999;
    pointer-events: none;
}

.search-input-hero {
    flex: 1;
    border: none;
    padding: 22px 28px 22px 64px;
    font-size: 16px;
    outline: none;
}

.search-input-hero::placeholder {
    color: #aaa;
}

.search-btn-hero {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn-hero:hover {
    padding-right: 40px;
}

.search-btn-hero i {
    transition: transform 0.3s ease;
}

.search-btn-hero:hover i {
    transform: translateX(4px);
}

/* 内容区域 */
.search-content {
    padding: 40px 0 80px;
}

/* 筛选栏 */
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.filters-left {
    flex: 1;
}

.result-count {
    font-size: 16px;
    color: #666;
}

.result-count strong {
    color: #667eea;
    font-size: 20px;
    font-weight: 800;
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 活动筛选标签 */
.active-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f4ff;
    border: 1px solid #d0d9ff;
    border-radius: 20px;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

.filter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    color: #667eea;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-tag-remove:hover {
    background: #667eea;
    color: white;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff1f0;
    border: 1px solid #ffccc7;
    border-radius: 20px;
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

/* 模型网格 */
.models-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.model-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.model-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 20px;
}

.model-card-modern:hover::before {
    opacity: 0.05;
}

.model-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 48px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.model-image-modern {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.model-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card-modern:hover .model-image-modern img {
    transform: scale(1.1);
}

.model-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    transition: transform 0.6s ease;
}

.model-card-modern:hover .model-placeholder-modern {
    transform: scale(1.15) rotate(5deg);
}

.model-badges-modern {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.badge-modern {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-paid {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.badge-free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.model-info-modern {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.model-name-modern {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    min-height: 48px;
    transition: color 0.3s ease;
}

.model-card-modern:hover .model-name-modern {
    color: #667eea;
}

.model-category-modern {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin-bottom: 12px;
}

.model-stats-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.stat-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-modern i {
    font-size: 14px;
}

/* 空状态 */
.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    color: #d0d0d0;
    margin-bottom: 24px;
}

.empty-state-modern h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.empty-state-modern p {
    font-size: 16px;
    color: #999;
    margin: 0 0 32px 0;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 分页 */
.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f4ff;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f4ff;
}

.pagination-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-ellipsis {
    color: #999;
    font-weight: 600;
    padding: 0 8px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .models-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 60px 0 40px;
    }
    
    .search-hero-title {
        font-size: 32px;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .models-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pagination-modern {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .models-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .search-input-hero {
        padding: 18px 24px 18px 56px;
        font-size: 14px;
    }
    
    .search-btn-hero {
        padding: 18px 28px;
        font-size: 14px;
    }
}


