/* ==================== 底部控制区 ==================== */
.control-panel {
    background: linear-gradient(180deg, rgba(15, 25, 45, 0.98) 0%, rgba(10, 18, 35, 0.98) 100%);
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

/* 游戏控制按钮容器 */
#game-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.action-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover:not(:disabled)::before {
    left: 100%;
}

.action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    color: #1a1a2e;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-look {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.btn-look:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-raise {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.btn-raise:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
}

.btn-compare {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.btn-compare:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.btn-exit {
    background: linear-gradient(135deg, #636e72 0%, #2d3436 100%);
    color: #fff;
    display: none;
}

.btn-exit.visible {
    display: block !important;
}

.btn-exit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 110, 114, 0.4);
}

/* 左侧按钮组 */
.control-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 快捷用语 */
.btn-emote {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    flex-shrink: 0;
    display: none;
}

.btn-emote.visible {
    display: block !important;
}

.emote-panel {
    position: fixed;
    bottom: 120px;
    left: 20px;
    background: linear-gradient(145deg, #2d3436 0%, #1e272e 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 10px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.emote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.emote-btn {
    padding: 8px 12px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.emote-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: scale(1.02);
}

.bet-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.bet-selector label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.bet-input {
    width: 80px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
    text-align: center;
    font-weight: bold;
}

.bet-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
