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

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #87CEEB 0%, #98FB98 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

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

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

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

        .game-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 10px;
        }

        .status {
            font-size: 1.2em;
            font-weight: bold;
            color: #2c3e50;
        }

        .moves-counter {
            font-size: 1.1em;
            color: #e74c3c;
        }

        .water-gauge {
            margin-bottom: 20px;
            background: rgba(52, 152, 219, 0.1);
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }

        .gauge-title {
            color: #2c3e50;
            font-size: 1.1em;
            margin-bottom: 10px;
        }

        .gauge-container {
            background: #ecf0f1;
            border-radius: 15px;
            height: 20px;
            overflow: hidden;
            border: 2px solid #34495e;
        }

        .gauge-fill {
            background: linear-gradient(90deg, #3498db, #2ecc71);
            height: 100%;
            transition: width 0.5s ease;
            border-radius: 13px;
        }

        .gauge-text {
            margin-top: 5px;
            font-size: 0.9em;
            color: #7f8c8d;
        }

        .game-board {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: repeat(8, 1fr);
            gap: 2px;
            background: #34495e;
            padding: 10px;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .cell {
            width: 50px;
            height: 50px;
            background: #ecf0f1;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8em;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
        }

        .cell:hover {
            transform: scale(1.1);
            border-color: #3498db;
        }

        .cell.blocked {
            background: #2c3e50;
            color: #ecf0f1;
            animation: blockCell 0.5s ease;
        }

        .cell.player {
            background: #3498db;
            color: white;
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
        }

        .cell.water-source {
            background: #1abc9c;
            color: white;
            animation: waterFlow 2s infinite;
        }

        .cell.plant {
            background: #27ae60;
            color: white;
            animation: plantGrow 2s infinite;
        }

        .cell.possible-move {
            background: #f39c12;
            border-color: #e67e22;
            animation: highlight 1s infinite;
        }

        .cell img {
            width: 32px;
            height: 32px;
            object-fit: contain;
            filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
        } 
        @keyframes blockCell {
            0% { transform: scale(1); }
            50% { transform: scale(0.8); background: #e74c3c; }
            100% { transform: scale(1); }
        }

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

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

        @keyframes highlight {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .controls {
            text-align: center;
            margin-bottom: 20px;
        }

        .btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 1.1em;
            cursor: pointer;
            margin: 0 10px;
            transition: all 0.3s ease;
        }

        .btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .instructions {
            background: rgba(52, 152, 219, 0.1);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .instructions h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3em;
        }

        .instructions ul {
            color: #34495e;
            padding-left: 20px;
        }

        .instructions li {
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .victory-message {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            font-size: 1.2em;
            margin-bottom: 20px;
            animation: victory 0.5s ease;
        }

        @keyframes victory {
            0% { transform: scale(0.5); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .game-over {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            font-size: 1.2em;
            margin-bottom: 20px;
        }

        .blocked-counter {
            position: absolute;
            top: 2px;
            right: 2px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7em;
            display: flex;
            align-items: center;
            justify-content: center;
        }