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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #00b894 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .game-container {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            max-width: 1000px;
            width: 100%;
        }

        .game-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .game-title {
            font-size: 2.5em;
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 10px;
        }

        .game-subtitle {
            color: #636e72;
            font-size: 1.1em;
        }

        .game-canvas {
            border: 4px solid #2d3436;
            border-radius: 10px;
            display: block;
            margin: 0 auto;
            background: #55a3ff;
            cursor: pointer;
        }

        .game-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin: 20px 0;
            font-weight: bold;
            color: #2d3436;
            font-size: 1em;
        }

        .info-item {
            text-align: center;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 10px;
        }

        .money-info {
            color: #f39c12;
        }

        .level-info {
            color: #9b59b6;
        }

        .time-info {
            color: #3498db;
        }

        .controls {
            text-align: center;
            margin-top: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
        }

        .controls h3 {
            color: #2d3436;
            margin-bottom: 15px;
        }

        .control-item {
            display: inline-block;
            margin: 5px 15px;
            padding: 8px 16px;
            background: #00b894;
            color: white;
            border-radius: 20px;
            font-size: 0.9em;
        }

        .message {
            text-align: center;
            padding: 15px;
            border-radius: 10px;
            margin: 10px 0;
            font-weight: bold;
            display: none;
        }

        .message.show {
            display: block;
        }

        .message.harvest {
            background: #55efc4;
            color: #2d3436;
        }

        .message.plant {
            background: #fdcb6e;
            color: #2d3436;
        }

        .message.level-up {
            background: #fd79a8;
            color: white;
        }

        .start-button {
            display: block;
            margin: 20px auto;
            padding: 12px 30px;
            background: #00b894;
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .start-button:hover {
            background: #00a085;
            transform: translateY(-2px);
        }

        .shop {
            background: #2d3436;
            color: white;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .shop h3 {
            text-align: center;
            margin-bottom: 15px;
            color: #ddd;
        }

        .shop-items {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 10px;
        }

        .shop-item {
            background: #636e72;
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9em;
        }

        .shop-item:hover {
            background: #74b9ff;
            transform: translateY(-2px);
        }

        .shop-item.selected {
            background: #00b894;
            transform: scale(1.1);
        }

        .inventory {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .inventory h3 {
            text-align: center;
            margin-bottom: 15px;
            color: #2d3436;
        }

        .inventory-items {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 10px;
        }

        .inventory-item {
            background: white;
            padding: 8px;
            border-radius: 6px;
            text-align: center;
            font-size: 0.8em;
            border: 2px solid #ddd;
        }

        @media (max-width: 768px) {
            .game-container {
                padding: 20px;
                margin: 10px;
            }
            
            .game-canvas {
                width: 100%;
                height: auto;
            }

            .game-info {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .control-item {
                display: block;
                margin: 5px 0;
            }
        }