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

        body {
            font-family: Arial, sans-serif;
            background: #f0f0f0;
            padding: 20px;
            color: #333;
        }

        .game-container {
            background: white;
            border-radius: 10px;
            padding: 20px;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        h1 {
            color: #4a90e2;
            margin-bottom: 10px;
            font-size: 2em;
        }

        .pet-name {
            font-size: 1.1em;
            color: #666;
            margin-bottom: 20px;
        }

        .pet-display {
            background: #ffeaa7;
            border-radius: 10px;
            padding: 30px;
            margin: 20px 0;
        }

        .pet {
            font-size: 6em;
            display: block;
            margin: 10px 0;
        }

        .pet.happy {
            animation: bounce 0.5s ease;
        }

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

        .pet.sleeping {
            opacity: 0.6;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }

        .stat {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .stat-label {
            font-weight: bold;
            margin-bottom: 8px;
        }

        .stat-bar {
            background: #e9ecef;
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
        }

        .stat-fill {
            height: 100%;
            transition: width 0.3s ease;
        }

        .hunger-fill { background: #ff6b6b; }
        .happiness-fill { background: #feca57; }
        .energy-fill { background: #48cae4; }
        .health-fill { background: #51cf66; }

        .actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 10px;
            margin: 20px 0;
        }

        .action-btn {
            background: #4a90e2;
            color: white;
            border: none;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .action-btn:hover {
            background: #357abd;
        }

        .action-btn:active {
            background: #2a6aa0;
        }

        .status-message {
            background: #e7f3ff;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border: 1px solid #bee5eb;
            color: #0c5460;
        }

        .age-display {
            background: #f8f9fa;
            padding: 10px 15px;
            border-radius: 8px;
            display: inline-block;
            margin-top: 15px;
            border: 1px solid #ddd;
        }

        .age-display strong {
            color: #4a90e2;
        }

        @media (max-width: 480px) {
            .game-container {
                padding: 15px;
            }
            
            .pet {
                font-size: 4em;
            }
            
            .actions {
                grid-template-columns: repeat(2, 1fr);
            }
        }