@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #020617; 
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.cell-shadow { 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); 
}

/* Анимации */
@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; filter: brightness(2) blur(4px); }
    70% { transform: scale(1.15); filter: brightness(1.5) blur(0px); }
    100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}

@keyframes glowPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.4; }
}

.animate-scale-in {
    animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.glow-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    filter: blur(12px);
    z-index: 0;
    animation: glowPulse 0.4s ease-out forwards;
}

.mark-glow-angel { filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.7)); }
.mark-glow-demon { filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.7)); }

.bg-angel-glow { background: rgba(56, 189, 248, 0.6); }
.bg-demon-glow { background: rgba(239, 68, 68, 0.6); }

/* Обводка контура */
.border-angel {
    border: 2px solid rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.border-demon {
    border: 2px solid rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

/* Победные стили */
.win-player {
    ring-color: #22c55e !important;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
}

.win-ai {
    ring-color: #ef4444 !important;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
}
