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

        body {
            font-family: 'Comic Sans MS', cursive, sans-serif;
            background: linear-gradient(135deg, #87CEEB, #F0E68C);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        .confetti {
            position: fixed;
            width: 8px;
            height: 8px;
            pointer-events: none;
            animation: confettiFall 2s ease-out forwards;
            z-index: 1000;
        }

        @keyframes confettiFall {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg) scale(1);
                opacity: 1;
            }
            50% {
                transform: translateY(150px) translateX(var(--random-x)) rotate(180deg) scale(0.8);
                opacity: 0.8;
            }
            100% {
                transform: translateY(300px) translateX(var(--random-x2)) rotate(360deg) scale(0.3);
                opacity: 0;
            }
        }

        #logo {
            position: absolute;
            height:100px;
            top:50px;
            left:50px;
        }

        .header {
            background: rgba(255, 255, 255, 0.9);
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .title {
            font-size: 2.5em;
            color: #8B4513;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 10px;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .stat {
            background: #8B4513;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 1.2em;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .multiplier-bar-container {
            margin: 15px auto;
            width: 400px;
            max-width: 90%;
            height: 60px;
            position: relative;
            background: rgba(255,255,255,0.2);
            border-radius: 30px;
            overflow: hidden;
        }

        .multiplier-bar {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            background: linear-gradient(0deg, #4CAF50, #8BC34A, #CDDC39);
            border-radius: 40px 40px 0 0;
            transition: height 0.2s ease, background 0.3s ease;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
        }

        .multiplier-bar.level-2 {
            background: linear-gradient(0deg, #FF9800, #FFC107, #FFEB3B);
            box-shadow: 0 -2px 15px rgba(255,152,0,0.5);
        }

        .multiplier-bar.level-3 {
            background: linear-gradient(0deg, #F44336, #E91E63, #FF5722);
            box-shadow: 0 -2px 20px rgba(244,67,54,0.7);
            animation: pulse 0.5s ease-in-out infinite alternate;
        }

        @keyframes pulse {
            0% { transform: translateX(-50%) scale(1); }
            100% { transform: translateX(-50%) scale(1.05); }
        }

        .multiplier-text {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            z-index: 2;
            font-size: 1.2em;
        }

        .main-content {
            display: flex;
            flex: 1;
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .game-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            /*! justify-content: center; */
            min-height: 500px;
        }

        .meerkat-container {
            position: relative;
            margin-bottom: 30px;
        }

        .meerkat {
            width: 300px;
            cursor: pointer;
            transition: all 0.1s ease;
            position: relative;
            user-select: none;
            border-radius: 20px;
        }

        .meerkat:hover {
            transform: scale(1.05);
        }

        .meerkat:active {
            transform: scale(0.95);
        }

        .click-effect {
            position: absolute;
            color: #FFD700;
            font-size: 2em;
            font-weight: bold;
            pointer-events: none;
            animation: floatUp 1s ease-out forwards;
        }

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

        .upgrades {
            flex: 1;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            max-height: 600px;
            overflow-y: auto;
        }

        .upgrades h2 {
            color: #8B4513;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.8em;
        }

        .upgrade {
            background: #F5DEB3;
            border: 3px solid #8B4513;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .upgrade:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .upgrade.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .upgrade.disabled:hover {
            transform: none;
            box-shadow: none;
        }

        .upgrade-name {
            font-size: 1.2em;
            font-weight: bold;
            color: #8B4513;
            margin-bottom: 5px;
        }

        .upgrade-description {
            color: #654321;
            margin-bottom: 10px;
            font-size: 0.9em;
        }

        .upgrade-cost {
            color: #DAA520;
            font-weight: bold;
            font-size: 1.1em;
        }

        .upgrade-owned {
            position: absolute;
            top: 10px;
            right: 15px;
            background: #8B4513;
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8em;
        }

        .skin-upgrade {
            background: linear-gradient(135deg, #ffd700, #ffed4a);
            border: 3px solid #d69e2e;
        }

        .skin-upgrade .upgrade-name {
            color: #744210;
        }

        .skin-notification {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #ffd700, #ffed4a);
            color: #744210;
            padding: 20px 40px;
            border-radius: 15px;
            font-size: 1.5em;
            font-weight: bold;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 1001;
            animation: popIn 0.5s ease-out;
        }

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

        .level-display {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 1.2em;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            margin: 10px;
        }

        .leaderboard {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;

    text-align: center;
}

        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .stats {
                gap: 15px;
            }
            
            .stat {
                font-size: 1em;
                padding: 8px 15px;
            }
            
            .meerkat {
                width: 250px;
            }

            .multiplier-bar-container {
                width: 300px;
            }
        }
    