/* 标签列表页样式（/tag） */

body.tag-page {
    background: radial-gradient(circle at top left, #f0f4ff 0%, #f7f8fc 40%, #eef1f8 100%);
    padding-top: 80px;
}

.page-hero-section {
    padding: 70px 0 45px;
    background: linear-gradient(135deg, #4f8df5 0%, #6c63ff 50%, #5b8def 100%);
    color: #fff;
    text-align: left;
}

.page-hero-section .page-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero-section .page-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.tag-main {
    padding: 30px 0 50px;
}

.tag-list-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tag-item {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.tag-item:hover::before {
    left: 100%;
}

.tag-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tag-name {
    display: block;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.tag-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.tag-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.tag-empty p {
    font-size: 14px;
    margin: 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .tag-list-wrapper {
        padding: 20px;
    }

    .tag-grid {
        gap: 10px;
    }

    .tag-item {
        padding: 10px 18px;
        font-size: 14px;
    }
}

