/* CSS Doodles for Nalkheda - Pure Code Visuals */

:root {
    --gold: #D4AF37;
    --maroon: #5a0000;
    --flame-core: #fff;
    --flame-outer: #ff9d00;
}

/* 1. The Divine Lamp (Deepak) */
.doodle-lamp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: radial-gradient(circle at center, rgba(90, 0, 0, 0.2) 0%, rgba(90, 0, 0, 0) 70%);
    margin: 2rem 0;
}

.doodle-lamp {
    width: 60px;
    height: 30px;
    background: linear-gradient(to bottom, #8B4513, #5a0000);
    border-radius: 0 0 30px 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.doodle-lamp::before {
    /* The Rim */
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: #6d0000;
    border-radius: 50%;
}

.doodle-flame {
    width: 15px;
    height: 30px;
    background: radial-gradient(ellipse at bottom, var(--flame-core) 0%, var(--flame-outer) 60%, transparent 80%);
    border-radius: 50% 50% 20% 20%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    animation: flicker 0.1s infinite alternate;
    box-shadow: 0 0 20px var(--flame-outer);
}

@keyframes flicker {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(1.1) skewX(2deg);
        opacity: 0.9;
    }
}

/* 2. The Abstract Yantra (Geometric) */
.doodle-yantra-container {
    width: 150px;
    height: 150px;
    margin: 2rem auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yantra-circle {
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: absolute;
    animation: spin 60s linear infinite;
}

.yantra-triangle-up {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(212, 175, 55, 0.2);
    position: absolute;
}

.yantra-triangle-down {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 86px solid rgba(212, 175, 55, 0.2);
    position: absolute;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* 3. The Glowing Orb (Energy) */
.doodle-orb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold), transparent);
    box-shadow: 0 0 40px var(--gold);
    margin: 2rem auto;
    opacity: 0.8;
    filter: blur(5px);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}