/* Attack Hotbar UI */
.attack-hotbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10000;
    pointer-events: none;
}

.attack-slot {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
}

.attack-slot.active {
    border-color: #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
    transform: scale(1.1);
}

.attack-slot-number {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.attack-slot-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.attack-slot-name {
    font-size: 9px;
    color: #aaa;
    text-align: center;
    font-family: 'Inter', sans-serif;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attack-slot.cooldown {
    opacity: 0.5;
}

.attack-slot.cooldown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: cooldown-fill 1s linear;
}

@keyframes cooldown-fill {
    from {
        height: 100%;
    }
    to {
        height: 0%;
    }
}
