.diwali-diya {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    width: 50px;
    height: 50px;
    position: relative;
    transform: translateY(-3px);
}

.diya-flame {
    fill: #FF8C00;
    animation: flameFlicker 3s infinite;
    transform-origin: center bottom;
    filter: drop-shadow(0 0 3px rgba(255, 140, 0, 0.7));
}

.diya-body {
    fill: #8B4513;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.diya-wick {
    fill: #2F2F2F;
}

@keyframes flameFlicker {
    0%, 100% {
        transform: scaleY(1) rotate(0deg);
        opacity: 0.9;
    }
    25% {
        transform: scaleY(1.2) rotate(3deg);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.9) rotate(-2deg);
        opacity: 0.8;
    }
    75% {
        transform: scaleY(1.1) rotate(1deg);
        opacity: 0.95;
    }
}

/* Glow effect */
.diya-glow {
    fill: #FFA500;
    filter: blur(4px);
    opacity: 0.6;
    animation: glowPulse 2.5s infinite;
    transform-origin: center;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
        filter: blur(4px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
        filter: blur(6px);
    }
}