/* 连击通知系统样式 */

#combo-notification-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8888;
    pointer-events: none;
}

.combo-notification {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
    border-radius: 15px;
    color: #000;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Arial', sans-serif;
    min-width: 200px;
}

.combo-notification.show {
    transform: scale(1);
}

.combo-notification.hide {
    transform: scale(0);
    opacity: 0;
}

.combo-notification .combo-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.combo-notification .combo-count {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combo-notification .combo-multiplier {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.combo-notification .combo-points {
    font-size: 1em;
    color: #555;
    font-weight: bold;
}

/* 不同连击等级的样式 */
.combo-notification.level-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.combo-notification.level-2 {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.9) 0%, rgba(255, 69, 0, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.5);
}

.combo-notification.level-3 {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.9) 0%, rgba(138, 43, 226, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.6);
    color: white;
}

.combo-notification.level-3 .combo-multiplier,
.combo-notification.level-3 .combo-points {
    color: rgba(255, 255, 255, 0.9);
}

.combo-notification.level-4 {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9) 0%, rgba(75, 0, 130, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.7);
    color: white;
    animation: combo-pulse 0.5s ease-in-out;
}

.combo-notification.level-4 .combo-multiplier,
.combo-notification.level-4 .combo-points {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes combo-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 粒子效果 */
.combo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 15px;
}

.combo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: combo-particle-float 1s ease-out forwards;
}

@keyframes combo-particle-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    #combo-notification-container {
        top: 40%;
    }

    .combo-notification {
        min-width: 180px;
        padding: 15px 20px;
    }

    .combo-notification .combo-count {
        font-size: 2em;
    }
}
