:root {
    --bg-color: #0d0d0f;
    --text-color: #ffffff;
    --accent-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --pot-color: #2d3436;
    --lid-color: #353b3d;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: var(--bg-color);
    /* Ensure solid color */
}

/* Background Flair */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    animation: rotateBg 20s linear infinite;
    z-index: -1;
    filter: none;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

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

.container {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 20;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #00d4ff, #ff00cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-main);
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(to right, #ff9966, #ff5e62, #ff00cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.7;
    margin-top: 1rem;
}

.status-box {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-color);
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Cooking Animation */
.cooking-scene {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
}

.pot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 100px;
}

.pot-body {
    width: 100%;
    height: 100%;
    background: var(--pot-color);
    border-radius: 0 0 20px 20px;
    position: relative;
    /* subtle sheen */
    box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.2), inset -5px 0 10px rgba(255, 255, 255, 0.05);
}

.handle-left,
.handle-right {
    position: absolute;
    top: 20px;
    width: 25px;
    height: 12px;
    background: var(--lid-color);
    border-radius: 4px;
}

.handle-left {
    left: -25px;
}

.handle-right {
    right: -25px;
}

.lid {
    width: 150px;
    height: 20px;
    background: var(--lid-color);
    position: absolute;
    top: -10px;
    left: -5px;
    border-radius: 100px;
    transform-origin: center bottom;
    animation: rattle 0.1s infinite alternate;
    z-index: 2;
    box-shadow: none;
    /* removed shadow */
}

/* Handle on top of lid */
.lid::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 12px;
    background: #444;
    border-radius: 4px;
}

.pot-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    filter: blur(5px);
    animation: shadowPulse 2s infinite ease-in-out;
}

/* Animations */
@keyframes rattle {
    0% {
        transform: rotate(-2deg) translateY(0);
    }

    100% {
        transform: rotate(2deg) translateY(-2px);
    }
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.3;
    }
}

/* Steam */
.steam {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 20px;
    height: 40px;
    background: #fff;
    border-radius: 20px;
    opacity: 0;
    filter: blur(8px);
    animation: rise 2s infinite ease-out;
    animation-delay: calc(var(--i) * -0.5s);
}

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

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateX(calc(-50% + (var(--i) * 10px - 25px))) translateY(-80px) scale(2);
        opacity: 0;
    }
}

/* Floating Items */
.floating-item {
    position: absolute;
    font-size: 2rem;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: popOut 6s infinite ease-in-out;
    animation-delay: calc(var(--d) * 1s);
    z-index: 1;
}

@keyframes popOut {
    0% {
        transform: translate(-50%, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        transform: translate(calc(-50% + 40px), -60px) rotate(45deg) scale(1);
        opacity: 1;
    }

    40% {
        transform: translate(calc(-50% + 50px), 0) rotate(90deg) scale(0.5);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .status-box {
        min-width: 100%;
        font-size: 1.2rem;
    }
}