/* 专题列表页面样式 */

.page-header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
}

/* 专题网格 */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.collection-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.collection-link {
    display: block;
    padding: 25px;
    text-decoration: none;
    color: inherit;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.collection-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.product-count {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.collection-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.collection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.view-count svg {
    opacity: 0.7;
}

.read-more {
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.95rem;
}

.collection-card:hover .read-more {
    color: #7c3aed;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 50px 0;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-link {
    padding: 10px 18px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-link:hover {
    background: #f9fafb;
    border-color: #4f46e5;
    color: #4f46e5;
}

.pagination-current {
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    font-weight: 600;
}

/* SEO内容区域 */
.seo-content-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-top: 50px;
}

.seo-content-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.seo-content-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 15px 0;
}

.seo-content-section p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-content-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-content-section li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
    line-height: 1.7;
}

.seo-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
}

.seo-content-section strong {
    color: #1f2937;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collection-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-count {
        align-self: flex-start;
    }
    
    .seo-content-section {
        padding: 25px 20px;
    }
    
    .seo-content-section h2 {
        font-size: 1.5rem;
    }
    
    .seo-content-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .collection-link {
        padding: 20px;
    }
    
    .collection-title {
        font-size: 1.2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-link,
    .pagination-current {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}
