 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Comic Sans MS', 'Arial', sans-serif;
            background: linear-gradient(135deg, #87CEEB, #98FB98);
            color: #333;
            overflow: hidden;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        #game-container {
            position: relative;
            width: 780px;
            height: 750px;
            background: #333;
            border: 4px solid #fff;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        #startScreen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #FFB6C1, #87CEFA);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            border-radius: 16px;
        }
        
        #gameTitle {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: bounce 1s infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .mode-button {
            font-size: 1.5rem;
            padding: 0.8rem 2rem;
            margin: 0.5rem;
            border: none;
            border-radius: 25px;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            min-width: 200px;
        }
        
        #easyMode {
            background: linear-gradient(45deg, #90EE90, #32CD32);
        }
        
        #mediumMode {
            background: linear-gradient(45deg, #FFD700, #FFA500);
        }
        
        #hardMode {
            background: linear-gradient(45deg, #FF6347, #DC143C);
        }
        
        .mode-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
        
        #gameCanvas {
            background: #2F4F2F;
            display: none;
            border-radius: 16px;
        }
        
        #gameUI {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 100;
            font-size: 1.2rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }
        
        #endScreen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            border-radius: 16px;
        }
        
        #endTitle {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            color: #fff;
        }
        
        #finalScore {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            color: #FFD700;
        }
        
        #restartButton {
            font-size: 1.5rem;
            padding: 0.8rem 2rem;
            background: linear-gradient(45deg, #4CAF50, #45a049);
            border: none;
            border-radius: 25px;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        #restartButton:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
        
        #instructions {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            font-size: 1rem;
            background: rgba(255,255,255,0.9);
            color: #333;
            padding: 1rem;
            border-radius: 15px;
            max-width: 300px;
        }