/* game_buttons_v2.css - 独立游戏化按钮样式 */

.game-event-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none; /* 本层默认无交互 */
}

.game-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3000;
    pointer-events: auto;
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    background: linear-gradient(145deg,#e74c3c,#c0392b);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.2s;
}

.game-close-btn:hover {
    background: linear-gradient(145deg,#c0392b,#96281b);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.game-action-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}

/* 所有按钮基础样式 */
.game-btn {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.2s all ease-in-out;
}

/* 悬停效果 */
.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

/* 按钮类型颜色 */
.video-btn { background: linear-gradient(145deg,#4a90e2,#357abd); }
.audio-btn { background: linear-gradient(145deg,#1abc9c,#16a085); }
.guard-btn { background: linear-gradient(145deg,#e67e22,#d35400); }

/* 小屏幕适配 */
@media(max-width:900px){
    .game-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        bottom: 10px;
        right: 10px;
    }
    .game-btn {
        flex: 1 1 calc(50% - 8px);
        font-size: 14px;
        padding: 10px 12px;
        text-align: center;
    }
}