body {
    background: linear-gradient(135deg, #1a0000, #2a0000, #1a0000);
    position: relative;
    min-height: 100vh;
}
.fire-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(139, 0, 0, 0.12) 0%, transparent 50%);
    z-index: -1;
    animation: firePulse 4s ease-in-out infinite;
}
@keyframes firePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}
.spark {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #FF4500;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: sparkFloat 3s linear infinite;
}
@keyframes sparkFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) translateX(20px) scale(0);
        opacity: 0;
    }
}
.villages-container {
    position: relative;
    z-index: 1;
}
.village-card {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #8B0000;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: cardAppear 0.6s ease-out;
}
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.village-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.98);
}
.village-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.village-header h3 {
    color: #8B0000;
    margin: 0;
    font-size: 1.4em;
}
.status-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}
.status-recovered { 
    background: #d4edda; 
    color: #155724; 
}
.status-partial { 
    background: #fff3cd; 
    color: #856404; 
}
.status-destroyed { 
    background: #f8d7da; 
    color: #721c24; 
}
.village-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.stat-item {
    background: rgba(248, 249, 250, 0.8);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #8B0000;
}
.stat-label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.stat-value {
    color: #8B0000;
    font-size: 1.1em;
    font-weight: bold;
}
.victims {
    background: rgba(139, 0, 0, 0.1);
    border-left-color: #dc3545;
}
.village-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    line-height: 1.6;
}
.memory-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
.memory-btn {
    background: linear-gradient(135deg, #8B0000, #FF4500);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}
.memory-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.4);
}
.total-stats {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    border: 2px solid #8B0000;
}
.total-stats h3 {
    color: #8B0000;
    margin-bottom: 15px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.total-stat {
    background: rgba(139, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
}
.total-stat .number {
    font-size: 2em;
    font-weight: bold;
    color: #8B0000;
    display: block;
}
.total-stat .label {
    font-size: 0.9em;
    color: #666;
}
