/* ===== components/buttons.css ===== */
/* 按钮、返回顶部等独立组件 */

.random-trigger-btn {
    padding: 10px 22px;
    background: var(--accent);
    color: #0b0c0e;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.random-trigger-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #0b0c0e;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 99;
    border: none;
}
.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-4px);
}

/* 旧版筛选按钮组（保留以防引用） */
.filter-group {
    display: flex;
    gap: 6px;
    margin: 0 8px;
}
.filter-btn {
    padding: 6px 14px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}
.filter-btn:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
}
.filter-btn.active {
    background: var(--accent);
    color: #0b0c0e;
    border-color: var(--accent);
}