/* Shop Bar - Bottom Center Taskbar */

#shop-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    height: 100px;
    background: var(--panel-bg);
    border: 3px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 0 50px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1),
        0 0 20px rgba(255, 0, 255, 0.2);
    z-index: 200;
    overflow-x: hidden;
    overflow-y: hidden;
}

#shop-items-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.shop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.05);
    padding: 12px;
    width: 80px;
    height: 80px;
    min-width: 80px;
    border: 2px solid var(--neon-purple);
    cursor: pointer;
    transition: 0.2s;
    border-radius: 4px;
    box-shadow:
        0 0 10px rgba(255, 0, 255, 0.2),
        inset 0 0 5px rgba(0, 255, 255, 0.1);
    text-align: center;
}

.shop-item:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 10px rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
}

.shop-item.selected {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--neon-magenta);
    box-shadow:
        0 0 25px var(--neon-magenta),
        inset 0 0 15px rgba(255, 0, 255, 0.3);
}

.shop-item-icon {
    font-size: 32px;
    line-height: 1;
}

.shop-item-name {
    font-size: 10px;
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    margin-top: 4px;
    font-weight: bold;
    line-height: 1.2;
}

/* Shop Modal */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: var(--panel-bg);
    border: 3px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 0 100px rgba(0, 255, 255, 0.4),
        inset 0 0 40px rgba(0, 255, 255, 0.15),
        0 0 40px rgba(255, 0, 255, 0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: 2px solid var(--neon-purple);
    color: var(--neon-cyan);
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-close:hover {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 15px var(--neon-magenta);
}

.modal-icon {
    font-size: 72px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1;
}

#modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: var(--neon-cyan);
    text-shadow:
        0 0 15px var(--neon-cyan),
        0 0 30px var(--neon-magenta);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

#modal-description {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.modal-stats {
    background: rgba(0, 255, 255, 0.05);
    border: 2px solid var(--neon-purple);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.modal-stat {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.modal-stat:last-child {
    margin-bottom: 0;
}
