/* Inventory System - Bubble Powerup UI */

.inventory-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: auto;
}

.inventory-bubbles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: none;
    justify-content: center;
    width: auto;
}

.bubble-wrapper {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.bubble-wrapper:hover {
    transform: scale(1.1);
}

.bubble-wrapper:active {
    transform: scale(0.95);
}

/* Soap bubble aesthetic */
.bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
                inset -2px -2px 5px rgba(0, 0, 0, 0.1),
                inset 2px 2px 5px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.speed-boost-bubble {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(96, 165, 250, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.speed-boost-bubble:hover {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.magnet-bubble {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8) 0%, rgba(248, 113, 113, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.magnet-bubble:hover {
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.shield-bubble {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.8) 0%, rgba(253, 224, 71, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.shield-bubble:hover {
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.6), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.teleport-bubble {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(168, 85, 247, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.teleport-bubble:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.shopping-bubble {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(74, 222, 128, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.shopping-bubble:hover {
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.6), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.bubble-icon {
    font-size: 24px;
    margin-bottom: 2px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bubble-count {
    font-size: 10px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -5px;
    right: -5px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bubble-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shop Modal */
.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.shop-modal.is-hidden {
    display: none;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.shop-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.shop-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.98) 0%, rgba(20, 30, 50, 0.98) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    width: 95%;
    max-width: 1200px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.shop-modal-header {
    padding: 28px 35px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    flex-wrap: wrap;
    gap: 15px;
}

.shop-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.7px;
    flex: 1;
    min-width: 200px;
}

.shop-modal-close {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 32px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.shop-modal-close:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.shop-modal-body {
    padding: 35px;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    min-height: 0;
}

.shop-powerups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shop-powerup-card {
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.6) 0%, rgba(15, 25, 45, 0.6) 100%);
    border: 1.5px solid rgba(71, 85, 105, 0.2);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
}

/* Speed Boost - Blue (#3b82f6) */
.shop-powerup-card[data-powerup="speed-boost"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.shop-powerup-card[data-powerup="speed-boost"]:hover::before {
    opacity: 1;
}

.shop-powerup-card[data-powerup="speed-boost"]:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.1);
}

/* Mass Magnet - Red (#ef4444) */
.shop-powerup-card[data-powerup="mass-magnet"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.shop-powerup-card[data-powerup="mass-magnet"]:hover::before {
    opacity: 1;
}

.shop-powerup-card[data-powerup="mass-magnet"]:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.2), 0 0 30px rgba(239, 68, 68, 0.1);
}

/* Teleport - Purple (#a78bfa / #8b5cf6) */
.shop-powerup-card[data-powerup="teleport"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.shop-powerup-card[data-powerup="teleport"]:hover::before {
    opacity: 1;
}

.shop-powerup-card[data-powerup="teleport"]:hover {
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(167, 139, 250, 0.2), 0 0 30px rgba(167, 139, 250, 0.1);
}

/* Shield - Yellow (#fbbf24) */
.shop-powerup-card[data-powerup="shield"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.shop-powerup-card[data-powerup="shield"]:hover::before {
    opacity: 1;
}

.shop-powerup-card[data-powerup="shield"]:hover {
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.2), 0 0 30px rgba(251, 191, 36, 0.1);
}

.card-header {
    padding: 24px 20px;
    border-bottom: 2px solid;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon {
    font-size: 56px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.shop-powerup-card:hover .card-icon {
    transform: scale(1.15) rotateZ(5deg);
}

.card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 800;
    color: #e0e7ff;
    letter-spacing: 0.3px;
}

.card-description {
    margin: 0 0 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    flex: 1;
}

.card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    height: 48px;
}

.price-value {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
}

.price-unit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Speed Boost - Blue (#3b82f6) */
.shop-powerup-card[data-powerup="speed-boost"] .card-price {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.shop-powerup-card[data-powerup="speed-boost"] .price-value {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mass Magnet - Red (#ef4444) */
.shop-powerup-card[data-powerup="mass-magnet"] .card-price {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.shop-powerup-card[data-powerup="mass-magnet"] .price-value {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Teleport - Purple (#8b5cf6) */
.shop-powerup-card[data-powerup="teleport"] .card-price {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.shop-powerup-card[data-powerup="teleport"] .price-value {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shield - Yellow (#fbbf24) */
.shop-powerup-card[data-powerup="shield"] .card-price {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.shop-powerup-card[data-powerup="shield"] .price-value {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-modal-footer {
    padding: 24px 35px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.wallet-balance-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wallet-balance-value {
    color: #00ff88;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Active Powerup Indicators */
.active-powerup-indicators {
    position: fixed;
    top: 100px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
    pointer-events: none;
}

.active-powerup-indicator {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 2px solid;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: indicatorSlideIn 0.3s ease;
}

@keyframes indicatorSlideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.indicator-icon {
    font-size: 20px;
    line-height: 1;
}

.indicator-name {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.indicator-timer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    margin-left: 4px;
}

/* Canvas Effects */
#cvs.powerup-active-speed {
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

#cvs.powerup-active-shield {
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
}

#cvs.powerup-active-magnet {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

#cvs.powerup-active-teleport {
    animation: teleportShimmer 1s infinite;
}

@keyframes teleportShimmer {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.8));
    }
}

/* Responsive - PC: all in one row */
@media (min-width: 769px) {
    .inventory-bubbles {
        flex-wrap: nowrap;
    }
}

/* Responsive - Tablet & Mobile: 2 per row */
@media (max-width: 768px) {
    .inventory-bubbles {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .bubble-wrapper {
        flex: 0 1 calc(50% - 5px);
        max-width: 80px;
    }
    
    .bubble {
        width: 56px;
        height: 56px;
    }
    
    .bubble-icon {
        font-size: 22px;
    }
    
    .shop-powerups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .shop-modal-content {
        width: 95%;
        max-width: 900px;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .shop-modal-header {
        padding: 24px 28px;
    }
    
    .shop-modal-header h2 {
        font-size: 24px;
    }
    
    .shop-modal-body {
        padding: 28px;
    }
    
    .card-icon {
        font-size: 48px;
    }
    
    .active-powerup-indicators {
        top: 80px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .inventory-bubbles {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .bubble-wrapper {
        flex: 0 1 calc(50% - 4px);
        max-width: 75px;
    }
    
    .bubble {
        width: 52px;
        height: 52px;
    }
    
    .bubble-icon {
        font-size: 20px;
    }
    
    .bubble-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        bottom: -3px;
        right: -3px;
    }
    
    .shop-powerups-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .shop-modal-content {
        width: 98%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .shop-modal-header {
        padding: 18px 20px;
        gap: 10px;
    }
    
    .shop-modal-header h2 {
        font-size: 18px;
        order: 1;
        width: 100%;
    }
    
    .shop-modal-close {
        width: 36px;
        height: 36px;
        font-size: 28px;
        order: 2;
    }
    
    .shop-modal-body {
        padding: 16px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .card-description {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .card-price {
        margin-bottom: 12px;
        padding: 8px 10px;
    }
    
    .price-value {
        font-size: 20px;
    }
    
    .card-buy-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .shop-modal-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }
    
    .wallet-info {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        gap: 10px;
    }
    
    .wallet-balance-label {
        font-size: 12px;
    }
}

/* Confirm Dialog Styles */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-dialog.is-hidden {
    display: none;
}

.confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.confirm-content {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(30, 30, 50, 0.95) 100%);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease-out;
}

/* Speed Boost - Blue (#3b82f6) */
#confirmDialog[data-powerup="speed-boost"] .confirm-content {
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(20, 30, 60, 0.95) 0%, rgba(15, 25, 50, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

#confirmDialog[data-powerup="speed-boost"] .confirm-content h3 {
    color: #60a5fa;
}

#confirmDialog[data-powerup="speed-boost"] .confirm-btn-yes {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

#confirmDialog[data-powerup="speed-boost"] .confirm-btn-yes:hover {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.6);
}

/* Mass Magnet - Red (#ef4444) */
#confirmDialog[data-powerup="mass-magnet"] .confirm-content {
    border-color: rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(60, 20, 20, 0.95) 0%, rgba(50, 15, 15, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(239, 68, 68, 0.2);
}

#confirmDialog[data-powerup="mass-magnet"] .confirm-content h3 {
    color: #f87171;
}

#confirmDialog[data-powerup="mass-magnet"] .confirm-btn-yes {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

#confirmDialog[data-powerup="mass-magnet"] .confirm-btn-yes:hover {
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
}

/* Teleport - Purple (#8b5cf6) */
#confirmDialog[data-powerup="teleport"] .confirm-content {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, rgba(50, 20, 60, 0.95) 0%, rgba(40, 15, 50, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(139, 92, 246, 0.2);
}

#confirmDialog[data-powerup="teleport"] .confirm-content h3 {
    color: #a78bfa;
}

#confirmDialog[data-powerup="teleport"] .confirm-btn-yes {
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

#confirmDialog[data-powerup="teleport"] .confirm-btn-yes:hover {
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.6);
}

/* Shield - Yellow (#fbbf24) */
#confirmDialog[data-powerup="shield"] .confirm-content {
    border-color: rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, rgba(60, 50, 20, 0.95) 0%, rgba(50, 40, 15, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(251, 191, 36, 0.2);
}

#confirmDialog[data-powerup="shield"] .confirm-content h3 {
    color: #fcd34d;
}

#confirmDialog[data-powerup="shield"] .confirm-btn-yes {
    background: linear-gradient(135deg, #fbbf24 0%, #a16207 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

#confirmDialog[data-powerup="shield"] .confirm-btn-yes:hover {
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirm-content h3 {
    margin: 0 0 15px 0;
    color: #60a5fa;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.confirm-content p {
    margin: 0 0 25px 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    white-space: pre-line;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-btn-yes,
.confirm-btn-no {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.confirm-btn-yes {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.confirm-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.6);
}

.confirm-btn-yes:active {
    transform: translateY(0);
}

.confirm-btn-no {
    background: rgba(100, 116, 139, 0.5);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.confirm-btn-no:hover {
    background: rgba(100, 116, 139, 0.7);
    border-color: rgba(148, 163, 184, 0.5);
}

.confirm-btn-no:active {
    transform: scale(0.98);
}
