* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    overflow: hidden;
    background: linear-gradient(45deg, #ff6b9d, #c06c84, #6c5b7b, #355c7d);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.danger-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: inset 0 0 0 0 rgba(255, 0, 0, 0);
    transition: box-shadow 0.2s ease;
}

.danger-flash.active {
    box-shadow: inset 0 0 100px 30px rgba(255, 0, 0, 0.6);
}

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

.custom-cursor {
    position: fixed;
    font-size: 60px;
    pointer-events: none;
    z-index: 10000;
    animation: spin 2s linear infinite;
    transform: translate(-50%, -50%);
}

.custom-cursor.fever-cursor {
    filter: drop-shadow(0 0 20px #ff00ff) drop-shadow(0 0 30px #00ffff);
    animation: spin 2s linear infinite, feverPulse 0.5s ease-in-out infinite, rainbowOutline 1s linear infinite;
}

@keyframes feverPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes rainbowOutline {
    0% { filter: drop-shadow(0 0 20px #ff0000) drop-shadow(0 0 30px #ff0000); }
    16% { filter: drop-shadow(0 0 20px #ff8800) drop-shadow(0 0 30px #ff8800); }
    33% { filter: drop-shadow(0 0 20px #ffff00) drop-shadow(0 0 30px #ffff00); }
    50% { filter: drop-shadow(0 0 20px #00ff00) drop-shadow(0 0 30px #00ff00); }
    66% { filter: drop-shadow(0 0 20px #0088ff) drop-shadow(0 0 30px #0088ff); }
    83% { filter: drop-shadow(0 0 20px #8800ff) drop-shadow(0 0 30px #8800ff); }
    100% { filter: drop-shadow(0 0 20px #ff0000) drop-shadow(0 0 30px #ff0000); }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sparkle {
    position: fixed;
    font-size: 30px;
    pointer-events: none;
    animation: sparkleAnim 1s ease-out forwards;
    z-index: 9999;
}

@keyframes sparkleAnim {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(360deg);
        opacity: 0;
    }
}

.flying {
    position: fixed;
    font-size: 50px;
    pointer-events: none;
    z-index: 500;
}

.flying[data-uncollectable="true"] {
    opacity: 0.5;
    filter: grayscale(0.5);
}

.taco-tracker {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Comic Sans MS', cursive;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff,
        0 0 40px #00ffff,
        0 0 50px #00ffff,
        0 0 60px #00ffff,
        3px 3px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000;
    animation: rainbow 2s linear infinite, shake 0.5s ease-in-out infinite;
    z-index: 1000;
    pointer-events: none;
    letter-spacing: 3px;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(-50%) rotate(-2deg); }
    25% { transform: translateX(-50%) rotate(2deg); }
    50% { transform: translateX(-50%) rotate(-2deg); }
    75% { transform: translateX(-50%) rotate(2deg); }
}

.hunter-cat {
    position: fixed;
    font-size: 70px;
    z-index: 600;
    animation: wiggle 1s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 100, 100, 0.8));
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
}

.fullness-bar {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.fullness-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #fbbf24, #ef4444);
    width: 0%;
    transition: width 0.3s ease;
}

.explosion-tracker {
    display: none !important;
}

.orbiting-cat {
    position: fixed;
    font-size: 40px;
    pointer-events: none;
    z-index: 9999;
}

.invincible {
    animation: flash 0.4s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.7; filter: brightness(2); }
}

.bottom-tracker {
    position: fixed;
    bottom: 30px;
    left: 30px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
    z-index: 1000;
    pointer-events: none;
}

.bronze-taco {
    filter: sepia(1) saturate(4) hue-rotate(10deg) brightness(1.4) drop-shadow(0 0 15px #cd7f32);
    text-shadow:
        0 0 15px #cd7f32,
        0 0 25px #cd7f32,
        0 0 5px #000,
        3px 3px 0 #000;
    animation: pulse 1s ease-in-out infinite;
}

.silver-taco {
    filter: grayscale(0.3) brightness(2.2) contrast(1.5) drop-shadow(0 0 20px #c0c0c0);
    text-shadow:
        0 0 20px #c0c0c0,
        0 0 30px #c0c0c0,
        0 0 40px #fff,
        0 0 5px #000,
        3px 3px 0 #000;
    animation: pulse 0.8s ease-in-out infinite;
}

.gold-taco {
    filter: sepia(1) saturate(6) hue-rotate(30deg) brightness(2.2) drop-shadow(0 0 25px #ffd700);
    text-shadow:
        0 0 25px #ffd700,
        0 0 35px #ffd700,
        0 0 45px #ffd700,
        0 0 5px #000,
        4px 4px 0 #000;
    animation: pulse 0.6s ease-in-out infinite;
}

.diamond-taco {
    filter: brightness(2) contrast(1.5);
    text-shadow:
        0 0 30px #ff0000,
        0 0 40px #ff7f00,
        0 0 50px #ffff00,
        0 0 60px #00ff00,
        0 0 70px #0000ff,
        0 0 80px #8b00ff,
        0 0 5px #000,
        4px 4px 0 #000;
    animation: rainbowGlow 0.5s linear infinite, pulse 0.5s ease-in-out infinite;
}

@keyframes rainbowGlow {
    0% { filter: brightness(2) hue-rotate(0deg); }
    100% { filter: brightness(2) hue-rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.fever-mode {
    position: fixed;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Comic Sans MS', cursive;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 60px #00ffff,
        5px 5px 0 #000;
    animation: rainbow 0.5s linear infinite, shake 0.2s ease-in-out infinite;
    z-index: 2000;
    pointer-events: none;
}

.fever-timer {
    position: fixed;
    bottom: 80px;
    right: 80px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        3px 3px 0 #000;
    animation: rainbow 1s linear infinite;
    z-index: 2000;
    pointer-events: none;
}

.fever-combo {
    position: fixed;
    bottom: 80px;
    left: 80px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 15px #00ff00,
        0 0 30px #00ff00,
        4px 4px 0 #000;
    animation: rainbow 1s linear infinite, pulse 0.5s ease-in-out infinite;
    z-index: 2000;
    pointer-events: none;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* stays behind everything */
    background: linear-gradient(45deg, #ff6b9d, #c06c84, #6c5b7b, #355c7d);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.fiesta-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    display: none;
}

.fiesta-border.active {
    display: block;
    animation: rainbowBorder 1s linear infinite, fiestaGlow 0.3s ease-in-out infinite;
}

@keyframes rainbowBorder {
    0% {
        box-shadow:
            inset 0 0 80px 40px rgba(255, 0, 255, 0.9),
            inset 0 0 120px 60px rgba(255, 0, 255, 0.5);
    }
    16% {
        box-shadow:
            inset 0 0 80px 40px rgba(255, 0, 127, 0.9),
            inset 0 0 120px 60px rgba(255, 0, 127, 0.5);
    }
    33% {
        box-shadow:
            inset 0 0 80px 40px rgba(0, 255, 255, 0.9),
            inset 0 0 120px 60px rgba(0, 255, 255, 0.5);
    }
    50% {
        box-shadow:
            inset 0 0 80px 40px rgba(0, 255, 0, 0.9),
            inset 0 0 120px 60px rgba(0, 255, 0, 0.5);
    }
    66% {
        box-shadow:
            inset 0 0 80px 40px rgba(255, 255, 0, 0.9),
            inset 0 0 120px 60px rgba(255, 255, 0, 0.5);
    }
    83% {
        box-shadow:
            inset 0 0 80px 40px rgba(255, 127, 0, 0.9),
            inset 0 0 120px 60px rgba(255, 127, 0, 0.5);
    }
    100% {
        box-shadow:
            inset 0 0 80px 40px rgba(255, 0, 255, 0.9),
            inset 0 0 120px 60px rgba(255, 0, 255, 0.5);
    }
}

@keyframes fiestaGlow {
    0%, 100% {
        filter: brightness(1.2);
    }
    50% {
        filter: brightness(1.5);
    }
}

.start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.start-screen h1 {
    font-family: 'Comic Sans MS', cursive;
    font-size: 120px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 60px #00ffff,
        0 0 80px #00ffff,
        6px 6px 0 #000,
        -6px -6px 0 #000,
        6px -6px 0 #000,
        -6px 6px 0 #000;
    animation: rainbow 2s linear infinite, shake 0.5s ease-in-out infinite;
    margin: 0;
    letter-spacing: 8px;
}

.start-screen p {
    font-family: 'Comic Sans MS', cursive;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        3px 3px 0 #000,
        -3px -3px 0 #000;
    animation: pulse 1s ease-in-out infinite;
    margin-top: 40px;
}

.start-button {
    width: 400px;
    height: auto;
    cursor: pointer;
    animation: pulse 1s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 100, 100, 0.8));
    transition: transform 0.2s ease;
}

.start-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 150, 50, 1));
}

.start-screen.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
