<style>
        body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f0f0f0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .game-container {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        .board {
            display: grid;
            grid-template-columns: repeat(8, 50px);
            grid-template-rows: repeat(8, 50px);
            gap: 2px;
            background-color: #333;
            padding: 5px;
            border-radius: 5px;
        }
        .cell {
            width: 50px;
            height: 50px;
            background-color: #ddd;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            cursor: pointer;
            position: relative;
            transition: all 0.3s;
        }
        .cell:hover {
            box-shadow: inset 0 0 0 3px #ffcc00;
        }
        .cell.selected {
            box-shadow: inset 0 0 0 3px #ff7700;
        }
        .player1 {
            background-color: #4285F4;
        }
        .player2 {
            background-color: #EA4335;
        }
        .sidebar {
            width: 250px;
            background-color: #fff;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .info-panel {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        .build-panel button {
            display: block;
            width: 100%;
            padding: 8px;
            margin-bottom: 8px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .build-panel button:hover {
            background-color: #45a049;
        }
        .build-panel button:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        .status-bar {
            width: 100%;
            max-width: 600px;
            background-color: #fff;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            text-align: center;
        }
        .tower {
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            top: 5px;
            left: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            color: white;
        }
        .tower-accuracy {
            background-color: #3498db;
        }
        .tower-power {
            background-color: #e74c3c;
        }
        .tower-range {
            background-color: #2ecc71;
        }
        .wall {
            position: absolute;
            width: 40px;
            height: 40px;
            border: 4px solid #8e44ad;
            top: 3px;
            left: 3px;
        }
        .health-bar {
            position: absolute;
            bottom: 2px;
            left: 5px;
            height: 4px;
            background-color: #2ecc71;
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 100;
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
            max-width: 400px;
        }
        .modal-content button {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 15px;
        }
        .progress-container {
            width: 100%;
            max-width: 600px;
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .progress-bar {
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
            flex-grow: 1;
            margin: 0 5px;
        }
        .progress-fill-1 {
            height: 100%;
            background-color: #4285F4;
            width: 0%;
            transition: width 0.3s;
        }
        .progress-fill-2 {
            height: 100%;
            background-color: #EA4335;
            width: 0%;
            transition: width 0.3s;
        }
        .player-label {
            font-weight: bold;
        }
        .combat-log {
            width: 100%;
            max-width: 600px;
            height: 150px;
            overflow-y: auto;
            background-color: #fff;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-top: 20px;
            font-size: 14px;
        }
        .log-entry {
            margin-bottom: 5px;
            padding-bottom: 5px;
            border-bottom: 1px solid #eee;
        }
        .attack-animation {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: yellow;
            border-radius: 50%;
            z-index: 50;
        }
    </style>