/* Game Popup Styles - Minimal Right Side Design */
.game-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 10000;
    pointer-events: none;
}

.game-popup-modal {
    background: #1a1a2e;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    max-width: 300px;
    width: auto;
    position: relative;
    margin: 20px;
    animation: popupSlideInRight 0.3s ease-out;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

@keyframes popupSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popupSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.game-popup-icon {
    font-size: 20px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.game-popup-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    display: inline-block;
    vertical-align: middle;
}

.game-popup-message {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #e5e7eb;
    margin-top: 5px;
}

.game-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.game-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Success Popup */
.game-popup-success {
    border-left: 4px solid #30b44c;
    background: linear-gradient(135deg, #1a1a2e 0%, #1f2937 100%);
}

.game-popup-success .game-popup-icon {
    color: #30b44c;
}

.game-popup-success .game-popup-title {
    color: #30b44c;
}

/* Error Popup */
.game-popup-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #1a1a2e 0%, #1f2937 100%);
}

.game-popup-error .game-popup-icon {
    color: #ef4444;
}

.game-popup-error .game-popup-title {
    color: #ef4444;
}

/* Warning Popup */
.game-popup-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #1a1a2e 0%, #1f2937 100%);
}

.game-popup-warning .game-popup-icon {
    color: #f59e0b;
}

.game-popup-warning .game-popup-title {
    color: #f59e0b;
}

/* Info Popup */
.game-popup-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #1a1a2e 0%, #1f2937 100%);
}

.game-popup-info .game-popup-icon {
    color: #3b82f6;
}

.game-popup-info .game-popup-title {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-popup-modal {
        max-width: 280px;
        padding: 12px 16px;
        margin: 15px;
    }
    
    .game-popup-icon {
        font-size: 18px;
        margin-right: 8px;
    }
    
    .game-popup-title {
        font-size: 13px;
    }
    
    .game-popup-message {
        font-size: 12px;
    }
    
    .game-popup-close {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .game-popup-modal {
        max-width: 260px;
        padding: 10px 14px;
        margin: 10px;
    }
    
    .game-popup-icon {
        font-size: 16px;
        margin-right: 6px;
    }
    
    .game-popup-title {
        font-size: 12px;
    }
    
    .game-popup-message {
        font-size: 11px;
    }
    
    .game-popup-close {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}
