/* ===== 参拜游戏专属样式 ===== */

/* 操作提示栏 */
#hint-bar {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    pointer-events: none;
}

/* 参拜按钮 */
#worship-btn-wrap {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

#worship-btn {
    padding: 16px 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 140, 66, 0.4);
    transition: transform 0.15s;
    user-select: none;
}

#worship-btn:active {
    transform: scale(0.94);
}

#worship-btn.praying {
    animation: prayPulse 0.8s ease-in-out;
}

@keyframes prayPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(255, 140, 66, 0.4); }
    50% { box-shadow: 0 6px 40px rgba(255, 200, 100, 0.8); transform: scale(1.05); }
}

/* 虚拟摇杆 */
#joystick {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 11;
    touch-action: none;
}

#joystick-base {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

#joystick-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(78, 205, 196, 0.6);
    border: 2px solid rgba(78, 205, 196, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* 移动端隐藏提示栏 */
@media (max-width: 768px) {
    #hint-bar {
        bottom: 70px;
        font-size: 11px;
        padding: 6px 14px;
    }

    #worship-btn {
        padding: 14px 36px;
        font-size: 16px;
    }

    #joystick {
        bottom: 20px;
        left: 20px;
    }

    #joystick-base {
        width: 90px;
        height: 90px;
    }

    #joystick-knob {
        width: 40px;
        height: 40px;
    }
}
