body {
    margin: 0;
    overflow: hidden;
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #ff0000, #ff7300, #ff00c8, #002bff);
    background-size: 400% 400%;
    animation: mild-epilepsy 1.5s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    user-select: none;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

@keyframes mild-epilepsy {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #ffcc00;
    font-size: clamp(1rem, 4vw, 1.5rem);
    padding: 10px 0;
    z-index: 20;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

.meme-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    color: #ffff00;
    text-shadow: 4px 4px 0px #000;
    margin-top: 60px;
    margin-bottom: 20px;
    z-index: 10;
    font-weight: 700;
}

.nugget-container {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

img#the-nugget {
    width: 100%;
    max-width: 300px;
    border: none;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0px 15px 10px rgba(0,0,0,0.5));
    animation: auto-meme-nugget 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes auto-meme-nugget {
    0% { transform: scale(1) rotate(0deg) translateY(0px); }
    25% { transform: scale(1.3) rotate(15deg) translateY(-20px); }
    50% { transform: scale(0.9) rotate(-10deg) translateY(10px); }
    75% { transform: scale(1.1) rotate(5deg) translateY(-5px); }
    100% { transform: scale(1) rotate(0deg) translateY(0px); }
}

.nice-btn {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: bold;
    font-family: inherit;
    background: linear-gradient(to bottom, #ff512f, #dd2476);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    z-index: 10;
    animation: pulse-glow 1s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(1); box-shadow: 0 0 10px #ff512f; }
    100% { transform: scale(1.05); box-shadow: 0 0 25px #dd2476; }
}

.nice-btn:active {
    transform: translateY(4px) scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: none;
}

.sauce-drop {
    position: absolute;
    width: 20px;
    height: 35px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    pointer-events: none;
    z-index: 5;
    animation: fall linear forwards;
    filter: drop-shadow(0px 5px 3px rgba(0,0,0,0.3));
}

.sauce-splat {
    position: absolute;
    width: 40px;
    height: 15px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    transform: scale(0);
    animation: splat 0.5s ease-out forwards;
}

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}

@keyframes splat {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.flying-mini-nugget {
    position: fixed;
    top: 0;
    left: 0;
    width: clamp(20px, 5vw, 40px);
    height: auto;
    pointer-events: none;
    z-index: 1;
    background: transparent;
    border: none;
    will-change: transform;
}