/* ========================================
   战败统计界面样式
   ======================================== */

.defeat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.defeat-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.defeat-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 500px;
    width: 90%;
}

.defeat-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff2e4d;
    text-shadow: 0 0 20px rgba(255, 46, 77, 0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    animation: defeatPulse 2s ease-in-out infinite;
}

@keyframes defeatPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 46, 77, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 46, 77, 0.9);
    }
}

.defeat-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    background: rgba(20, 24, 30, 0.8);
    border: 2px solid rgba(255, 46, 77, 0.3);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 0 30px rgba(255, 46, 77, 0.2);
}

.defeat-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.defeat-stat-item:hover {
    background: rgba(255, 46, 77, 0.1);
    border-color: rgba(255, 46, 77, 0.3);
    transform: translateX(5px);
}

.defeat-stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.defeat-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff2e4d;
    padding: 4px 12px;
    background: rgba(255, 46, 77, 0.1);
    border: 1px solid rgba(255, 46, 77, 0.3);
    border-radius: 6px;
    text-shadow: 0 0 10px rgba(255, 46, 77, 0.3);
}

.defeat-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 46, 77, 0.8), rgba(200, 30, 60, 0.9));
    border: 2px solid #ff2e4d;
    border-radius: 8px;
    padding: 14px 40px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 46, 77, 0.3);
}

.defeat-btn:hover {
    background: linear-gradient(135deg, rgba(255, 46, 77, 1), rgba(200, 30, 60, 1));
    box-shadow: 0 0 30px rgba(255, 46, 77, 0.5);
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .defeat-title {
        font-size: 2rem;
    }
    
    .defeat-stats {
        padding: 16px;
    }
    
    .defeat-stat-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
