* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #e8e8e8;
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    overflow: hidden;
    cursor: crosshair;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Cooking Area */
.cooking-area {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Steam */
.steam {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.pot:hover ~ .steam,
.pot:hover .steam,
.cooking-area:hover .steam {
    opacity: 1;
}

.steam-line {
    width: 2px;
    height: 40px;
    background: #e8e8e8;
    border-radius: 2px;
    animation: steam 2s ease-in-out infinite;
}

.steam-line:nth-child(1) { animation-delay: 0s; }
.steam-line:nth-child(2) { animation-delay: 0.3s; height: 50px; }
.steam-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes steam {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) scaleY(1.2);
        opacity: 0.8;
    }
}

.cooking-area:hover .steam-line {
    animation-duration: 0.8s;
}

/* Pot */
.pot {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.pot:hover {
    transform: scale(1.02);
}

.pot-body {
    width: 120px;
    height: 80px;
    background: #2a2a2a;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
    border: 3px solid #3a3a3a;
    border-top: none;
}

.pot-rim {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 16px;
    background: #3a3a3a;
    border-radius: 4px;
    border: 2px solid #4a4a4a;
}

.pot-handle {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 30px;
    border: 4px solid #3a3a3a;
    border-radius: 0 10px 10px 0;
}

.pot-handle.left {
    left: -22px;
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.pot-handle.right {
    right: -22px;
    border-radius: 0 10px 10px 0;
    border-left: none;
}

/* Bubbles */
.bubbles {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
}

.bubble {
    position: absolute;
    background: #4a4a4a;
    border-radius: 50%;
    opacity: 0;
    animation: bubble 3s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 8px; height: 8px; left: 10px; animation-delay: 0s; }
.bubble:nth-child(2) { width: 6px; height: 6px; left: 30px; animation-delay: 0.5s; }
.bubble:nth-child(3) { width: 10px; height: 10px; left: 50px; animation-delay: 1s; }
.bubble:nth-child(4) { width: 5px; height: 5px; left: 65px; animation-delay: 1.5s; }
.bubble:nth-child(5) { width: 7px; height: 7px; left: 20px; animation-delay: 2s; }

@keyframes bubble {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-35px);
        opacity: 0;
    }
}

.pot:hover .bubble {
    animation-duration: 1s;
    background: #5a5a5a;
}

/* Spoon */
.spoon {
    position: absolute;
    right: -30px;
    top: 20px;
    cursor: pointer;
    transform: rotate(30deg);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.spoon:hover {
    transform: rotate(35deg) scale(1.05);
}

.spoon.stirring {
    animation: stir 0.6s ease-in-out;
}

@keyframes stir {
    0% { transform: rotate(30deg); }
    25% { transform: rotate(-20deg) translateX(-20px); }
    50% { transform: rotate(-30deg) translateX(-30px); }
    75% { transform: rotate(-20deg) translateX(-20px); }
    100% { transform: rotate(30deg); }
}

.spoon-handle {
    width: 6px;
    height: 80px;
    background: #4a4a4a;
    border-radius: 3px;
    margin: 0 auto;
}

.spoon-head {
    width: 28px;
    height: 40px;
    background: #4a4a4a;
    border-radius: 50%;
    margin-top: -5px;
    margin-left: -11px;
}

/* Text */
.status {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #888;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.substatus {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #444;
    opacity: 0;
    transition: opacity 0.5s;
}

.container:hover .substatus {
    opacity: 1;
}

/* Sizzle particles */
.sizzle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.sizzle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f5f5f5;
    border-radius: 50%;
    animation: sizzle 0.6s ease-out forwards;
}

.sizzle.warm {
    background: #d4a574;
}

@keyframes sizzle {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0) translateY(-30px);
        opacity: 0;
    }
}

/* Falling ingredients */
.ingredients-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.ingredient {
    position: absolute;
    border-radius: 50%;
    animation: fall 1.5s ease-in forwards;
}

.ingredient.circle {
    border-radius: 50%;
}

.ingredient.square {
    border-radius: 2px;
}

.ingredient.blob {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cooking-area {
        transform: scale(0.85);
    }
    
    .status {
        font-size: 1rem;
    }
}
