body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.maze-container {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 350px;
}

h1 {
    margin-bottom: 10px;
    color: #333;
}

.instructions {
    font-size: 14px;
    color: #555;
}

#maze-grid {
    display: grid;
    grid-template-columns: repeat(5, 50px);
    grid-template-rows: repeat(5, 50px);
    gap: 4px;
    margin: 20px auto;
}

.cell {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cell.start {
    background: #76c7c0;
}

.cell.end {
    background: #f28b82;
}

.cell.player {
    background: #ffd600;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: bold;
}

.controls {
    margin-top: 15px;
}

button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    background-color: #76c7c0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #4aa6a1;
}

#message {
    margin-top: 15px;
    font-weight: bold;
    color: #e53935;
}
