/* ==========================================
   可复用组件 - Reusable Components
   按钮、卡片、遮罩层等通用组件
   ========================================== */

/* 遮罩层 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* 按钮图标 */
.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    line-height: 0;
    transition: transform 0.3s ease;
    padding: 6px;
}

.button-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.button-text {
    font-weight: 600;
}

/* 箭头按钮 */
.button-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #a8c84e;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 8px;
}

.button-arrow img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

/* 链接箭头图标 */
.link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #a8c84e;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #a8c84e;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}
