body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #2980b9, #6dd5fa);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.game-container {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#grid {
    display: grid;
    grid-template-columns: repeat(10, 30px);
    grid-template-rows: repeat(10, 30px);
    gap: 5px;
    margin-bottom: 20px;
}

.cell {
    width: 30px;
    height: 30px;
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.start {
    background-color: #2ecc71;
}

.end {
    background-color: #e74c3c;
}

.obstacle {
    background-color: #95a5a6;
}

.path {
    background-color: #3498db;
}

.controls {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 1em;
}