/* 分类卡片布局样式 */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    background: rgba(50, 50, 50, 0.45);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(100, 100, 100, 0.6);
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(70, 70, 70, 0.55);
    backdrop-filter: blur(35px);
    border-color: rgba(130, 130, 130, 0.8);
}

.category-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.category-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-card .stats {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 10px;
}

.category-card .latest {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 500;
}

/* 分类页面标题 */
.category-header {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    background: rgba(50, 50, 50, 0.45);
    border: 1px solid rgba(100, 100, 100, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-header .icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.category-header h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.category-header .count {
    color: #ff6b6b;
    font-weight: bold;
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(50, 50, 50, 0.45);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(100, 100, 100, 0.6);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: rgba(70, 70, 70, 0.6);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-color: rgba(130, 130, 130, 0.8);
    transform: translateX(-5px) translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
